2018-07-03 12:23:45 +00:00
|
|
|
@setupApplicationTest
|
2020-01-24 12:26:28 +00:00
|
|
|
Feature: dc / nodes / empty-ids: Hedge for if nodes come in over the API with no ID
|
2018-07-03 12:23:45 +00:00
|
|
|
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
|
2020-11-19 16:05:46 +00:00
|
|
|
Checks:
|
|
|
|
- Status: passing
|
2018-07-03 12:23:45 +00:00
|
|
|
- ID: ""
|
|
|
|
Node: name-2
|
2020-11-19 16:05:46 +00:00
|
|
|
Checks:
|
|
|
|
- Status: passing
|
2018-07-03 12:23:45 +00:00
|
|
|
- ID: ""
|
|
|
|
Node: name-3
|
2020-11-19 16:05:46 +00:00
|
|
|
Checks:
|
|
|
|
- Status: passing
|
2018-07-03 12:23:45 +00:00
|
|
|
- ID: ""
|
|
|
|
Node: name-4
|
2020-11-19 16:05:46 +00:00
|
|
|
Checks:
|
|
|
|
- Status: passing
|
2018-07-03 12:23:45 +00:00
|
|
|
- ID: ""
|
|
|
|
Node: name-5
|
2020-11-19 16:05:46 +00:00
|
|
|
Checks:
|
|
|
|
- Status: passing
|
2018-07-03 12:23:45 +00:00
|
|
|
---
|
|
|
|
When I visit the nodes page for yaml
|
|
|
|
---
|
|
|
|
dc: dc-1
|
|
|
|
---
|
|
|
|
Then the url should be /dc-1/nodes
|
2020-08-28 13:21:03 +00:00
|
|
|
Then I see name on the nodes vertically like yaml
|
2018-07-03 12:23:45 +00:00
|
|
|
---
|
|
|
|
- name-1
|
|
|
|
- name-2
|
|
|
|
- name-3
|
|
|
|
- name-4
|
|
|
|
- name-5
|
2020-11-19 16:05:46 +00:00
|
|
|
---
|