[seam-commits] Seam SVN: r12458 - branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/booking/selenium.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Apr 13 07:23:46 EDT 2010
Author: mgencur at redhat.com
Date: 2010-04-13 07:23:45 -0400 (Tue, 13 Apr 2010)
New Revision: 12458
Modified:
branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/booking/selenium/ChangePasswordTest.java
Log:
timeout to wait for text on a page - should fix failing test in hudson
Modified: branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/booking/selenium/ChangePasswordTest.java
===================================================================
--- branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/booking/selenium/ChangePasswordTest.java 2010-04-13 11:11:17 UTC (rev 12457)
+++ branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/booking/selenium/ChangePasswordTest.java 2010-04-13 11:23:45 UTC (rev 12458)
@@ -61,6 +61,13 @@
assertTrue("Login failed.", login(USERNAME, "password"));
// cleanup - set default password
changePassword(PASSWORD);
+ try
+ {
+ Thread.sleep(7000);
+ }
+ catch (InterruptedException e)
+ {
+ }
assertTrue("Password change failed.", browser
.isTextPresent(getProperty("PASSWORD_UPDATED_MESSAGE")));
logout();
More information about the seam-commits
mailing list