2020-08-28 13:21:03 +00:00
|
|
|
@setupApplicationTest
|
|
|
|
Feature: dc / nodes / navigation
|
|
|
|
Scenario: Clicking a node in the listing and back again
|
|
|
|
Given 1 datacenter model with the value "dc-1"
|
2022-10-12 21:21:49 +00:00
|
|
|
And 3 node models from yaml
|
|
|
|
---
|
|
|
|
- Node: Node-A
|
|
|
|
Meta:
|
2022-10-13 14:41:26 +00:00
|
|
|
synthetic-node: false
|
2022-10-12 21:21:49 +00:00
|
|
|
Checks:
|
|
|
|
- Status: critical
|
|
|
|
ServiceID: ""
|
|
|
|
- Node: Node-B
|
|
|
|
Meta:
|
2022-10-13 14:41:26 +00:00
|
|
|
synthetic-node: false
|
2022-10-12 21:21:49 +00:00
|
|
|
Checks:
|
|
|
|
- Status: passing
|
|
|
|
ServiceID: ""
|
|
|
|
- Node: Node-C
|
|
|
|
Meta:
|
2022-10-13 14:41:26 +00:00
|
|
|
synthetic-node: false
|
2022-10-12 21:21:49 +00:00
|
|
|
Checks:
|
|
|
|
- Status: warning
|
|
|
|
ServiceID: ""
|
|
|
|
---
|
2020-08-28 13:21:03 +00:00
|
|
|
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
|
|
|
|
When I click node on the nodes
|
|
|
|
And I click "[data-test-back]"
|
|
|
|
Then the url should be /dc-1/nodes
|
|
|
|
|