mirror of
https://github.com/status-im/consul.git
synced 2025-03-01 05:40:40 +00:00
Adds namespace support to the UI: 1. Namespace CRUD/management 2. Show Namespace in relevant areas (intentions, upstreams) 3. Main navigation bar improvements 4. Logic/integration to interact with a new `internal/acl/authorize` endpoint
28 lines
775 B
Gherkin
28 lines
775 B
Gherkin
@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
|
|
---
|
|
Then I see the text "404 (Page not found)" in "[data-test-error]"
|
|
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
|
|
---
|
|
Then I see the text "500 (The backend responded with an error)" in "[data-test-error]"
|
|
When I click dc on the navigation
|
|
And I see 2 datacenter models
|