[seam-commits] Seam SVN: r12061 - branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Thu Feb 18 08:45:25 EST 2010
Author: kpiwko at redhat.com
Date: 2010-02-18 08:45:25 -0500 (Thu, 18 Feb 2010)
New Revision: 12061
Modified:
branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java
Log:
JBQA-2983, removed sync waits as they do not help
Modified: branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java
===================================================================
--- branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java 2010-02-16 23:39:13 UTC (rev 12060)
+++ branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java 2010-02-18 13:45:25 UTC (rev 12061)
@@ -131,25 +131,6 @@
super.type(locator, value);
waitForElementContent(SeleniumValueRetriever.TEXTAREA, REQUEST_AREA, value, TIMEOUT);
}
-
- /**
- * Force waiting a timeout after match because of selenium bug. This is
- * obscure, but selenium can match element as present while waiting,
- * but after returning from verification element is still not present.
- */
- @Override
- public void waitForCondition(String script, String timeout)
- {
- super.waitForCondition(script, timeout);
- try
- {
- Thread.sleep(2000);
- }
- catch (InterruptedException e)
- {
- e.printStackTrace();
- }
- }
};
newBrowser.start();
newBrowser.allowNativeXpath("false");
More information about the seam-commits
mailing list