github.com/sl1pm4t/consul@v1.4.5-0.20190325224627-74c31c540f9c/ui-v2/tests/acceptance/dc/acls/tokens/own-no-delete.feature (about) 1 @setupApplicationTest 2 Feature: dc / acls / tokens / own no delete: The your current token has no delete buttons 3 Background: 4 Given 1 datacenter model with the value "dc-1" 5 And 1 token model from yaml 6 --- 7 AccessorID: token 8 SecretID: ee52203d-989f-4f7a-ab5a-2bef004164ca 9 --- 10 Scenario: On the listing page 11 Then I have settings like yaml 12 --- 13 consul:token: ~ 14 --- 15 When I visit the tokens page for yaml 16 --- 17 dc: dc-1 18 --- 19 Then the url should be /dc-1/acls/tokens 20 And I click actions on the tokens 21 And I click use on the tokens 22 And I click confirmUse on the tokens 23 Then "[data-notification]" has the "notification-use" class 24 And "[data-notification]" has the "success" class 25 Then I have settings like yaml 26 --- 27 consul:token: "{\"AccessorID\":\"token\",\"SecretID\":\"ee52203d-989f-4f7a-ab5a-2bef004164ca\"}" 28 --- 29 And I click actions on the tokens 30 Then I don't see delete on the tokens 31 And I visit the token page for yaml 32 --- 33 dc: dc-1 34 token: ee52203d-989f-4f7a-ab5a-2bef004164ca 35 --- 36 Then the url should be /dc-1/acls/tokens/ee52203d-989f-4f7a-ab5a-2bef004164ca 37 Then I don't see confirmDelete