myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1333367 - /myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/tc/popup/BugTobago1103SeleniumTest.java
Date Thu, 03 May 2012 08:59:30 GMT
Author: lofwyr
Date: Thu May  3 08:59:30 2012
New Revision: 1333367

URL: http://svn.apache.org/viewvc?rev=1333367&view=rev
Log:
wait before begin to test

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/tc/popup/BugTobago1103SeleniumTest.java

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/tc/popup/BugTobago1103SeleniumTest.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/tc/popup/BugTobago1103SeleniumTest.java?rev=1333367&r1=1333366&r2=1333367&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/tc/popup/BugTobago1103SeleniumTest.java
(original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/tc/popup/BugTobago1103SeleniumTest.java
Thu May  3 08:59:30 2012
@@ -37,6 +37,8 @@ public class BugTobago1103SeleniumTest e
 
     // load page
     open("/tc/popup/popup-bug-tobago-1103.");
+    getSelenium().waitForCondition(
+        "selenium.browserbot.getCurrentWindow().document.getElementById('page:open-0') !=
null", "5000");
 
     // click on open 1st popup
     getSelenium().click("page:open-0");



Mime
View raw message