[portal-commits] JBoss Portal SVN: r12252 - branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium.
portal-commits at lists.jboss.org
portal-commits at lists.jboss.org
Thu Nov 6 07:06:20 EST 2008
Author: vrockai
Date: 2008-11-06 07:06:20 -0500 (Thu, 06 Nov 2008)
New Revision: 12252
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/DashboardTestCase.java
Log:
even more debug
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/DashboardTestCase.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/DashboardTestCase.java 2008-11-06 11:49:44 UTC (rev 12251)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/DashboardTestCase.java 2008-11-06 12:06:20 UTC (rev 12252)
@@ -93,15 +93,18 @@
selenium.waitForPageToLoad(PAGE_LOAD);
selenium.click(LNK_CONFIGURE_DASHBOARD);
selenium.waitForPageToLoad(PAGE_LOAD);
-
+ selenium.windowMaximize();
selectIfNotSelected(SEL_PAGE,"DashTestPage");
for (String s: selenium.getSelectOptions(SEL_LAYOUT))
System.out.println("LABEL!:"+s);
+ selenium.captureScreenshot("3x1.jpg");
selenium.select(SEL_LAYOUT, "label=generic");
- selenium.click(SUB_LAYOUTSEL);
+ selenium.captureScreenshot("3x2.jpg");
+ selenium.click(SUB_LAYOUTSEL)
+ selenium.captureScreenshot("3x3.jpg");
selenium.waitForPageToLoad(PAGE_LOAD);
+ selenium.captureScreenshot("3x4.jpg");
- selenium.windowMaximize();
selenium.captureScreenshot("3x.jpg");
selenium.click(LNK_DASHBOARD);
@@ -133,8 +136,9 @@
selenium.captureScreenshot("1x21.jpg");
selectIfNotSelected(SEL_PAGE,"DashTestPage");
selenium.click("link=Who's online portlet");
- selenium.captureScreenshot("1x22.jpg");
-
+ selenium.captureScreenshot("1x221.jpg");
+ selenium.waitForPageToLoad(PAGE_LOAD);
+ selenium.captureScreenshot("1x222.jpg");
waitForElement("portlet-editor-title");
//selenium.waitForPageToLoad(PAGE_LOAD);
selenium.windowMaximize();
More information about the portal-commits
mailing list