[seam-commits] Seam SVN: r12055 - 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
Mon Feb 15 05:05:12 EST 2010


Author: kpiwko at redhat.com
Date: 2010-02-15 05:05:11 -0500 (Mon, 15 Feb 2010)
New Revision: 12055

Modified:
   branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java
Log:
JBQA-2983, waiting for services until response is not null

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-15 10:01:51 UTC (rev 12054)
+++ branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java	2010-02-15 10:05:11 UTC (rev 12055)
@@ -87,6 +87,7 @@
          public void waitForAJAXUpdate(String timeout)
          {
             waitForCondition("selenium.browserbot.getCurrentWindow().selectedService.active===false", timeout);
+            waitForCondition("var elem = selenium.browserbot.getCurrentWindow().document.getElementById('serviceResponse'); elem.value.indexOf('null')==-1;", timeout);
          };
          
          /**



More information about the seam-commits mailing list