github.com/sl1pm4t/consul@v1.4.5-0.20190325224627-74c31c540f9c/ui-v2/tests/acceptance/dc/acls/use.feature (about) 1 @setupApplicationTest 2 Feature: dc / acls / use: Using an ACL token 3 Background: 4 Given 1 datacenter model with the value "datacenter" 5 And I'm using a legacy token 6 And 1 acl model from yaml 7 --- 8 ID: token 9 --- 10 Scenario: Using an ACL token from the listing page 11 When I visit the acls page for yaml 12 --- 13 dc: datacenter 14 --- 15 Then I have settings like yaml 16 --- 17 consul:token: '{"AccessorID":null,"SecretID":"id"}' 18 --- 19 And I click actions on the acls 20 And I click use on the acls 21 And I click confirmUse on the acls 22 Then "[data-notification]" has the "notification-use" class 23 And "[data-notification]" has the "success" class 24 Then I have settings like yaml 25 --- 26 consul:token: '{"AccessorID":null,"SecretID":"token"}' 27 --- 28 Scenario: Using an ACL token from the detail page 29 When I visit the acl page for yaml 30 --- 31 dc: datacenter 32 acl: token 33 --- 34 Then I have settings like yaml 35 --- 36 consul:token: '{"AccessorID":null,"SecretID":"id"}' 37 --- 38 And I click use 39 And I click confirmUse 40 Then "[data-notification]" has the "notification-use" class 41 And "[data-notification]" has the "success" class 42 Then I have settings like yaml 43 --- 44 consul:token: '{"AccessorID":null,"SecretID":"token"}' 45 ---