2020-11-19 16:05:46 +00:00
|
|
|
@setupApplicationTest
|
|
|
|
Feature: dc / services / navigation
|
|
|
|
Scenario: Clicking a service in the listing and back again
|
|
|
|
Given 1 datacenter model with the value "dc-1"
|
|
|
|
And 1 service model
|
|
|
|
When I visit the services page for yaml
|
|
|
|
---
|
|
|
|
dc: dc-1
|
|
|
|
---
|
|
|
|
Then the url should be /dc-1/services
|
|
|
|
And the title should be "Services - Consul"
|
|
|
|
Then I see 1 service models
|
|
|
|
When I click service on the services
|
|
|
|
And I click "[data-test-back]"
|
|
|
|
Then the url should be /dc-1/services
|
|
|
|
|
2022-06-23 13:16:26 +00:00
|
|
|
Scenario: Clicking a peered service in the listing and back again
|
|
|
|
Given 1 datacenter model with the value "dc-1"
|
|
|
|
And 1 service model
|
|
|
|
When I visit the services page for yaml
|
|
|
|
---
|
|
|
|
dc: dc-1
|
|
|
|
---
|
|
|
|
When I click service on the services
|
|
|
|
Then the url should match /:billing/dc-1/services/service-0
|
|
|
|
And I click "[data-test-back]"
|
|
|
|
Then the url should be /dc-1/services
|
|
|
|
|