Author: vrockai
Date: 2009-04-15 06:29:25 -0400 (Wed, 15 Apr 2009)
New Revision: 13223
Modified:
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/cms/CMSArchiveUploadTestCase.java
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/EndtoEndPortalAdminTestCase.java
Log:
longer timeouts
Modified:
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/cms/CMSArchiveUploadTestCase.java
===================================================================
---
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/cms/CMSArchiveUploadTestCase.java 2009-04-15
03:47:21 UTC (rev 13222)
+++
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/cms/CMSArchiveUploadTestCase.java 2009-04-15
10:29:25 UTC (rev 13223)
@@ -13,8 +13,8 @@
@Test(groups = { "cms_archive_upload" }, enabled = true)
public class CMSArchiveUploadTestCase extends JBossPortalSeleniumTestCase {
- private static final Integer ARCHIVE_WAITING = 5000;
- private static final int n = 50;
+ private static final Integer ARCHIVE_WAITING = 7000;
+ private static final int n = 70;
/*
* uncomment following lines and set the right path to the workspace in the
* case you want to use this test case locally from eclipse
Modified:
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/EndtoEndPortalAdminTestCase.java
===================================================================
---
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/EndtoEndPortalAdminTestCase.java 2009-04-15
03:47:21 UTC (rev 13222)
+++
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/EndtoEndPortalAdminTestCase.java 2009-04-15
10:29:25 UTC (rev 13223)
@@ -57,6 +57,7 @@
private final String INP_NET_SEARCH = getProp(casePfx + "inp.goo.search",
"//div[contains(@id,'directory_search_div')]/form/input[@name='query']");
private final String SUB_NET_SEARCH = getProp(casePfx + "sub.goo.search",
"//div[contains(@id,'directory_search_div')]/form/input[@type='submit']");
+ private long AJAX_WAIT=10000;
/*
* - create a new portal - add couple of page to the portal - add few
* portlets of different kinds (csm, widget, regular portlets) in each page
@@ -217,7 +218,7 @@
selenium.click(MessageFormat.format(PAG_TL_LAYOUT, r));
try {
- Thread.sleep(5000);
+ Thread.sleep(AJAX_WAIT);
} catch (InterruptedException e) {
e.printStackTrace();
}
@@ -225,14 +226,14 @@
// hack
selenium.select(SEL_PORTLET_TYPE, "label=" + "cms");
try {
- Thread.sleep(5000);
+ Thread.sleep(AJAX_WAIT);
} catch (InterruptedException e) {
e.printStackTrace();
}
selenium.select(SEL_PORTLET_TYPE, "label=" + type);
try {
- Thread.sleep(5000);
+ Thread.sleep(AJAX_WAIT);
} catch (InterruptedException e) {
e.printStackTrace();
}