github.com/sl1pm4t/consul@v1.4.5-0.20190325224627-74c31c540f9c/ui-v2/tests/acceptance/dc/acls/tokens/index.feature (about) 1 @setupApplicationTest 2 Feature: dc / acls / tokens / index: ACL Token List 3 4 Scenario: I see the tokens 5 Given 1 datacenter model with the value "dc-1" 6 And 3 token models 7 When I visit the tokens page for yaml 8 --- 9 dc: dc-1 10 --- 11 Then the url should be /dc-1/acls/tokens 12 Then I see 3 token models 13 Scenario: I see the legacy message if I have one legacy token 14 Given 1 datacenter model with the value "dc-1" 15 And 3 token models from yaml 16 --- 17 - Legacy: true 18 - Legacy: false 19 - Legacy: false 20 --- 21 When I visit the tokens page for yaml 22 --- 23 dc: dc-1 24 --- 25 Then the url should be /dc-1/acls/tokens 26 And I see update 27 And I see 3 token models 28 Scenario: I don't see the legacy message if I have no legacy tokens 29 Given 1 datacenter model with the value "dc-1" 30 And 3 token models from yaml 31 --- 32 - Legacy: false 33 - Legacy: false 34 - Legacy: false 35 --- 36 When I visit the tokens page for yaml 37 --- 38 dc: dc-1 39 --- 40 Then the url should be /dc-1/acls/tokens 41 And I don't see update 42 And I see 3 token models