mirror of
https://github.com/status-im/consul.git
synced 2025-01-15 16:26:06 +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
28 lines
817 B
Gherkin
28 lines
817 B
Gherkin
@setupApplicationTest
|
|
Feature: dc / services / show / dc-switch : Switching Datacenters
|
|
Scenario: Seeing all services when switching datacenters
|
|
Given 2 datacenter models from yaml
|
|
---
|
|
- dc-1
|
|
- dc-2
|
|
---
|
|
And 1 node model
|
|
And 1 service model from yaml
|
|
---
|
|
- Service:
|
|
Service: consul
|
|
Kind: ~
|
|
---
|
|
|
|
When I visit the service page for yaml
|
|
---
|
|
dc: dc-1
|
|
service: consul
|
|
---
|
|
Then the url should be /dc-1/services/consul/instances
|
|
And I see instancesUrl on the tabs contains "/dc-1/services/consul/instances"
|
|
When I click dc on the navigation
|
|
And I click dcs.1.name on the navigation
|
|
Then the url should be /dc-2/services/consul/instances
|
|
And I see instancesUrl on the tabs contains "/dc-2/services/consul/instances"
|