mirror of
https://github.com/status-im/consul.git
synced 2025-02-18 16:46:36 +00:00
* Create Topology Tab with foundational layout and styling * Create Toplogy Metrics component with dynamic SVG * Add ember-render-modifiers addon * Implement Topology Metrics comp and fix up styling * Create topology endpoint with tests * Move arrow drawing to index.js file * Add topology to show controller * Fix up conditional wrapper, tabs positioning, links, and styling * Group upstreams by dc and fix up styling * Create service/health-percentage helper * Add health check percentages to upstreams and downstreams * Basic Layout * Upgrade @hashicorp/consul-api-double to v5.2.3 * Renamed endpoint to be service-topology * Refactor styling * Update to only show Topology tab when Connect is enabled * Fix bug and changes from review notes * Remove unused functions that are replaced with SVG markers * Refactor to resuse svg-curve helper * Use the render-template helper for the metrics link * Add topology default null to services show route * Removed unused ID * Fix up tests broken by redirect to /topology
51 lines
1.9 KiB
Gherkin
51 lines
1.9 KiB
Gherkin
@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"
|
|
Scenario: Viewing the listing pages for [Page]
|
|
Given 3 [Model] models
|
|
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:
|
|
------------------------------------------------
|
|
| Page | Model | Url |
|
|
| nodes | node | nodes |
|
|
| intentions | intention | intentions |
|
|
------------------------------------------------
|
|
Scenario: Viewing detail pages with a listing for [Page]
|
|
Given 3 [Model] models
|
|
And a network latency of 100
|
|
When I visit the [Page] page for yaml
|
|
---
|
|
dc: dc-1
|
|
service: service
|
|
---
|
|
And I click instances on the tabs
|
|
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 the text "deregistered" in "[data-notification]"
|
|
Where:
|
|
-----------------------------------------------------------------
|
|
| Page | Model | Url |
|
|
| service | instance | services/service/instances |
|
|
-----------------------------------------------------------------
|