mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-21 22:54:09 +01:00
add a cucumber test to simulate expiration of a session
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
This commit is contained in:
parent
520e45fe6b
commit
7b3c07a754
5 changed files with 72 additions and 30 deletions
|
|
@ -49,3 +49,11 @@ Feature: Existing user logging in
|
|||
| search page | search page | Logout (Test User) |
|
||||
| "top secret" project for user "testuser" | "top secret" project for user "testuser" | Logout (Test User) |
|
||||
| context page for "@secret location" for user "testuser" | context page for "@secret location" for user "testuser" | Logout (Test User) |
|
||||
|
||||
@selenium @wip
|
||||
Scenario: When session expires, you should be logged out
|
||||
When I go to the login page
|
||||
And I submit the login form as user "testuser" with password "secret"
|
||||
Then I should be on the login page
|
||||
When my session expires
|
||||
Then I should see "Session has timed out"
|
||||
Loading…
Add table
Add a link
Reference in a new issue