From 85e9c8350fb36c49e521b5e1de49be96719c4be5 Mon Sep 17 00:00:00 2001 From: lukemelia Date: Tue, 10 Jul 2007 04:43:15 +0000 Subject: [PATCH] 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 --- tracks/app/views/layouts/standard.rhtml | 3 ++- tracks/test/selenium/login/login_success.rsel | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tracks/app/views/layouts/standard.rhtml b/tracks/app/views/layouts/standard.rhtml index e59ab075..64240da3 100644 --- a/tracks/app/views/layouts/standard.rhtml +++ b/tracks/app/views/layouts/standard.rhtml @@ -21,7 +21,8 @@ diff --git a/tracks/test/selenium/login/login_success.rsel b/tracks/test/selenium/login/login_success.rsel index b63074a9..bad10df4 100644 --- a/tracks/test/selenium/login/login_success.rsel +++ b/tracks/test/selenium/login/login_success.rsel @@ -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' \ No newline at end of file +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" \ No newline at end of file