Author: rmarianski
Date: 2007-07-31 11:04:47 -0400 (Tue, 31 Jul 2007)
New Revision: 7874
Modified:
topp_ftesting/trunk/ftests/login.twill
topp_ftesting/trunk/ftests/logout.twill
Log:
add more verification to login/logout scripts
Modified: topp_ftesting/trunk/ftests/login.twill
===================================================================
--- topp_ftesting/trunk/ftests/login.twill 2007-07-31 14:49:19 UTC (rev
7873)
+++ topp_ftesting/trunk/ftests/login.twill 2007-07-31 15:04:47 UTC (rev
7874)
@@ -9,6 +9,10 @@
#
+notfind 'logout' i
+find 'join' i
+find 'log in' i
+
go ${base_url}/login
fv login_form __ac_name $user
fv login_form __ac_password $password
Modified: topp_ftesting/trunk/ftests/logout.twill
===================================================================
--- topp_ftesting/trunk/ftests/logout.twill 2007-07-31 14:49:19 UTC (rev
7873)
+++ topp_ftesting/trunk/ftests/logout.twill 2007-07-31 15:04:47 UTC (rev
7874)
@@ -6,5 +6,10 @@
#
go $base_url
+
+notfind '<a href="http://.*/login">Log In</a>' i
+notfind '<a href="http://.*/openplans/join">Join</a>' i
+find 'log out' i
+
follow "Log Out"
find "You are logged out"
--
Archive:
http://www.openplans.org/projects/opencore/lists/openplans-svn/archive/2007/07/1185894287718
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]
Please contact [EMAIL PROTECTED] for questions.