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