mirror of
https://github.com/status-im/consul.git
synced 2025-01-15 08:14:54 +00:00
d1c879e06c
* ui: Move more menu subcomponents deeper down into popovermenu * ui: Simplify aria-menu component+remove auto menu close on route change * Add ember-string-fns * Use new PopoverMenu sub components and fix up tests * Fix up wrong closing let * Remove dcs from the service show page now we have it in the navigation
43 lines
1.1 KiB
Gherkin
43 lines
1.1 KiB
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 from yaml
|
|
---
|
|
- Name: Service-0
|
|
Kind: ~
|
|
- Name: Service-1
|
|
Kind: ~
|
|
- Name: Service-2
|
|
Kind: ~
|
|
- Name: Service-3
|
|
Kind: ~
|
|
- Name: Service-4
|
|
Kind: ~
|
|
- Name: Service-5
|
|
Kind: ~
|
|
---
|
|
|
|
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 on the navigation
|
|
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 on the navigation
|
|
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 on the navigation
|
|
Then the url should be /dc-2/services
|
|
Then I see 6 service models
|