mirror of
https://github.com/status-im/consul.git
synced 2025-01-17 09:11:28 +00:00
6589cbbd0d
* ui: Add the most basic workspace root in /ui * We already have a LICENSE file in the repository root * Change directory path in build scripts ui-v2 -> ui * Make yarn install flags configurable from elsewhere * Minimal workspace root makefile * Call the new docker specific target * Update yarn in the docker build image * Reconfigure the netlify target and move to the higher makefile * Move ui-v2 -> ui/packages/consul-ui * Change repo root to refleect new folder structure * Temporarily don't hoist consul-api-double * Fixup CI configuration * Fixup lint errors * Fixup Netlify target
32 lines
914 B
Gherkin
32 lines
914 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 status on the error like "404"
|
|
@notNamespaceable
|
|
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 status on the error like "500"
|
|
# 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
|
|
When I click dc on the navigation
|
|
And I see 2 datacenter models on the navigation component
|