2019-02-21 10:36:15 +00:00
|
|
|
@setupApplicationTest
|
|
|
|
Feature: dc / list-blocking
|
|
|
|
In order to see updates without refreshing the page
|
|
|
|
As a user
|
|
|
|
I want to see changes if I change consul externally
|
|
|
|
Background:
|
|
|
|
Given 1 datacenter model with the value "dc-1"
|
2020-01-29 16:22:31 +00:00
|
|
|
Scenario: Viewing the listing pages for [Page]
|
2019-03-22 17:10:33 +00:00
|
|
|
Given 3 [Model] models
|
2019-02-21 10:36:15 +00:00
|
|
|
And a network latency of 100
|
|
|
|
When I visit the [Page] page for yaml
|
|
|
|
---
|
|
|
|
dc: dc-1
|
|
|
|
---
|
|
|
|
Then the url should be /dc-1/[Url]
|
|
|
|
And pause until I see 3 [Model] models
|
|
|
|
And an external edit results in 5 [Model] models
|
|
|
|
And pause until I see 5 [Model] models
|
|
|
|
And an external edit results in 1 [Model] model
|
|
|
|
And pause until I see 1 [Model] model
|
|
|
|
And an external edit results in 0 [Model] models
|
|
|
|
And pause until I see 0 [Model] models
|
|
|
|
Where:
|
2019-03-22 17:10:33 +00:00
|
|
|
------------------------------------------------
|
|
|
|
| Page | Model | Url |
|
|
|
|
| nodes | node | nodes |
|
2020-01-29 16:22:31 +00:00
|
|
|
| intentions | intention | intentions |
|
2019-03-22 17:10:33 +00:00
|
|
|
------------------------------------------------
|
2020-01-29 16:22:31 +00:00
|
|
|
Scenario: Viewing detail pages with a listing for [Page]
|
2019-03-22 17:10:33 +00:00
|
|
|
Given 3 [Model] models
|
|
|
|
And a network latency of 100
|
|
|
|
When I visit the [Page] page for yaml
|
|
|
|
---
|
|
|
|
dc: dc-1
|
2020-04-21 14:21:52 +00:00
|
|
|
service: service
|
2019-03-22 17:10:33 +00:00
|
|
|
---
|
2020-10-05 17:07:35 +00:00
|
|
|
And I click instances on the tabs
|
2019-03-22 17:10:33 +00:00
|
|
|
Then the url should be /dc-1/[Url]
|
|
|
|
And pause until I see 3 [Model] models
|
|
|
|
And an external edit results in 5 [Model] models
|
|
|
|
And pause until I see 5 [Model] models
|
|
|
|
And an external edit results in 1 [Model] model
|
|
|
|
And pause until I see 1 [Model] model
|
|
|
|
And an external edit results in 0 [Model] models
|
2019-03-22 17:24:40 +00:00
|
|
|
And pause until I see the text "deregistered" in "[data-notification]"
|
2019-03-22 17:10:33 +00:00
|
|
|
Where:
|
2020-04-08 09:56:36 +00:00
|
|
|
-----------------------------------------------------------------
|
|
|
|
| Page | Model | Url |
|
2020-04-21 14:21:52 +00:00
|
|
|
| service | instance | services/service/instances |
|
2020-04-08 09:56:36 +00:00
|
|
|
-----------------------------------------------------------------
|