github.com/sl1pm4t/consul@v1.4.5-0.20190325224627-74c31c540f9c/ui-v2/tests/acceptance/dc/acls/tokens/policies/list.feature (about)

     1  @setupApplicationTest
     2  Feature: dc / acls / tokens / policies: List
     3    Scenario:
     4      Given 1 datacenter model with the value "datacenter"
     5      And 1 token model from yaml
     6      ---
     7        AccessorID: key
     8        Policies:
     9          - Name: Policy
    10            ID: 0000
    11          - Name: Policy 2
    12            ID: 0002
    13          - Name: Policy 3
    14            ID: 0003
    15      ---
    16      When I visit the token page for yaml
    17      ---
    18        dc: datacenter
    19        token: key
    20      ---
    21      Then the url should be /datacenter/acls/tokens/key
    22      Then I see 3 policy models