mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-16 12:18:07 +01:00
add cucumber scenarios for new preferences
This commit is contained in:
parent
555311b681
commit
40a7cc2d3a
9 changed files with 70 additions and 11 deletions
|
|
@ -25,10 +25,14 @@ When /^my session expires$/ do
|
|||
# use expire_session to force expiry of session
|
||||
js = '$.ajax({type: "GET", url: "/login/expire_session", dataType: "script", async: false});'
|
||||
selenium.run_script(js);
|
||||
|
||||
|
||||
# force check of expiry bypassing timeout
|
||||
js = '$.ajax({type: "GET", url: "/login/check_expiry", dataType: "script", async: false});'
|
||||
selenium.run_script(js);
|
||||
|
||||
sleep(2)
|
||||
end
|
||||
|
||||
When /^I log out of Tracks$/ do
|
||||
When "I go to the logout page"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue