mirror of
https://github.com/status-im/consul.git
synced 2025-01-13 07:14:37 +00:00
95094b8ddd
* Create ConsulNodeList component * Implement ConsulNodeList and the new Search/Sort to Node List page * Minor styling fix to align the first icons in composite row * Fix-up and add tests for the redesigned Node List page * Add Leader to composite row for Node List page * Add test for node leader
30 lines
668 B
Gherkin
30 lines
668 B
Gherkin
@setupApplicationTest
|
|
Feature: dc / nodes / empty-ids: Hedge for if nodes come in over the API with no ID
|
|
Scenario: A node list with some missing IDs
|
|
Given 1 datacenter model with the value "dc-1"
|
|
And 5 node models from yaml
|
|
---
|
|
- ID: id-1
|
|
Node: name-1
|
|
- ID: ""
|
|
Node: name-2
|
|
- ID: ""
|
|
Node: name-3
|
|
- ID: ""
|
|
Node: name-4
|
|
- ID: ""
|
|
Node: name-5
|
|
---
|
|
When I visit the nodes page for yaml
|
|
---
|
|
dc: dc-1
|
|
---
|
|
Then the url should be /dc-1/nodes
|
|
Then I see name on the nodes vertically like yaml
|
|
---
|
|
- name-1
|
|
- name-2
|
|
- name-3
|
|
- name-4
|
|
- name-5
|
|
--- |