2020-01-28 14:25:52 +00:00
|
|
|
@setupApplicationTest
|
|
|
|
@notNamespaceable
|
|
|
|
|
|
|
|
Feature: settings / show: Show Settings Page
|
2020-01-31 15:12:22 +00:00
|
|
|
Scenario: I see the Blocking queries
|
2020-01-28 14:25:52 +00:00
|
|
|
Given 1 datacenter model with the value "datacenter"
|
|
|
|
When I visit the settings page
|
|
|
|
Then the url should be /setting
|
|
|
|
And the title should be "Settings - Consul"
|
2020-01-31 15:12:22 +00:00
|
|
|
And I see blockingQueries
|
|
|
|
Scenario: Setting CONSUL_UI_DISABLE_REALTIME hides Blocking Queries
|
|
|
|
Given 1 datacenter model with the value "datacenter"
|
|
|
|
And settings from yaml
|
|
|
|
---
|
|
|
|
CONSUL_UI_DISABLE_REALTIME: 1
|
|
|
|
---
|
|
|
|
Then I have settings like yaml
|
|
|
|
---
|
|
|
|
CONSUL_UI_DISABLE_REALTIME: "1"
|
|
|
|
---
|
|
|
|
When I visit the settings page
|
|
|
|
Then the url should be /setting
|
|
|
|
And the title should be "Settings - Consul"
|
|
|
|
And I don't see blockingQueries
|