Author: thomas.heute(a)jboss.com
Date: 2009-12-21 02:22:02 -0500 (Mon, 21 Dec 2009)
New Revision: 13889
Modified:
tags/Enterprise_Portal_Platform_4_3_GA_CP03/testsuite/ui-tests/src/org/jboss/portal/test/selenium/DashboardTestCase.java
tags/Enterprise_Portal_Platform_4_3_GA_CP03/testsuite/ui-tests/src/org/jboss/portal/test/selenium/locator.properties
Log:
Testcase fix
Modified:
tags/Enterprise_Portal_Platform_4_3_GA_CP03/testsuite/ui-tests/src/org/jboss/portal/test/selenium/DashboardTestCase.java
===================================================================
---
tags/Enterprise_Portal_Platform_4_3_GA_CP03/testsuite/ui-tests/src/org/jboss/portal/test/selenium/DashboardTestCase.java 2009-12-16
17:10:31 UTC (rev 13888)
+++
tags/Enterprise_Portal_Platform_4_3_GA_CP03/testsuite/ui-tests/src/org/jboss/portal/test/selenium/DashboardTestCase.java 2009-12-21
07:22:02 UTC (rev 13889)
@@ -55,7 +55,9 @@
"//body/div[2]/div/div/div[2]/div/div/div/div/div/div/table/tbody/tr/td[2]/div/div/div[2]/span/a");
private final String SUB_LAYOUT_UPDATE = getLoc(casePfx
+ "sub.layout.update",
- "//input[contains(@name,'dashboardLayoutForm:j_id12')]");
+// "//input[contains(@name,'dashboardLayoutForm:j_id12')]");
+ "//input[contains(@name,'dashboardLayoutForm') and
@type='submit']");
+//
private final String SUB_PAGE_RENAME = getLoc(casePfx + "sub.page.rename",
"//form[contains(@id,'renameForm')]/input[@type='submit']");
private final String INP_PAGE_RENAME = getLoc(casePfx + "inp.page.rename",
Modified:
tags/Enterprise_Portal_Platform_4_3_GA_CP03/testsuite/ui-tests/src/org/jboss/portal/test/selenium/locator.properties
===================================================================
---
tags/Enterprise_Portal_Platform_4_3_GA_CP03/testsuite/ui-tests/src/org/jboss/portal/test/selenium/locator.properties 2009-12-16
17:10:31 UTC (rev 13888)
+++
tags/Enterprise_Portal_Platform_4_3_GA_CP03/testsuite/ui-tests/src/org/jboss/portal/test/selenium/locator.properties 2009-12-21
07:22:02 UTC (rev 13889)
@@ -82,7 +82,7 @@
# DashboardTestCase
-dash.sub.layout.update=//input[contains(@name,'dashboardLayoutForm:j_id12')]
+dash.sub.layout.update=//input[contains(@name,'dashboardLayoutForm') and
@type='submit' and @value='Select']
dash.sub.page.rename=//form[contains(@id,'renameForm')]/input[@type='submit']
dash.inp.page.rename=//input[contains(@id,'renameForm:newName')]
dash.link.weather.portlet=link=*WeatherPortlet*
Show replies by date