open-consul/ui/packages/consul-ui/tests/acceptance/dc/services/navigation.feature

29 lines
911 B
Gherkin

@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
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