2018-06-22 12:52:29 +00:00
|
|
|
@setupApplicationTest
|
|
|
|
Feature: dc / services / error
|
|
|
|
Scenario: Arriving at the service page that doesn't exist
|
|
|
|
Given 2 datacenter models from yaml
|
|
|
|
---
|
|
|
|
- dc-1
|
|
|
|
- dc-2
|
|
|
|
---
|
|
|
|
When I visit the services page for yaml
|
|
|
|
---
|
|
|
|
dc: 404-datacenter
|
|
|
|
---
|
2020-05-11 15:37:11 +00:00
|
|
|
Then I see status on the error like "404"
|
2020-01-24 12:26:28 +00:00
|
|
|
@notNamespaceable
|
2018-06-22 12:52:29 +00:00
|
|
|
Scenario: Arriving at the service page
|
|
|
|
Given 2 datacenter models from yaml
|
|
|
|
---
|
|
|
|
- dc-1
|
|
|
|
- dc-2
|
|
|
|
---
|
|
|
|
Given the url "/v1/internal/ui/services" responds with a 500 status
|
|
|
|
When I visit the services page for yaml
|
|
|
|
---
|
|
|
|
dc: dc-1
|
|
|
|
---
|
2020-05-11 15:37:11 +00:00
|
|
|
Then I see status on the error like "500"
|
2020-01-24 12:26:28 +00:00
|
|
|
# This is the actual step that works slightly differently
|
|
|
|
# When running through namespaces as the dc menu says 'Error'
|
|
|
|
# which is still kind of ok
|
2019-12-17 18:47:37 +00:00
|
|
|
When I click dc on the navigation
|
2018-06-22 12:52:29 +00:00
|
|
|
And I see 2 datacenter models
|