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-08 17:09:36 +00:00
|
|
|
And 4 service models from yaml
|
2018-09-12 19:23:39 +00:00
|
|
|
---
|
|
|
|
- Name: Service 1
|
2020-04-08 17:09:36 +00:00
|
|
|
Kind: consul
|
2018-09-13 08:09:59 +00:00
|
|
|
ExternalSources:
|
|
|
|
- consul
|
2018-09-12 19:23:39 +00:00
|
|
|
- Name: Service 2
|
2020-04-08 17:09:36 +00:00
|
|
|
Kind: consul
|
2018-09-13 08:09:59 +00:00
|
|
|
ExternalSources:
|
|
|
|
- nomad
|
2018-09-12 19:23:39 +00:00
|
|
|
- Name: Service 3
|
2020-04-08 17:09:36 +00:00
|
|
|
Kind: consul
|
2018-09-13 08:09:59 +00:00
|
|
|
ExternalSources:
|
|
|
|
- terraform
|
2018-09-12 19:23:39 +00:00
|
|
|
- Name: Service 4
|
2020-04-08 17:09:36 +00:00
|
|
|
Kind: consul
|
2018-09-13 08:09:59 +00:00
|
|
|
ExternalSources:
|
|
|
|
- kubernetes
|
2018-09-12 19:23:39 +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-08 17:09:36 +00:00
|
|
|
Then I see 4 service models
|
2018-09-12 19:23:39 +00:00
|
|
|
And I see externalSource on the services like yaml
|
|
|
|
---
|
|
|
|
- consul
|
|
|
|
- nomad
|
|
|
|
- terraform
|
|
|
|
- kubernetes
|
|
|
|
---
|
|
|
|
|