You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2012/05/03 10:59:30 UTC
svn commit: r1333367 -
/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/tc/popup/BugTobago1103SeleniumTest.java
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");