John Cowen 6589cbbd0d
ui: Move to Workspaced Structure (#8994)
* ui: Add the most basic workspace root in /ui

* We already have a LICENSE file in the repository root

* Change directory path in build scripts ui-v2 -> ui

* Make yarn install flags configurable from elsewhere

* Minimal workspace root makefile

* Call the new docker specific target

* Update yarn in the docker build image

* Reconfigure the netlify target and move to the higher makefile

* Move ui-v2 -> ui/packages/consul-ui

* Change repo root to refleect new folder structure

* Temporarily don't hoist consul-api-double

* Fixup CI configuration

* Fixup lint errors

* Fixup Netlify target
2020-10-21 15:23:16 +01:00

38 lines
1.0 KiB
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
And the title should be "Policies - Consul"
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