Kenia f39671d568 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

39 lines
839 B
Gherkin

@setupApplicationTest
Feature: dc / services / index: List Services
Scenario:
Given 1 datacenter model with the value "dc-1"
And 4 service models from yaml
---
- Name: Service 1
Kind: consul
ExternalSources:
- consul
- Name: Service 2
Kind: consul
ExternalSources:
- nomad
- Name: Service 3
Kind: consul
ExternalSources:
- terraform
- Name: Service 4
Kind: consul
ExternalSources:
- kubernetes
---
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 4 service models
And I see externalSource on the services like yaml
---
- consul
- nomad
- terraform
- kubernetes
---