[seam-commits] Seam SVN: r11583 - 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
Wed Oct 14 08:56:43 EDT 2009
Author: mgencur at redhat.com
Date: 2009-10-14 08:56:43 -0400 (Wed, 14 Oct 2009)
New Revision: 11583
Modified:
branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java
Log:
fixes waiting time
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 2009-10-14 12:31:32 UTC (rev 11582)
+++ branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java 2009-10-14 12:56:43 UTC (rev 11583)
@@ -42,7 +42,7 @@
public class WebServiceTestPageTest extends SeleniumSeamBayTest
{
- protected static final Long TIMEOUT = 25000L; //25 seconds
+ protected static final Long TIMEOUT = 35000L; //35 seconds
protected static final String HERE_LINK = "xpath=//a[contains(text(),\"here\")]";
protected static final String SERVICE_PAGE_HEADING= "seamBay Web Services - Test Page";
@@ -93,7 +93,6 @@
String username = "demo";
String password = "demo";
browser.clickAndWait(HERE_LINK);
- waitForElementPresent(RESPONSE_AREA, TIMEOUT);
waitForElementPresent(LOGIN_LINK, TIMEOUT);
browser.click(LOGIN_LINK);
waitForElementPresent(LOGIN_INPUT_USERNAME, TIMEOUT);
@@ -273,6 +272,7 @@
{
return (browser.getValue(locator).length() != 0);
}
- }.wait("Timeout while waiting for element content."+browser.getValue(locator).length()+","+locator , timeout);
+ }.wait("Timeout while waiting for element content. Element: " + locator+ ", " + "Content length: "
+ + browser.getValue(locator).length(), timeout);
} //waitForElementContent
}
More information about the seam-commits
mailing list