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:
lukemelia 2007-07-10 04:43:15 +00:00
parent 1280ab7665
commit 85e9c8350f
2 changed files with 7 additions and 2 deletions

View file

@ -22,6 +22,7 @@
<script type="text/javascript">
window.onload=function(){
Nifty("div#todo_new_action_container","normal");
if ($('flash').visible()) { new Effect.Fade("flash",{duration:5.0}); }
}
</script>

View file

@ -6,3 +6,7 @@ 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"