mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 05:45:46 +00:00
f39671d568
* Create GridCollection for nodes page with styling * Update ListCollection styling * Update TagList styling * Create CompositeRow styling component * Update ConsulServiceList component with styling * Create service health-checks helper * Add InstanceCount to the service model * Add tag-svg to codebase * Create and update tests for service-list page * Upgrade @hashicorp/consul-api-double to 2.14.0
50 lines
1.3 KiB
Gherkin
50 lines
1.3 KiB
Gherkin
@setupApplicationTest
|
|
@onlyNamespaceable
|
|
Feature: dc / nspaces / manage : Managing Namespaces
|
|
Scenario:
|
|
Given settings from yaml
|
|
---
|
|
consul:token:
|
|
SecretID: secret
|
|
AccessorID: accessor
|
|
Namespace: default
|
|
---
|
|
And 1 datacenter models from yaml
|
|
---
|
|
- dc-1
|
|
---
|
|
And 6 service models from yaml
|
|
---
|
|
- Name: Service-0
|
|
Kind: consul
|
|
- Name: Service-1
|
|
Kind: consul
|
|
- Name: Service-2
|
|
Kind: consul
|
|
- Name: Service-3
|
|
Kind: consul
|
|
- Name: Service-4
|
|
Kind: consul
|
|
- Name: Service-5
|
|
Kind: consul
|
|
---
|
|
|
|
When I visit the services page for yaml
|
|
---
|
|
dc: dc-1
|
|
---
|
|
Then the url should be /dc-1/services
|
|
Then I see 6 service models
|
|
# In order to test this properly you have to click around a few times
|
|
# between services and nspace management
|
|
When I click nspace on the navigation
|
|
And I click manageNspaces on the navigation
|
|
Then the url should be /dc-1/namespaces
|
|
And I don't see manageNspacesIsVisible on the navigation
|
|
When I click services on the navigation
|
|
Then the url should be /dc-1/services
|
|
When I click nspace on the navigation
|
|
And I click manageNspaces on the navigation
|
|
Then the url should be /dc-1/namespaces
|
|
And I don't see manageNspacesIsVisible on the navigation
|