Author: kpiwko(a)redhat.com
Date: 2010-02-14 13:28:42 -0500 (Sun, 14 Feb 2010)
New Revision: 12052
Modified:
branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java
Log:
JBQA-2983, force wait for login response update
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-14
10:11:08 UTC (rev 12051)
+++
branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java 2010-02-14
18:28:42 UTC (rev 12052)
@@ -135,6 +135,7 @@
browser.waitForCondition("var elem =
selenium.browserbot.getCurrentWindow().document.getElementById('serviceRequest');
elem.value.indexOf('<arg1>"+password+"</arg1>')!=-1;",
TIMEOUT);
browser.click(INVOKE_SERVICE_BUTTON);
browser.waitForAJAXUpdate();
+ browser.waitForCondition("var elem =
selenium.browserbot.getCurrentWindow().document.getElementById('serviceResponse');
elem.value.indexOf('<return>true</return>')!=-1;", TIMEOUT);
}
@Test(dependsOnMethods = { "loginTest" })
Show replies by date