Author: vrockai
Date: 2008-11-05 06:27:36 -0500 (Wed, 05 Nov 2008)
New Revision: 12246
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/DashboardTestCase.java
Log:
dashboard screen fix - 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-05
10:59:41 UTC (rev 12245)
+++
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/DashboardTestCase.java 2008-11-05
11:27:36 UTC (rev 12246)
@@ -85,6 +85,8 @@
selenium.windowMaximize();
selenium.captureScreenshot("2.jpg");
+ for (String s: selenium.getSelectedLabels(SEL_THEME))
+ System.out.println("LABEL!:"+s);
Assert.assertEquals(selenium.getSelectedLabel(SEL_THEME), "renaissance",
"Previously selected theme other then expected.");
}
@@ -96,7 +98,8 @@
selenium.waitForPageToLoad(PAGE_LOAD);
selectIfNotSelected(SEL_PAGE,"DashTestPage");
-
+ for (String s: selenium.getSelectedLabels(SEL_LAYOUT))
+ System.out.println("LABEL!:"+s);
selenium.select(SEL_LAYOUT, "label=generic");
selenium.click(SUB_LAYOUTSEL);
selenium.waitForPageToLoad(PAGE_LOAD);
@@ -116,7 +119,8 @@
selenium.windowMaximize();
selenium.captureScreenshot("3.jpg");
-
+ for (String s: selenium.getSelectedLabels(SEL_LAYOUT))
+ System.out.println("LABEL!:"+s);
Assert.assertEquals(selenium.getSelectedLabel(SEL_LAYOUT), "generic",
"Previously selected layout other then expected.");
}
Show replies by date