2020-03-09 09:10:47 +00:00
|
|
|
@setupApplicationTest
|
2022-03-15 12:58:14 +00:00
|
|
|
Feature: dc / error
|
|
|
|
Scenario: Recovering from a dc 500 error
|
2020-03-09 09:10:47 +00:00
|
|
|
Given 2 datacenter models from yaml
|
|
|
|
---
|
|
|
|
- dc-1
|
|
|
|
- dc-500
|
|
|
|
---
|
2020-05-05 16:29:51 +00:00
|
|
|
And 3 service models from yaml
|
2020-04-08 17:09:36 +00:00
|
|
|
---
|
|
|
|
- Name: Service-0
|
2020-05-05 16:29:51 +00:00
|
|
|
Kind: ~
|
2020-04-08 17:09:36 +00:00
|
|
|
- Name: Service-1
|
2020-05-05 16:29:51 +00:00
|
|
|
Kind: ~
|
2020-04-08 17:09:36 +00:00
|
|
|
- Name: Service-2
|
2020-05-05 16:29:51 +00:00
|
|
|
Kind: ~
|
2020-04-08 17:09:36 +00:00
|
|
|
---
|
2020-03-09 09:10:47 +00:00
|
|
|
And the url "/v1/internal/ui/services" responds with a 500 status
|
|
|
|
When I visit the services page for yaml
|
|
|
|
---
|
|
|
|
dc: dc-500
|
|
|
|
---
|
|
|
|
Then the url should be /dc-500/services
|
|
|
|
And the title should be "Consul"
|
2020-05-11 15:37:11 +00:00
|
|
|
Then I see status on the error like "500"
|
2022-03-15 12:58:14 +00:00
|
|
|
And the url "/v1/internal/ui/services" responds with a 200 status
|
2020-03-09 09:10:47 +00:00
|
|
|
When I click dc on the navigation
|
2020-08-10 08:26:02 +00:00
|
|
|
And I click dcs.0.name on the navigation
|
2020-03-09 09:10:47 +00:00
|
|
|
Then I see 3 service models
|