mirror of https://github.com/hashicorp/consul
21 lines
627 B
Gherkin
21 lines
627 B
Gherkin
@setupApplicationTest
|
|
Feature: dc / acls / policies / view managment: Readonly management policy
|
|
Background:
|
|
Given 1 datacenter model with the value "datacenter"
|
|
And 1 policy model from yaml
|
|
---
|
|
ID: 00000000-0000-0000-0000-000000000001
|
|
---
|
|
Scenario:
|
|
When I visit the policy page for yaml
|
|
---
|
|
dc: datacenter
|
|
policy: 00000000-0000-0000-0000-000000000001
|
|
---
|
|
Then the url should be /datacenter/acls/policies/00000000-0000-0000-0000-000000000001
|
|
Then I see the text "View Policy" in "h1"
|
|
Then I don't see confirmDelete
|
|
Then I don't see cancel
|
|
And I see tokens
|
|
|