github.com/rposudnevskiy/consul@v1.4.5/ui-v2/tests/acceptance/components/acl-filter.feature (about)

     1  @setupApplicationTest
     2  Feature: components / acl filter: Acl Filter
     3    In order to find the acl token I'm looking for easier
     4    As a user
     5    I should be able to filter by type and freetext search tokens by name and token
     6    Scenario: Filtering [Model]
     7      Given 1 datacenter model with the value "dc-1"
     8      And 2 [Model] models
     9      And I'm using a legacy token
    10      When I visit the [Page] page for yaml
    11      ---
    12        dc: dc-1
    13      ---
    14      Then the url should be [Url]
    15  
    16      Then I see 2 [Model] models
    17      And I see allIsSelected on the filter
    18  
    19      When I click management on the filter
    20      Then I see managementIsSelected on the filter
    21      And I see 1 [Model] model
    22  
    23      When I click client on the filter
    24      Then I see clientIsSelected on the filter
    25      And I see 1 [Model] model
    26  
    27      When I click all on the filter
    28      Then I see allIsSelected on the filter
    29      Then I fill in with yaml
    30      ---
    31      s: Anonymous Token
    32      ---
    33      And I see 1 [Model] model with the name "Anonymous Token"
    34      Then I fill in with yaml
    35      ---
    36      s: secret
    37      ---
    38      And I see 1 [Model] model with the name "Master Token"
    39  
    40    Where:
    41      -------------------------------------------------
    42      | Model   | Page     | Url                       |
    43      | acl     | acls     | /dc-1/acls                |
    44      -------------------------------------------------