2018-05-11 12:47:21 +00:00
|
|
|
@setupApplicationTest
|
2018-09-12 19:23:39 +00:00
|
|
|
Feature: dc / services: List Services
|
2018-05-11 12:47:21 +00:00
|
|
|
Scenario:
|
|
|
|
Given 1 datacenter model with the value "dc-1"
|
2018-09-12 19:23:39 +00:00
|
|
|
And 5 service models from yaml
|
|
|
|
---
|
|
|
|
- Name: Service 1
|
|
|
|
Meta:
|
|
|
|
external-source: consul
|
|
|
|
- Name: Service 2
|
|
|
|
Meta:
|
|
|
|
external-source: nomad
|
|
|
|
- Name: Service 3
|
|
|
|
Meta:
|
|
|
|
external-source: terraform
|
|
|
|
- Name: Service 4
|
|
|
|
Meta:
|
|
|
|
external-source: kubernetes
|
|
|
|
- Name: Service 5
|
|
|
|
Meta: ~
|
|
|
|
---
|
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
|
2018-09-12 19:23:39 +00:00
|
|
|
Then I see 5 service models
|
|
|
|
And I see externalSource on the services like yaml
|
|
|
|
---
|
|
|
|
- consul
|
|
|
|
- nomad
|
|
|
|
- terraform
|
|
|
|
- kubernetes
|
|
|
|
- ~
|
|
|
|
---
|
|
|
|
|