Author: vrockai
Date: 2009-04-30 05:10:00 -0400 (Thu, 30 Apr 2009)
New Revision: 13285
Modified:
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/DashboardTestCase.java
Log:
[selenium] - trying to fix dashboard issue
Modified:
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/DashboardTestCase.java
===================================================================
---
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/DashboardTestCase.java 2009-04-29
13:03:58 UTC (rev 13284)
+++
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/DashboardTestCase.java 2009-04-30
09:10:00 UTC (rev 13285)
@@ -129,7 +129,7 @@
wait(15000);
selectIfNotSelected(SEL_PAGE, "DashTestPage");
-
+ wait(15000);
selenium.select(SEL_THEME, "label=renaissance");
selenium.click(SUB_THEMESEL);
@@ -155,7 +155,7 @@
wait(15000);
selenium.windowMaximize();
selectIfNotSelected(SEL_PAGE, "DashTestPage");
-
+ wait(15000);
selenium.select(SEL_LAYOUT, "label=generic");
selenium.click(SUB_LAYOUT_UPDATE);
@@ -181,6 +181,7 @@
// selenium.waitForPageToLoad(PAGE_LOAD);
wait(15000);
selectIfNotSelected(SEL_PAGE, "DashTestPage");
+ wait(15000);
selenium.click(LINK_PORTL2);
selenium.waitForPageToLoad(PAGE_LOAD);
waitForElement("portlet-editor-title");
@@ -218,12 +219,14 @@
selenium.waitForPageToLoad(PAGE_LOAD);
selectIfNotSelected(SEL_PAGE, pageName);
+ wait(15000);
selenium.click(LINK_PORTL1);
selenium.waitForPageToLoad(PAGE_LOAD);
selenium.click(SUB_ADDCENTER);
selenium.waitForPageToLoad(PAGE_LOAD);
selectIfNotSelected(SEL_PAGE, pageName);
+ wait(15000);
selenium.click(LINK_PORTL2);
selenium.waitForPageToLoad(PAGE_LOAD);
selenium.click(SUB_ADDCENTER);
@@ -249,7 +252,7 @@
// selenium.waitForPageToLoad(PAGE_LOAD);
wait(15000);
selectIfNotSelected(SEL_PAGE, pageName);
-
+ wait(15000);
selenium.addSelection(SEL_CENTER_REGION, OPT_PORTL1);
selenium.click(SUB_DOWN_CENTER_REGION);
selenium.waitForPageToLoad(PAGE_LOAD);
@@ -273,7 +276,7 @@
wait(15000);
selectIfNotSelected(SEL_PAGE, "DashTestPage");
-
+ wait(15000);
selenium.addSelection(SEL_CENTER_REGION, "label=CurrentUsersPortletWindow");
selenium.click(SUB_DEL_FROM_CENTER_REGION);
selenium.waitForPageToLoad(PAGE_LOAD);
@@ -296,6 +299,7 @@
// selenium.waitForPageToLoad(PAGE_LOAD);
wait(15000);
selectIfNotSelected(SEL_PAGE, "DashTestPage");
+ wait(15000);
selenium.select(SEL_CONTENT_TYPE, "label=widget/google");
selenium.waitForPageToLoad(PAGE_LOAD);
selenium.click("link=Band Culinaria");
@@ -347,7 +351,7 @@
selenium.waitForPageToLoad(PAGE_LOAD);
selectIfNotSelected(SEL_PAGE, pageName);
-
+ wait(15000);
selenium.click(LINK_WEATHER_PORTLET);
selenium.waitForPageToLoad(PAGE_LOAD);
selenium.click(SUB_ADDLEFT);
@@ -377,7 +381,7 @@
wait(15000);
selectIfNotSelected(SEL_PAGE, pageName);
-
+ wait(15000);
selenium.type(INP_PAGE_RENAME, pageNameNew);
selenium.click(SUB_PAGE_RENAME);
selenium.waitForPageToLoad(PAGE_LOAD);
Show replies by date