open-consul/ui-v2/tests/acceptance/dc/services/list-blocking.feature
Kenia d0c4312923 ui: Redesign Service List page (#7605)
* Create GridCollection for nodes page with styling

* Update ListCollection styling

* Update TagList styling

* Create CompositeRow styling component

* Update ConsulServiceList component with styling

* Create service health-checks helper

* Add InstanceCount to the service model

* Add tag-svg to codebase

* Create and update tests for service-list page

* Upgrade @hashicorp/consul-api-double to 2.14.0
2020-05-12 17:14:25 +00:00

27 lines
855 B
Gherkin

@setupApplicationTest
Feature: dc / services / list blocking
Scenario: Viewing the listing pages for service
Given 1 datacenter model with the value "dc-1"
Given 3 service models from yaml
---
- Name: Service-0
Kind: consul
- Name: Service-1
Kind: consul
- Name: Service-2
Kind: consul
---
And a network latency of 100
When I visit the services page for yaml
---
dc: dc-1
---
Then the url should be /dc-1/services
And pause until I see 3 service models
And an external edit results in 5 service models
And pause until I see 3 service models
And an external edit results in 1 service model
And pause until I see 1 service model
And an external edit results in 0 service models
And pause until I see 0 service models