mirror of
https://github.com/status-im/consul.git
synced 2025-01-27 14:05:45 +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
62 lines
1.5 KiB
Gherkin
62 lines
1.5 KiB
Gherkin
@setupApplicationTest
|
|
Feature: dc / nodes / index
|
|
Background:
|
|
Given 1 datacenter model with the value "dc-1"
|
|
And the url "/v1/status/leader" responds with from yaml
|
|
---
|
|
body: |
|
|
"211.245.86.75:8500"
|
|
---
|
|
Scenario: Viewing nodes in the listing
|
|
Given 3 node models
|
|
When I visit the nodes page for yaml
|
|
---
|
|
dc: dc-1
|
|
---
|
|
Then the url should be /dc-1/nodes
|
|
And the title should be "Nodes - Consul"
|
|
Then I see 3 node models
|
|
Scenario: Seeing the leader in node listing
|
|
Given 3 node models from yaml
|
|
---
|
|
- Address: 211.245.86.75
|
|
Checks:
|
|
- Status: warning
|
|
Name: Warning check
|
|
- Address: 10.0.0.1
|
|
- Address: 10.0.0.3
|
|
---
|
|
When I visit the nodes page for yaml
|
|
---
|
|
dc: dc-1
|
|
---
|
|
Then the url should be /dc-1/nodes
|
|
Then I see 3 node models
|
|
And I see leader on the nodes.0
|
|
Scenario: Searching the nodes with name and IP address
|
|
Given 3 node models from yaml
|
|
---
|
|
- Node: node-01
|
|
Address: 10.0.0.0
|
|
- Node: node-02
|
|
Address: 10.0.0.1
|
|
- Node: node-03
|
|
Address: 10.0.0.2
|
|
---
|
|
When I visit the nodes page for yaml
|
|
---
|
|
dc: dc-1
|
|
---
|
|
And I see 3 node models
|
|
Then I fill in with yaml
|
|
---
|
|
s: node-01
|
|
---
|
|
And I see 1 node model
|
|
And I see 1 node model with the name "node-01"
|
|
Then I fill in with yaml
|
|
---
|
|
s: 10.0.0.1
|
|
---
|
|
And I see 1 node model
|
|
And I see 1 node model with the name "node-02" |