mirror of
https://github.com/status-im/consul.git
synced 2025-01-16 16:54:55 +00:00
2f81c7b292
* Only show instances- and tags-tab peered services * Adapt show-with-slashes test to peering changes Tests always have the peering feature turned on and the default service we load from the mock-api will be peered. This is why the topology view of the service.show page will not be accessible in the updated test it will show the instances instead. This change does not change what the test is actually testing so just putting changing to the now different url is fine.
22 lines
767 B
Gherkin
22 lines
767 B
Gherkin
@setupApplicationTest
|
|
Feature: dc / services / show-with-slashes: Show Service that has slashes in its name
|
|
In order to view services that have slashes in their name
|
|
As a user
|
|
I want to view the service in the service listing and click on it to see the service detail
|
|
Scenario: Given a service with slashes in its name
|
|
Given 1 datacenter model with the value "dc1"
|
|
And 1 node model
|
|
And 1 service model from yaml
|
|
---
|
|
- Name: hashicorp/service/service-0
|
|
---
|
|
When I visit the services page for yaml
|
|
---
|
|
dc: dc1
|
|
---
|
|
Then the url should be /dc1/services
|
|
Then I see 1 service model
|
|
And I click service on the services
|
|
Then the url should be /:billing/dc1/services/hashicorp%2Fservice%2Fservice-0/instances
|
|
|