Author: vrockai
Date: 2009-04-01 11:38:23 -0400 (Wed, 01 Apr 2009)
New Revision: 13110
Modified:
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/EndToEndBeaPortlet.java
Log:
[selenium] ajax timeout
Modified:
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/EndToEndBeaPortlet.java
===================================================================
---
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/EndToEndBeaPortlet.java 2009-04-01
15:34:23 UTC (rev 13109)
+++
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/EndToEndBeaPortlet.java 2009-04-01
15:38:23 UTC (rev 13110)
@@ -12,7 +12,7 @@
*/
@Test(groups = {"end2end"}, enabled = true, description = "Creating of new
portal with content.")
public class EndToEndBeaPortlet extends JBossPortalSeleniumTestCase {
-
+ public static long AJAX_TIMEOUT = 15000;
public static String casePfx = "e2e.wsrp.";
private final String SUB_VIEW_PORTLETS =
"//input[contains(@id,'definition-form:view-portlets')]";
@@ -130,7 +130,7 @@
selenium.open(ADR_HOME);
selenium.waitForPageToLoad(PAGE_LOAD);
-
+ waitFor(AJAX_TIMEOUT);
Assert.assertTrue(selenium.isTextPresent("1BeaPorWindow"));
Assert.assertTrue(selenium.isTextPresent("Welcome to WebLogic Portal WSRP
Demo."));