2019-12-17 18:47:37 +00:00
|
|
|
@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
|
|
|
|
---
|
2020-05-05 16:29:51 +00:00
|
|
|
And 6 service models from yaml
|
2020-04-08 17:09:36 +00:00
|
|
|
---
|
|
|
|
- Name: Service-0
|
2020-05-05 16:29:51 +00:00
|
|
|
Kind: ~
|
2020-04-08 17:09:36 +00:00
|
|
|
- Name: Service-1
|
2020-05-05 16:29:51 +00:00
|
|
|
Kind: ~
|
2020-04-08 17:09:36 +00:00
|
|
|
- Name: Service-2
|
2020-05-05 16:29:51 +00:00
|
|
|
Kind: ~
|
2020-04-08 17:09:36 +00:00
|
|
|
- Name: Service-3
|
2020-05-05 16:29:51 +00:00
|
|
|
Kind: ~
|
2020-04-08 17:09:36 +00:00
|
|
|
- Name: Service-4
|
2020-05-05 16:29:51 +00:00
|
|
|
Kind: ~
|
2020-04-08 17:09:36 +00:00
|
|
|
- Name: Service-5
|
2020-05-05 16:29:51 +00:00
|
|
|
Kind: ~
|
2020-04-08 17:09:36 +00:00
|
|
|
---
|
2020-04-21 14:21:52 +00:00
|
|
|
|
2019-12-17 18:47:37 +00:00
|
|
|
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
|
2020-08-10 08:26:02 +00:00
|
|
|
And I click dcs.1.name on the navigation
|
2019-12-17 18:47:37 +00:00
|
|
|
Then the url should be /dc-2/services
|
|
|
|
Then I see 6 service models
|
|
|
|
When I click dc on the navigation
|
2020-08-10 08:26:02 +00:00
|
|
|
And I click dcs.0.name on the navigation
|
2019-12-17 18:47:37 +00:00
|
|
|
Then the url should be /dc-1/services
|
|
|
|
Then I see 6 service models
|
|
|
|
When I click dc on the navigation
|
2020-08-10 08:26:02 +00:00
|
|
|
And I click dcs.1.name on the navigation
|
2019-12-17 18:47:37 +00:00
|
|
|
Then the url should be /dc-2/services
|
|
|
|
Then I see 6 service models
|