2018-10-19 15:17:02 +00:00
|
|
|
@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
|
2020-01-28 14:25:52 +00:00
|
|
|
And the title should be "Policies - Consul"
|
2019-06-05 08:25:32 +00:00
|
|
|
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"
|
2018-10-19 15:17:02 +00:00
|
|
|
@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
|