mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-10 09:24:22 +01:00
12 lines
No EOL
495 B
Text
12 lines
No EOL
495 B
Text
setup :fixtures => :all
|
|
open :controller => 'login', :action => 'logout'
|
|
open :controller => 'login'
|
|
assert_title 'exact:TRACKS::Login'
|
|
type "user_login", "admin"
|
|
type "user_password", "abracadabra"
|
|
click_and_wait "login"
|
|
assert_title 'exact:TRACKS::List tasks'
|
|
wait_for_visible "flash"
|
|
wait_for_text "flash", "Login successful: session will not expire."
|
|
#next line slows down the test unacceptably, but is useful in ensuring that the message disappears.
|
|
#wait_for_not_visible "flash" |