consul/ui-v2/tests/acceptance/dc/intentions/sorting.feature

43 lines
977 B
Gherkin
Raw Normal View History

@setupApplicationTest
@notNamespaceable
Feature: dc / intentions / sorting
Scenario: Sorting Intentions
Given 1 datacenter model with the value "dc-1"
And 6 intention models from yaml
---
- Action: "allow"
- Action: "allow"
- Action: "deny"
- Action: "deny"
- Action: "allow"
- Action: "deny"
---
When I visit the intentions page for yaml
---
dc: dc-1
---
Then I see 6 intention models
When I click selected on the sort
When I click options.1.button on the sort
Then I see action on the intentions vertically like yaml
---
- "deny"
- "deny"
- "deny"
- "allow"
- "allow"
- "allow"
---
When I click selected on the sort
When I click options.0.button on the sort
Then I see action on the intentions vertically like yaml
---
- "allow"
- "allow"
- "allow"
- "deny"
- "deny"
- "deny"
---