Add changelog

This commit is contained in:
wenincode 2022-10-12 15:21:49 -06:00
parent 34d36b5263
commit 7cc46f31b0
6 changed files with 71 additions and 3 deletions

3
.changelog/14970.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:feature
ui: Filter agentless (synthetic) nodes from the nodes list page.
```

View File

@ -1,4 +1,7 @@
@setupApplicationTest @setupApplicationTest
# Nodes have been removed from this list because they randomly get
# assigned the synthetic-node property which filters them out of the list page.
# We are already testing the nodes being listed in the nodes index feature test.
Feature: dc / list: List Models Feature: dc / list: List Models
Scenario: Listing [Model] Scenario: Listing [Model]
Given 1 datacenter model with the value "dc-1" Given 1 datacenter model with the value "dc-1"
@ -13,7 +16,7 @@ Feature: dc / list: List Models
Where: Where:
------------------------------------------------- -------------------------------------------------
| Model | Page | Url | | Model | Page | Url |
| node | nodes | /dc-1/nodes | # | node | nodes | /dc-1/nodes |
| kv | kvs | /dc-1/kv | | kv | kvs | /dc-1/kv |
# | acl | acls | /dc-1/acls | # | acl | acls | /dc-1/acls |
| token | tokens | /dc-1/acls/tokens | | token | tokens | /dc-1/acls/tokens |

View File

@ -6,22 +6,32 @@ Feature: dc / nodes / empty-ids: Hedge for if nodes come in over the API with no
--- ---
- ID: id-1 - ID: id-1
Node: name-1 Node: name-1
Meta:
synthetic-node: false
Checks: Checks:
- Status: passing - Status: passing
- ID: "" - ID: ""
Node: name-2 Node: name-2
Meta:
synthetic-node: false
Checks: Checks:
- Status: passing - Status: passing
- ID: "" - ID: ""
Node: name-3 Node: name-3
Meta:
synthetic-node: false
Checks: Checks:
- Status: passing - Status: passing
- ID: "" - ID: ""
Node: name-4 Node: name-4
Meta:
synthetic-node: false
Checks: Checks:
- Status: passing - Status: passing
- ID: "" - ID: ""
Node: name-5 Node: name-5
Meta:
synthetic-node: false
Checks: Checks:
- Status: passing - Status: passing
--- ---

View File

@ -2,7 +2,27 @@
Feature: dc / nodes / navigation Feature: dc / nodes / navigation
Scenario: Clicking a node in the listing and back again Scenario: Clicking a node in the listing and back again
Given 1 datacenter model with the value "dc-1" Given 1 datacenter model with the value "dc-1"
And 3 node models And 3 node models from yaml
---
- Node: Node-A
Meta:
synthetic-node: "false"
Checks:
- Status: critical
ServiceID: ""
- Node: Node-B
Meta:
synthetic-node: "false"
Checks:
- Status: passing
ServiceID: ""
- Node: Node-C
Meta:
synthetic-node: "false"
Checks:
- Status: warning
ServiceID: ""
---
When I visit the nodes page for yaml When I visit the nodes page for yaml
--- ---
dc: dc-1 dc: dc-1

View File

@ -2,7 +2,27 @@
Feature: dc / nodes / no-leader Feature: dc / nodes / no-leader
Scenario: Leader hasn't been elected Scenario: Leader hasn't been elected
Given 1 datacenter model with the value "dc-1" Given 1 datacenter model with the value "dc-1"
And 3 node models And 3 node models from yaml
---
- Node: Node-A
Meta:
synthetic-node: "false"
Checks:
- Status: critical
ServiceID: ""
- Node: Node-B
Meta:
synthetic-node: "false"
Checks:
- Status: passing
ServiceID: ""
- Node: Node-C
Meta:
synthetic-node: "false"
Checks:
- Status: warning
ServiceID: ""
---
And the url "/v1/status/leader" responds with from yaml And the url "/v1/status/leader" responds with from yaml
--- ---
body: | body: |

View File

@ -5,26 +5,38 @@ Feature: dc / nodes / sorting
And 6 node models from yaml And 6 node models from yaml
--- ---
- Node: Node-A - Node: Node-A
Meta:
synthetic-node: "false"
Checks: Checks:
- Status: critical - Status: critical
ServiceID: "" ServiceID: ""
- Node: Node-B - Node: Node-B
Meta:
synthetic-node: "false"
Checks: Checks:
- Status: passing - Status: passing
ServiceID: "" ServiceID: ""
- Node: Node-C - Node: Node-C
Meta:
synthetic-node: "false"
Checks: Checks:
- Status: warning - Status: warning
ServiceID: "" ServiceID: ""
- Node: Node-D - Node: Node-D
Meta:
synthetic-node: "false"
Checks: Checks:
- Status: critical - Status: critical
ServiceID: "" ServiceID: ""
- Node: Node-E - Node: Node-E
Meta:
synthetic-node: "false"
Checks: Checks:
- Status: critical - Status: critical
ServiceID: "" ServiceID: ""
- Node: Node-F - Node: Node-F
Meta:
synthetic-node: "false"
Checks: Checks:
- Status: warning - Status: warning
ServiceID: "" ServiceID: ""