mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-23 18:50:12 +01:00
Fixes problem reported in #528 by lrbalt: "login succes message does not disappear". Thanks!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@564 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
1280ab7665
commit
85e9c8350f
2 changed files with 7 additions and 2 deletions
|
|
@ -21,7 +21,8 @@
|
|||
|
||||
<script type="text/javascript">
|
||||
window.onload=function(){
|
||||
Nifty("div#todo_new_action_container","normal");
|
||||
Nifty("div#todo_new_action_container","normal");
|
||||
if ($('flash').visible()) { new Effect.Fade("flash",{duration:5.0}); }
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,4 +5,8 @@ assert_title 'exact:TRACKS::Login'
|
|||
type "user_login", "admin"
|
||||
type "user_password", "abracadabra"
|
||||
click_and_wait "login"
|
||||
assert_title 'exact:TRACKS::List tasks'
|
||||
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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue