2018-05-11 12:47:21 +00:00
|
|
|
@setupApplicationTest
|
2020-01-24 12:26:28 +00:00
|
|
|
Feature: dc / services / index: List Services
|
2018-05-11 12:47:21 +00:00
|
|
|
Scenario:
|
|
|
|
Given 1 datacenter model with the value "dc-1"
|
2020-04-21 14:21:52 +00:00
|
|
|
And 10 service models from yaml
|
2018-09-12 19:23:39 +00:00
|
|
|
---
|
2020-04-21 14:21:52 +00:00
|
|
|
- Name: Service-0
|
|
|
|
ExternalSources:
|
|
|
|
- consul
|
|
|
|
- Name: Service-0-proxy
|
|
|
|
Kind: 'connect-proxy'
|
|
|
|
- Name: Service-1
|
|
|
|
ExternalSources:
|
|
|
|
- nomad
|
|
|
|
- Name: Service-1-proxy
|
|
|
|
Kind: 'connect-proxy'
|
|
|
|
- Name: Service-2
|
|
|
|
ExternalSources:
|
|
|
|
- terraform
|
|
|
|
- Name: Service-2-proxy
|
|
|
|
Kind: 'connect-proxy'
|
|
|
|
- Name: Service-3
|
|
|
|
ExternalSources:
|
|
|
|
- kubernetes
|
|
|
|
- Name: Service-3-proxy
|
|
|
|
Kind: 'connect-proxy'
|
|
|
|
- Name: Service-4
|
|
|
|
ExternalSources:
|
|
|
|
- aws
|
|
|
|
- Name: Service-4-proxy
|
|
|
|
Kind: 'connect-proxy'
|
2018-09-12 19:23:39 +00:00
|
|
|
---
|
2020-04-21 14:21:52 +00:00
|
|
|
|
2018-05-11 12:47:21 +00:00
|
|
|
When I visit the services page for yaml
|
|
|
|
---
|
|
|
|
dc: dc-1
|
|
|
|
---
|
|
|
|
Then the url should be /dc-1/services
|
2020-01-28 14:25:52 +00:00
|
|
|
And the title should be "Services - Consul"
|
2020-04-21 14:21:52 +00:00
|
|
|
Then I see 5 service models
|
2018-09-12 19:23:39 +00:00
|
|
|
And I see externalSource on the services like yaml
|
|
|
|
---
|
|
|
|
- consul
|
|
|
|
- nomad
|
|
|
|
- terraform
|
|
|
|
- kubernetes
|
2020-04-14 20:07:09 +00:00
|
|
|
- aws
|
2018-09-12 19:23:39 +00:00
|
|
|
---
|
|
|
|
|