mirror of
https://github.com/status-im/consul.git
synced 2025-01-19 18:19:53 +00:00
7044aa52c8
Adds namespace support to the UI: 1. Namespace CRUD/management 2. Show Namespace in relevant areas (intentions, upstreams) 3. Main navigation bar improvements 4. Logic/integration to interact with a new `internal/acl/authorize` endpoint
28 lines
813 B
Gherkin
28 lines
813 B
Gherkin
@setupApplicationTest
|
|
Feature: dc / services / dc-switch : Switching Datacenters
|
|
Scenario: Seeing all services when switching datacenters
|
|
Given 2 datacenter models from yaml
|
|
---
|
|
- dc-1
|
|
- dc-2
|
|
---
|
|
And 6 service models
|
|
When I visit the services page for yaml
|
|
---
|
|
dc: dc-1
|
|
---
|
|
Then the url should be /dc-1/services
|
|
Then I see 6 service models
|
|
When I click dc on the navigation
|
|
And I click dcs.1.name
|
|
Then the url should be /dc-2/services
|
|
Then I see 6 service models
|
|
When I click dc on the navigation
|
|
And I click dcs.0.name
|
|
Then the url should be /dc-1/services
|
|
Then I see 6 service models
|
|
When I click dc on the navigation
|
|
And I click dcs.1.name
|
|
Then the url should be /dc-2/services
|
|
Then I see 6 service models
|