[gatein-commits] gatein SVN: r1965 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Mar 4 04:23:56 EST 2010
Author: arthurpeltier
Date: 2010-03-04 04:23:56 -0500 (Thu, 04 Mar 2010)
New Revision: 1965
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/POR_20_013.html
Log:
REL-433 : Make POR_20_013 Test case comply with Best practices
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/POR_20_013.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/POR_20_013.html 2010-03-04 08:49:53 UTC (rev 1964)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/POR_20_013.html 2010-03-04 09:23:56 UTC (rev 1965)
@@ -102,6 +102,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Add new page with same name</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
<td></td>
@@ -137,13 +142,23 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Verify Error message</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>This page name already exists. </td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UIPortalApplication']//div[@class='ExoMessageDecorator']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[3]//a[@href='javascript:void(0);']</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[@id='UIPortalApplication']//div[@class='ExoMessageDecorator']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[3]//a[@href='javascript:void(0);']</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
<td></td>
</tr>
<tr>
@@ -203,12 +218,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UIPortalApplication']//div[@class='ExoMessageDecorator']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[3]//a[@href='javascript:void(0);']</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[@id='UIPortalApplication']//div[@class='ExoMessageDecorator']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[3]//a[@href='javascript:void(0);']</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
<td></td>
</tr>
<tr>
More information about the gatein-commits
mailing list