consul/ui-v2/tests/acceptance/dc/acls/tokens/navigation.feature
Kenia 2179bb0dec ui: Add sorting to ACLs tokens with tests (#8359)
* Add sorting to ACLs tokens with tests

* Create token comparator and implement in template

* Upgrade @hashicorp/consul-api-double to 3.1.6

* Add navigation test to acls tokens
2020-07-29 13:42:01 +00:00

16 lines
515 B
Gherkin

@setupApplicationTest
Feature: dc / tokens / navigation
Scenario: Clicking a token in the listing and back again
Given 1 datacenter model with the value "dc-1"
And 3 token models
When I visit the tokens page for yaml
---
dc: dc-1
---
Then the url should be /dc-1/acls/tokens
And the title should be "Tokens - Consul"
Then I see 3 token models
When I click token on the tokens
And I click "[data-test-back]"
Then the url should be /dc-1/acls/tokens