2020-01-31 14:11:46 +00:00
|
|
|
@setupApplicationTest
|
2020-02-07 11:02:53 +00:00
|
|
|
@onlyNamespaceable
|
2020-01-31 14:11:46 +00:00
|
|
|
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
|
|
|
|
---
|
2020-04-21 14:21:52 +00:00
|
|
|
And 12 service models from yaml
|
2020-04-08 17:09:36 +00:00
|
|
|
---
|
|
|
|
- Name: Service-0
|
2020-04-21 14:21:52 +00:00
|
|
|
- Name: Service-0-proxy
|
|
|
|
Kind: 'connect-proxy'
|
2020-04-08 17:09:36 +00:00
|
|
|
- Name: Service-1
|
2020-04-21 14:21:52 +00:00
|
|
|
- Name: Service-1-proxy
|
|
|
|
Kind: 'connect-proxy'
|
2020-04-08 17:09:36 +00:00
|
|
|
- Name: Service-2
|
2020-04-21 14:21:52 +00:00
|
|
|
- Name: Service-2-proxy
|
|
|
|
Kind: 'connect-proxy'
|
2020-04-08 17:09:36 +00:00
|
|
|
- Name: Service-3
|
2020-04-21 14:21:52 +00:00
|
|
|
- Name: Service-3-proxy
|
|
|
|
Kind: 'connect-proxy'
|
2020-04-08 17:09:36 +00:00
|
|
|
- Name: Service-4
|
2020-04-21 14:21:52 +00:00
|
|
|
- Name: Service-4-proxy
|
|
|
|
Kind: 'connect-proxy'
|
2020-04-08 17:09:36 +00:00
|
|
|
- Name: Service-5
|
2020-04-21 14:21:52 +00:00
|
|
|
- Name: Service-5-proxy
|
|
|
|
Kind: 'connect-proxy'
|
2020-04-08 17:09:36 +00:00
|
|
|
---
|
|
|
|
|
2020-01-31 14:11:46 +00:00
|
|
|
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
|