4be0f6c061
* ui: Make API integration tests aware of CONSUL_NSPACES_ENABLED * ui: Allow passing CONSUL_NSPACES_ENABLED in via the cli in ember * ui: Add more makefile targets/package scripts to switch NSPACEs on/off * ui: Ensure all acceptance tests continue to pass with NSPACEs on/off This required a little tweaking of the dictionary, at some point page-navigation and some of these little tweaks will no longer be required * ui: Try running CI frontend tests in two parellel runs oss/ent * ui: Use correct make target, use different names for the reports
34 lines
913 B
Gherkin
34 lines
913 B
Gherkin
@setupApplicationTest
|
|
@onlyNamespaceable
|
|
Feature: dc / nspaces / index: Nspaces List
|
|
Background:
|
|
Given settings from yaml
|
|
---
|
|
consul:token:
|
|
SecretID: secret
|
|
AccessorID: accessor
|
|
Namespace: default
|
|
---
|
|
And 1 datacenter model with the value "dc-1"
|
|
And 3 nspace models
|
|
When I visit the nspaces page for yaml
|
|
---
|
|
dc: dc-1
|
|
---
|
|
Then the url should be /dc-1/namespaces
|
|
And the title should be "Namespaces - Consul"
|
|
Scenario:
|
|
Then I see 3 nspace models
|
|
Scenario: Searching the nspaces
|
|
Then I see 3 nspace models
|
|
Then I fill in with yaml
|
|
---
|
|
s: default
|
|
---
|
|
And I see 1 nspace model
|
|
And I see 1 nspace model with the description "The default namespace"
|
|
Scenario: The default namespace can't be deleted
|
|
Then I see 3 nspace models
|
|
And I click actions on the nspaces
|
|
Then I don't see delete on the nspaces
|