2020-07-29 14:09:40 +00:00
|
|
|
@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
|
|
|
|
---
|
2020-10-05 17:07:35 +00:00
|
|
|
|
|
|
|
Then the url should be /dc-1/services/consul/topology
|
2020-07-29 14:09:40 +00:00
|
|
|
When I click dc on the navigation
|
2020-08-10 08:26:02 +00:00
|
|
|
And I click dcs.1.name on the navigation
|
2020-10-05 17:07:35 +00:00
|
|
|
Then the url should be /dc-2/services/consul/topology
|