mirror of https://github.com/status-im/consul.git
29 lines
764 B
Gherkin
29 lines
764 B
Gherkin
@setupApplicationTest
|
|
Feature: dc / nodes / sessions / list: List Lock Sessions
|
|
In order to get information regarding lock sessions
|
|
As a user
|
|
I should be able to see a listing of lock sessions with necessary information under the lock sessions tab for a node
|
|
Scenario: Given 2 session with string TTLs
|
|
Given 1 datacenter model with the value "dc1"
|
|
And 1 node model from yaml
|
|
---
|
|
ID: node-0
|
|
---
|
|
And 2 session models from yaml
|
|
---
|
|
- TTL: 30s
|
|
- TTL: 60m
|
|
---
|
|
When I visit the node page for yaml
|
|
---
|
|
dc: dc1
|
|
node: node-0
|
|
---
|
|
And I click lockSessions on the tabs
|
|
Then I see lockSessionsIsSelected on the tabs
|
|
Then I see TTL on the sessions like yaml
|
|
---
|
|
- 30s
|
|
- 60m
|
|
---
|