open-consul/ui-v2/tests/acceptance/dc/acls/policies/index.feature

37 lines
1005 B
Gherkin

@setupApplicationTest
Feature: dc / acls / policies / index: ACL Policy List
Scenario:
Given 1 datacenter model with the value "dc-1"
And 3 policy models
When I visit the policies page for yaml
---
dc: dc-1
---
Then the url should be /dc-1/acls/policies
Then I see 3 policy models
Scenario: Searching the policies
Given 1 datacenter model with the value "dc-1"
And 3 policy models from yaml
---
- Description: Find me
- Description: Not in search
- Description: Not in search either
---
When I visit the policies page for yaml
---
dc: dc-1
---
Then the url should be /dc-1/acls/policies
Then I see 3 policy models
Then I fill in with yaml
---
s: Find me
---
And I see 1 policy model
And I see 1 policy model with the description "Find me"
@ignore
Scenario: The global-managment policy can't be deleted
And I click actions on the policies
Then I don't see delete on the policies