Author: arthurpeltier
Date: 2011-06-08 03:17:56 -0400 (Wed, 08 Jun 2011)
New Revision: 6610
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_002_SignInByAdminAccount.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_003_SignInByNormalAccount.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_004_SignInWithBlankUserNameAndPassword.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_005_SignInByUnregisteredUserName.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_008_SignInByClickTheseAcoountOnHomepage.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_06_002_ChangeSkinForUser.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_017_CreatPortal_WithLimitOfAccessUsers.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_45_ManageNodeGroup.html.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_11_002_CheckWhenChangeToPortalThatIsNotPublic.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_14_01_044_CheckWhenHaveRightToEditPage.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_14_04_006_CutPasteSystemNode.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_19_012_CompleteStep1InCreatePageAtTheSameLevelWithSameNodeNameButDifferentByLowerUpperCase.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_19_046_CreatePagesAtTheSameLevelWithSameNodeName.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_19_047_CreateANewPageWithNodeNameIsTheSameWithExistingNodeNameAtTheSameLevel.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_20_026_CreateSameNamePortalPagesInDifferentPortals.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_21_002_EditPageWhenUserHasRightToAccessButCanNotEditPage.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_22_022_CheckChangesAfterEditPagePropertiesWithFinish.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_24_01_003_CheckNavigationListByUserWhoHasRightToEditCurrentPortalButIsNotManagerOfAnyGroup.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_02_010_AddNewNodeWithNameIsTheSameWithExistingOneInTheSameLevelIn1Navigation.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_02_033_CheckDoNotShowGroupEditorMenu.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_06_001_DeleteNodeWithDeletingConfirmation.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_26_03_009_CheckFinishFunctionAfterChangeNodePageContainerLayout.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_02_01_002_CheckUpdatingUsersListAfterRegisterNewOne.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_02_03_003_EditLastNameOfUserInCommunityManagement.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_05_01_008_AddCategoryWithNameTheSameWithExistingButDifferentByUpperLowerCase.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_05_06_004_LimitAccessRightInNonPublicCategoryGroupMembershipCategoryAreDifferent.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_09_001_CheckSiteMapPortlet.html
Log:
TESTVN-3439:
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_002_SignInByAdminAccount.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_002_SignInByAdminAccount.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_002_SignInByAdminAccount.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -34,7 +34,7 @@
<tr>
<td>waitForElementPresent</td>
<td>username</td>
- <td></td>
+ <td>root</td>
</tr>
<tr>
<td>type</td>
@@ -48,30 +48,15 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Verify Root Accout</td>
+ <td>verifyTextPresent</td>
+ <td>Root Root</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>link=Root Root</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementPresent</td>
- <td>link=Root Root</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Sign out</td>
- <td></td>
-</tr>
-<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_003_SignInByNormalAccount.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_003_SignInByNormalAccount.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_003_SignInByNormalAccount.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -48,25 +48,15 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
+ <td>verifyText</td>
<td>link=Demo gtn</td>
- <td></td>
+ <td>Demo gtn</td>
</tr>
<tr>
- <td>verifyElementPresent</td>
- <td>link=Demo gtn</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Sign out</td>
- <td></td>
-</tr>
-<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
@@ -103,29 +93,20 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
+ <td>verifyText</td>
<td>link=Mary Kelly</td>
- <td></td>
+ <td>Mary Kelly</td>
</tr>
<tr>
- <td>verifyElementPresent</td>
- <td>link=Mary Kelly</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Sign out</td>
- <td></td>
-</tr>
-<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
+
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_004_SignInWithBlankUserNameAndPassword.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_004_SignInWithBlankUserNameAndPassword.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_004_SignInWithBlankUserNameAndPassword.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -34,7 +34,7 @@
<tr>
<td>waitForElementPresent</td>
<td>username</td>
- <td></td>
+ <td>root</td>
</tr>
<tr>
<td>type</td>
@@ -43,63 +43,38 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/</td>
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Sign in with blank password</td>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>Sign in failed. Wrong username or password.</td>
+ <td>echo</td>
+ <td>--Sign in with blank username</td>
<td></td>
</tr>
<tr>
- <td>verifyTextPresent</td>
- <td>Sign in failed. Wrong username or password.</td>
- <td></td>
-</tr>
-<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
- <td></td>
-</tr>
-<tr>
<td>click</td>
<td>link=Sign in</td>
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Sign in with blank username</td>
- <td></td>
-</tr>
-<tr>
<td>type</td>
<td>password</td>
<td>gtn</td>
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/</td>
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>Sign in failed. Wrong username or password.</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>Sign in failed. Wrong username or password.</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>username</td>
- <td></td>
+ <td>root</td>
</tr>
<tr>
<td>type</td>
@@ -113,31 +88,16 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
+ <td>//div[@id='UIPortalLoginFormAction']/table/tbody/tr/td/div/div/div//a</td>
<td></td>
</tr>
<tr>
- <td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
+ <td>click</td>
+ <td>//div[@id='UIPortalLoginFormAction']/table/tbody/tr/td/div/div/div//a</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Root Root</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementPresent</td>
- <td>link=Root Root</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>-- Sign out</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
<td>link=Sign out</td>
<td></td>
</tr>
@@ -146,6 +106,7 @@
<td>link=Sign out</td>
<td></td>
</tr>
+
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_005_SignInByUnregisteredUserName.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_005_SignInByUnregisteredUserName.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_005_SignInByUnregisteredUserName.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -34,7 +34,7 @@
<tr>
<td>type</td>
<td>username</td>
- <td></td>
+ <td>POR_01_005</td>
</tr>
<tr>
<td>type</td>
@@ -43,7 +43,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/</td>
<td></td>
</tr>
<tr>
@@ -88,21 +88,6 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Root Root</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementPresent</td>
- <td>link=Root Root</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>-- Sign out</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
<td>link=Sign out</td>
<td></td>
</tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_008_SignInByClickTheseAcoountOnHomepage.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_008_SignInByClickTheseAcoountOnHomepage.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_008_SignInByClickTheseAcoountOnHomepage.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -27,11 +27,6 @@
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Login Root</td>
- <td></td>
-</tr>
-<tr>
<td>clickAndWait</td>
<td>link=Administrator</td>
<td></td>
@@ -52,11 +47,6 @@
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Login Manager</td>
- <td></td>
-</tr>
-<tr>
<td>clickAndWait</td>
<td>link=Manager</td>
<td></td>
@@ -77,11 +67,6 @@
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Login User</td>
- <td></td>
-</tr>
-<tr>
<td>clickAndWait</td>
<td>link=User</td>
<td></td>
@@ -102,11 +87,6 @@
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Login Demo</td>
- <td></td>
-</tr>
-<tr>
<td>click</td>
<td>link=Demo</td>
<td></td>
@@ -122,11 +102,6 @@
<td>Demo gtn</td>
</tr>
<tr>
- <td>echo</td>
- <td>--Sign out</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>link=Sign out</td>
<td></td>
@@ -136,6 +111,7 @@
<td>link=Sign out</td>
<td></td>
</tr>
+
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_06_002_ChangeSkinForUser.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_06_002_ChangeSkinForUser.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_06_002_ChangeSkinForUser.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -43,26 +43,11 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
<td>echo</td>
- <td>-- verify skin before change it</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='UIPortalApplication' and
@class='Default']</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementPresent</td>
- <td>//div[@id='UIPortalApplication' and
@class='Default']</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
<td>-- Change to Simple skin--</td>
<td></td>
</tr>
@@ -78,72 +63,42 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[text()='SimpleSkin']</td>
+ <td>//div[@id='UITabContent']/div/div/div[1]/div[2]/div[2]/div/div/div</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[text()='SimpleSkin']</td>
+ <td>//div[@id='UITabContent']/div/div/div[1]/div[2]/div[2]/div/div/div</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>link=Apply</td>
- <td></td>
-</tr>
-<tr>
<td>clickAndWait</td>
<td>link=Apply</td>
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Verify Change skin</td>
+ <td>waitForText</td>
+ <td>//div[@id='UIBreadcumbsPortlet']/div[1]/div/div/div/div[1]</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='UIPortalApplication' and
@class='SimpleSkin']</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementPresent</td>
- <td>//div[@id='UIPortalApplication' and
@class='SimpleSkin']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementNotPresent</td>
- <td>//div[@id='UIPortalApplication' and
@class='Default']</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementNotPresent</td>
- <td>//div[@id='UIPortalApplication' and
@class='Default']</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Sign out</td>
- <td></td>
-</tr>
-<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>-- Check displaying skin when sign out--</td>
+ <td>verifyTitle</td>
+ <td>Home Page</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='UIPortalApplication' and
@class='Default']</td>
+ <td>echo</td>
+ <td>-- Check displaying skin when sign out-- </td>
<td></td>
</tr>
<tr>
- <td>verifyElementPresent</td>
- <td>//div[@id='UIPortalApplication' and
@class='Default']</td>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
<td></td>
</tr>
<tr>
@@ -173,7 +128,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
@@ -182,26 +137,11 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='UIPortalApplication' and
@class='SimpleSkin']</td>
+ <td>verifyTitle</td>
+ <td>Home Page</td>
<td></td>
</tr>
<tr>
- <td>verifyElementPresent</td>
- <td>//div[@id='UIPortalApplication' and
@class='SimpleSkin']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementNotPresent</td>
- <td>//div[@id='UIPortalApplication' and
@class='Default']</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementNotPresent</td>
- <td>//div[@id='UIPortalApplication' and
@class='Default']</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
<td>-- Return to Default skin --</td>
<td></td>
@@ -218,12 +158,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[text()='Default Style Skin']</td>
+ <td>//div[@id='UITabContent']/div/div/div[1]/div[2]/div[1]/div/div/div</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[text()='Default Style Skin']</td>
+ <td>//div[@id='UITabContent']/div/div/div[1]/div[2]/div[1]/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -232,30 +172,16 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='UIPortalApplication' and
@class='Default']</td>
- <td></td>
+ <td>waitForText</td>
+ <td>//div[@id='UIBreadcumbsPortlet']/div[1]/div/div/div/a</td>
+ <td>Home</td>
</tr>
<tr>
- <td>verifyElementPresent</td>
- <td>//div[@id='UIPortalApplication' and
@class='Default']</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Login</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Sign out</td>
- <td></td>
-</tr>
-<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
+
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_017_CreatPortal_WithLimitOfAccessUsers.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_017_CreatPortal_WithLimitOfAccessUsers.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_017_CreatPortal_WithLimitOfAccessUsers.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -242,6 +242,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
@@ -386,7 +391,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_45_ManageNodeGroup.html.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_45_ManageNodeGroup.html.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_45_ManageNodeGroup.html.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -217,6 +217,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForLocation</td>
+ <td>http://localhost:8080/portal/private/classic/Test_SNF_PRL_45</td>
+ <td></td>
+</tr>
+<tr>
<td>assertLocation</td>
<td>http://localhost:8080/portal/private/classic/Test_SNF_PRL_45</td>
<td></td>
@@ -243,21 +248,11 @@
</tr>
<tr>
<td>pause</td>
- <td>20000</td>
+ <td>5000</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[2]/div/div/div[3]/div/a</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>//div[2]/div/div/div[3]/div/a</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='Test_SNF_PRL_45']</td>
<td></td>
</tr>
@@ -408,16 +403,6 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div/a</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div/a</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='Test_SNF_PRL_45_edit']</td>
<td></td>
</tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_11_002_CheckWhenChangeToPortalThatIsNotPublic.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_11_002_CheckWhenChangeToPortalThatIsNotPublic.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_11_002_CheckWhenChangeToPortalThatIsNotPublic.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -48,10 +48,15 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Site</td>
<td></td>
@@ -83,12 +88,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[2]/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='Properties']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[2]/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='Properties']</td>
<td></td>
</tr>
<tr>
@@ -98,12 +103,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[text()='Permission Setting']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[text()='Permission Setting']</td>
<td></td>
</tr>
<tr>
@@ -188,32 +193,32 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='PermissionSelector']/div/div[2]/div/div[2]/div/div/div[5]/div[2]/div[1]/div/a</td>
+ <td>//div[@id='PermissionSelector']//a[text()='Administrators']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='PermissionSelector']/div/div[2]/div/div[2]/div/div/div[5]/div[2]/div[1]/div/a</td>
+ <td>//div[@id='PermissionSelector']//a[text()='Administrators']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='PermissionSelector']/div/div[3]/div/div[2]/div[4]/a</td>
+ <td>//div[@id='PermissionSelector']//a[@title='validator']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='PermissionSelector']/div/div[3]/div/div[2]/div[4]/a</td>
+ <td>//div[@id='PermissionSelector']//a[@title='validator']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Save</td>
+ <td>//form[@id='UIPortalForm']/div[3]/div[2]/table/tbody/tr/td/div[1]/div/div/div/a</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Save</td>
+ <td>//form[@id='UIPortalForm']/div[3]/div[2]/table/tbody/tr/td/div[1]/div/div/div/a</td>
<td></td>
</tr>
<tr>
@@ -316,7 +321,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_14_01_044_CheckWhenHaveRightToEditPage.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_14_01_044_CheckWhenHaveRightToEditPage.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_14_01_044_CheckWhenHaveRightToEditPage.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -48,7 +48,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
@@ -57,6 +57,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=New Staff</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=New Staff</td>
<td></td>
@@ -103,12 +108,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIAccountPortlet']//div[text()='User
Profile']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIAccountPortlet']//div[text()='User
Profile']</td>
<td></td>
</tr>
<tr>
@@ -152,6 +157,21 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UIAccountPortlet']//div[text()='User
Profile']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//div[@id='UIAccountPortlet']//div[text()='User
Profile']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Users and groups management</td>
<td></td>
@@ -567,11 +587,6 @@
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>link=Sign in</td>
<td></td>
@@ -612,6 +627,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Site Editor</td>
+ <td></td>
+</tr>
+<tr>
<td>mouseOver</td>
<td>link=Site Editor</td>
<td></td>
@@ -647,11 +667,6 @@
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>link=Sign in</td>
<td></td>
@@ -677,6 +692,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Site</td>
<td></td>
@@ -876,7 +896,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_14_04_006_CutPasteSystemNode.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_14_04_006_CutPasteSystemNode.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_14_04_006_CutPasteSystemNode.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -47,8 +47,8 @@
<td>gtn</td>
</tr>
<tr>
- <td>clickAt</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>clickAndWait</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
@@ -62,7 +62,7 @@
<td></td>
</tr>
<tr>
- <td>click</td>
+ <td>clickAndWait</td>
<td>link=Site</td>
<td></td>
</tr>
@@ -82,6 +82,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@title='Register']</td>
+ <td></td>
+</tr>
+<tr>
<td>mouseDownRight</td>
<td>//a[@title='Register']</td>
<td></td>
@@ -92,7 +97,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Cut Node</td>
<td></td>
</tr>
@@ -142,11 +147,10 @@
<td></td>
</tr>
<tr>
- <td>click</td>
+ <td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_19_012_CompleteStep1InCreatePageAtTheSameLevelWithSameNodeNameButDifferentByLowerUpperCase.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_19_012_CompleteStep1InCreatePageAtTheSameLevelWithSameNodeNameButDifferentByLowerUpperCase.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_19_012_CompleteStep1InCreatePageAtTheSameLevelWithSameNodeNameButDifferentByLowerUpperCase.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -48,7 +48,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
@@ -242,6 +242,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='Test_por_19_012']</td>
+ <td></td>
+</tr>
+<tr>
<td>mouseDownRight</td>
<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='Test_por_19_012']</td>
<td></td>
@@ -316,7 +321,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_19_046_CreatePagesAtTheSameLevelWithSameNodeName.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_19_046_CreatePagesAtTheSameLevelWithSameNodeName.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_19_046_CreatePagesAtTheSameLevelWithSameNodeName.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -48,7 +48,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
@@ -291,7 +291,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_19_047_CreateANewPageWithNodeNameIsTheSameWithExistingNodeNameAtTheSameLevel.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_19_047_CreateANewPageWithNodeNameIsTheSameWithExistingNodeNameAtTheSameLevel.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_19_047_CreateANewPageWithNodeNameIsTheSameWithExistingNodeNameAtTheSameLevel.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -48,7 +48,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
@@ -321,7 +321,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_20_026_CreateSameNamePortalPagesInDifferentPortals.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_20_026_CreateSameNamePortalPagesInDifferentPortals.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_20_026_CreateSameNamePortalPagesInDifferentPortals.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -48,7 +48,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
@@ -73,12 +73,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td>xpath=//div[@id='UIPageBrowser']//a[text()='Add New
Page']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td>xpath=//div[@id='UIPageBrowser']//a[text()='Add New
Page']</td>
<td></td>
</tr>
<tr>
@@ -98,7 +98,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//option[@value='portal']</td>
+ <td>name</td>
<td></td>
</tr>
<tr>
@@ -118,12 +118,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()='Page
Layout']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()='Page
Layout']</td>
<td></td>
</tr>
<tr>
@@ -133,12 +133,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()='Permission
Setting']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()='Permission
Setting']</td>
<td></td>
</tr>
<tr>
@@ -228,12 +228,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[1]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()='Portal
Templates']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[1]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()='Portal
Templates']</td>
<td></td>
</tr>
<tr>
@@ -243,12 +243,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()='Properties']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()='Properties']</td>
<td></td>
</tr>
<tr>
@@ -258,12 +258,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[4]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()='Permission
Setting']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[4]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()='Permission
Setting']</td>
<td></td>
</tr>
<tr>
@@ -332,11 +332,6 @@
<td></td>
</tr>
<tr>
- <td>waitForText</td>
- <td>//div[@id='UIPermissionSelector']/div/div[2]/div[1]/div[3]/div[2]</td>
- <td>exact:*</td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>link=Save</td>
<td></td>
@@ -383,7 +378,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//a[text()='Page Management' and contains(@href,
'Test_POR_20_026')]</td>
+ <td>link=Page Management</td>
<td></td>
</tr>
<tr>
@@ -398,12 +393,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td>xpath=//div[@id='UIPageBrowser']//a[text()='Add New
Page']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td>xpath=//div[@id='UIPageBrowser']//a[text()='Add New
Page']</td>
<td></td>
</tr>
<tr>
@@ -423,7 +418,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//option[@value='portal']</td>
+ <td>name</td>
<td></td>
</tr>
<tr>
@@ -443,12 +438,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()='Page
Layout']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()='Page
Layout']</td>
<td></td>
</tr>
<tr>
@@ -458,12 +453,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()='Permission
Setting']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[@id='UIMaskWorkspace']//div[text()='Permission
Setting']</td>
<td></td>
</tr>
<tr>
@@ -528,12 +523,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
@@ -602,17 +597,12 @@
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/private/classic/</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>link=Site</td>
<td></td>
</tr>
<tr>
- <td>click</td>
+ <td>clickAndWait</td>
<td>link=Site</td>
<td></td>
</tr>
@@ -651,17 +641,6 @@
<td>Test_POR_20_026</td>
<td></td>
</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Sign out</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>link=Sign out</td>
- <td></td>
-</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_21_002_EditPageWhenUserHasRightToAccessButCanNotEditPage.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_21_002_EditPageWhenUserHasRightToAccessButCanNotEditPage.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_21_002_EditPageWhenUserHasRightToAccessButCanNotEditPage.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -48,7 +48,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
@@ -57,6 +57,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=New Staff</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=New Staff</td>
<td></td>
@@ -103,12 +108,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIAccountPortlet']//div[text()='User
Profile']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIAccountPortlet']//div[text()='User
Profile']</td>
<td></td>
</tr>
<tr>
@@ -123,12 +128,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UIAccountForm']/div[3]/div[2]/table/tbody/tr/td/div[1]/div/div/div</td>
+ <td>link=Save</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UIAccountForm']/div[3]/div[2]/table/tbody/tr/td/div[1]/div/div/div</td>
+ <td>link=Save</td>
<td></td>
</tr>
<tr>
@@ -157,6 +162,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Users and groups management</td>
<td></td>
@@ -337,11 +347,6 @@
<td></td>
</tr>
<tr>
- <td>waitForText</td>
- <td>//div[@id='UIPermissionSelector']/div/div[2]/div/div[3]/div[2]</td>
- <td>manager</td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>link=Save</td>
<td></td>
@@ -368,6 +373,16 @@
</tr>
<tr>
<td>waitForElementPresent</td>
+ <td>searchOption</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>searchOption</td>
+ <td>label=Title</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>//form[@id='UIPageSearch']/div[2]/a</td>
<td></td>
</tr>
@@ -408,12 +423,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[text()='Permission Setting']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
+ <td>//div[text()='Permission Setting']</td>
<td></td>
</tr>
<tr>
@@ -497,11 +512,6 @@
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
- <td></td>
-</tr>
-<tr>
<td>click</td>
<td>link=Sign in</td>
<td></td>
@@ -532,7 +542,7 @@
<td></td>
</tr>
<tr>
- <td>click</td>
+ <td>clickAndWait</td>
<td>link=Group</td>
<td></td>
</tr>
@@ -682,33 +692,38 @@
<td></td>
</tr>
<tr>
- <td>mouseOver</td>
- <td>link=Group Editor</td>
+ <td>waitForElementPresent</td>
+ <td>link=Edit Navigation</td>
<td></td>
</tr>
<tr>
- <td>mouseOver</td>
- <td>link=Edit Layout</td>
+ <td>click</td>
+ <td>link=Edit Navigation</td>
<td></td>
</tr>
<tr>
- <td>mouseOver</td>
- <td>link=Add New Page</td>
+ <td>waitForElementPresent</td>
+ <td>//div[contains(@onclick,'objectId=Test_POR_21_002')]</td>
<td></td>
</tr>
<tr>
- <td>verifyElementNotPresent</td>
- <td>link=Edit Page</td>
+ <td>verifyElementPresent</td>
+ <td>//div[contains(@onclick,'objectId=Test_POR_21_002')]</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
+ <td>waitForElementPresent</td>
+ <td>link=Sign in</td>
<td></td>
</tr>
<tr>
@@ -932,11 +947,15 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_22_022_CheckChangesAfterEditPagePropertiesWithFinish.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_22_022_CheckChangesAfterEditPagePropertiesWithFinish.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_22_022_CheckChangesAfterEditPagePropertiesWithFinish.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -52,6 +52,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Page Management</td>
<td></td>
@@ -298,21 +303,6 @@
</tr>
<tr>
<td>echo</td>
- <td>-- Permisison Setting --</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
<td>-- Edit Permission Setting --</td>
<td></td>
</tr>
@@ -466,7 +456,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_24_01_003_CheckNavigationListByUserWhoHasRightToEditCurrentPortalButIsNotManagerOfAnyGroup.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_24_01_003_CheckNavigationListByUserWhoHasRightToEditCurrentPortalButIsNotManagerOfAnyGroup.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_24_01_003_CheckNavigationListByUserWhoHasRightToEditCurrentPortalButIsNotManagerOfAnyGroup.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -48,7 +48,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
@@ -57,6 +57,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=New Staff</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=New Staff</td>
<td></td>
@@ -103,12 +108,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='User Profile']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[text()='User Profile']</td>
<td></td>
</tr>
<tr>
@@ -157,28 +162,33 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Users and groups management</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]/div[1]</td>
+ <td>//div[@id='UIOrganizationPortlet']//div[text()='Group
Management']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]/div[1]</td>
+ <td>//div[@id='UIOrganizationPortlet']//div[text()='Group
Management']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[3]/div/a</td>
+ <td>//div[@id='UIOrganizationPortlet']//a[@title='Organization']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[3]/div/a</td>
+ <td>//div[@id='UIOrganizationPortlet']//a[@title='Organization']</td>
<td></td>
</tr>
<tr>
@@ -218,12 +228,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[1]/a</td>
+ <td>//a[@title='Up Level']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[1]/a</td>
+ <td>//a[@title='Up Level']</td>
<td></td>
</tr>
<tr>
@@ -267,13 +277,13 @@
<td></td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>waitForElementPresent</td>
<td>link=Sign out</td>
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
+ <td>clickAndWait</td>
+ <td>link=Sign out</td>
<td></td>
</tr>
<tr>
@@ -303,7 +313,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
@@ -312,6 +322,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Group</td>
<td></td>
@@ -443,7 +458,7 @@
</tr>
<tr>
<td>assertConfirmation</td>
- <td>Are you sure you want to delete Test_POR_24_01_002 user?</td>
+ <td>Are you sure you want to delete Test_POR_24_01_003 user?</td>
<td></td>
</tr>
<tr>
@@ -456,7 +471,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_02_010_AddNewNodeWithNameIsTheSameWithExistingOneInTheSameLevelIn1Navigation.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_02_010_AddNewNodeWithNameIsTheSameWithExistingOneInTheSameLevelIn1Navigation.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_02_010_AddNewNodeWithNameIsTheSameWithExistingOneInTheSameLevelIn1Navigation.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -412,11 +412,15 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_02_033_CheckDoNotShowGroupEditorMenu.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_02_033_CheckDoNotShowGroupEditorMenu.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_02_033_CheckDoNotShowGroupEditorMenu.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -512,13 +512,13 @@
<td></td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>waitForElementPresent</td>
<td>link=Sign out</td>
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
+ <td>clickAndWait</td>
+ <td>link=Sign out</td>
<td></td>
</tr>
<tr>
@@ -527,6 +527,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>link=Sign in</td>
<td></td>
@@ -577,13 +582,18 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
+ <td>waitForElementPresent</td>
+ <td>link=Sign in</td>
<td></td>
</tr>
<tr>
@@ -687,7 +697,7 @@
<td></td>
</tr>
<tr>
- <td>click</td>
+ <td>clickAndWait</td>
<td>link=Group</td>
<td></td>
</tr>
@@ -787,11 +797,6 @@
<td>Test_POR_25_02_033</td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>searchOption</td>
- <td></td>
-</tr>
-<tr>
<td>select</td>
<td>searchOption</td>
<td>label=Title</td>
@@ -817,21 +822,16 @@
<td></td>
</tr>
<tr>
- <td>assertConfirmation</td>
+ <td>waitForConfirmation</td>
<td>Do you want to delete this page?</td>
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>No result found.</td>
+ <td>assertConfirmation</td>
+ <td>Do you want to delete this page?</td>
<td></td>
</tr>
<tr>
- <td>verifyTextPresent</td>
- <td>No result found.</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>//div[5]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a</td>
<td></td>
@@ -851,7 +851,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_06_001_DeleteNodeWithDeletingConfirmation.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_06_001_DeleteNodeWithDeletingConfirmation.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_06_001_DeleteNodeWithDeletingConfirmation.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -112,6 +112,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>css=div#UIGroupNavigationManagement div.UIPopupWindow div.TabsContainer
div.NormalTab div.MiddleTab</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>css=div#UIGroupNavigationManagement div.UIPopupWindow div.TabsContainer
div.NormalTab div.MiddleTab</td>
<td></td>
@@ -221,7 +226,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_26_03_009_CheckFinishFunctionAfterChangeNodePageContainerLayout.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_26_03_009_CheckFinishFunctionAfterChangeNodePageContainerLayout.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_26_03_009_CheckFinishFunctionAfterChangeNodePageContainerLayout.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -43,15 +43,25 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=New Staff</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=New Staff</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Add New Page</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>link=Add New Page</td>
<td></td>
@@ -109,7 +119,7 @@
<tr>
<td>waitForElementPresent</td>
<td>//div[@id='Gadgets/Calculator']/div/div/img</td>
- <td>//div[2]/div/div/div[1]/div/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div[1]/div</td>
+ <td></td>
</tr>
<tr>
<td>dragAndDropToObject</td>
@@ -122,16 +132,26 @@
<td>//div[2]/div/div/div/div/div/div/div[2]/div/div/div/div[1]/div</td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[(a)onclick='eXo.core.DOMUtil.disableOnClick(this);']</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>//a[(a)onclick='eXo.core.DOMUtil.disableOnClick(this);']</td>
<td></td>
</tr>
<tr>
- <td>click</td>
+ <td>waitForElementPresent</td>
<td>link=Group</td>
<td></td>
</tr>
<tr>
+ <td>clickAndWait</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>link=Edit Navigation</td>
<td></td>
@@ -291,7 +311,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_02_01_002_CheckUpdatingUsersListAfterRegisterNewOne.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_02_01_002_CheckUpdatingUsersListAfterRegisterNewOne.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_02_01_002_CheckUpdatingUsersListAfterRegisterNewOne.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -48,7 +48,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
@@ -57,6 +57,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=New Staff</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=New Staff</td>
<td></td>
@@ -152,6 +157,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
@@ -162,11 +172,6 @@
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>link=Sign in</td>
<td></td>
@@ -193,7 +198,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
@@ -212,11 +217,6 @@
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
<td>-- Check existing registered users list--</td>
<td></td>
@@ -248,7 +248,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
@@ -267,16 +267,6 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='UIListUsersGird']/table/tbody/tr[1]/td[1]/div</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyText</td>
- <td>//div[@id='UIListUsersGird']/table/tbody/tr[1]/td[1]/div</td>
- <td>Test_PRL_02_01_002</td>
-</tr>
-<tr>
<td>echo</td>
<td>-- Search new user in list --</td>
<td></td>
@@ -322,11 +312,15 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_02_03_003_EditLastNameOfUserInCommunityManagement.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_02_03_003_EditLastNameOfUserInCommunityManagement.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_02_03_003_EditLastNameOfUserInCommunityManagement.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -48,7 +48,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
@@ -103,12 +103,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIAccountPortlet']//div[text()='User
Profile']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
+ <td>//div[@id='UIAccountPortlet']//div[text()='User
Profile']</td>
<td></td>
</tr>
<tr>
@@ -168,12 +168,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UISearchForm']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UISearchForm']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
@@ -262,14 +262,14 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[3]/div/div/div/div/div[2]</td>
+ <td>waitForTextPresent</td>
+ <td>The user profile has been updated.</td>
<td></td>
</tr>
<tr>
- <td>verifyText</td>
- <td>//div[3]/div/div/div/div/div[2]</td>
+ <td>verifyTextPresent</td>
<td>The user profile has been updated.</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -288,12 +288,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UISearchForm']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UISearchForm']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
@@ -332,14 +332,14 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[3]/div/div/div/div/div[2]</td>
+ <td>waitForTextPresent</td>
+ <td>The user profile has been updated.</td>
<td></td>
</tr>
<tr>
- <td>verifyText</td>
- <td>//div[3]/div/div/div/div/div[2]</td>
+ <td>verifyTextPresent</td>
<td>The user profile has been updated.</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -368,12 +368,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UISearchForm']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UISearchForm']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
@@ -412,14 +412,14 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[3]/div/div/div/div/div[2]</td>
+ <td>waitForTextPresent</td>
+ <td>The user profile has been updated.</td>
<td></td>
</tr>
<tr>
- <td>verifyText</td>
- <td>//div[3]/div/div/div/div/div[2]</td>
+ <td>verifyTextPresent</td>
<td>The user profile has been updated.</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -438,12 +438,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UISearchForm']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UISearchForm']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
@@ -482,14 +482,14 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[2]/div[2]/div/div/div/div/div[2]</td>
+ <td>waitForTextPresent</td>
+ <td>The length of the text in field "Last Name:" must be between
"1" and "45" characters.</td>
<td></td>
</tr>
<tr>
- <td>verifyText</td>
- <td>//div[2]/div[2]/div/div/div/div/div[2]</td>
+ <td>verifyTextPresent</td>
<td>The length of the text in field "Last Name:" must be between
"1" and "45" characters.</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -527,14 +527,14 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[3]/div/div/div/div/div[2]</td>
+ <td>waitForTextPresent</td>
+ <td>The user profile has been updated.</td>
<td></td>
</tr>
<tr>
- <td>verifyText</td>
- <td>//div[3]/div/div/div/div/div[2]</td>
+ <td>verifyTextPresent</td>
<td>The user profile has been updated.</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -553,12 +553,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UISearchForm']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UISearchForm']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
@@ -597,14 +597,14 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[3]/div/div/div/div/div[2]</td>
+ <td>waitForTextPresent</td>
+ <td>The user profile has been updated.</td>
<td></td>
</tr>
<tr>
- <td>verifyText</td>
- <td>//div[3]/div/div/div/div/div[2]</td>
+ <td>verifyTextPresent</td>
<td>The user profile has been updated.</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -623,12 +623,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UISearchForm']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UISearchForm']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
@@ -667,14 +667,14 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[3]/div/div/div/div/div[2]</td>
+ <td>waitForTextPresent</td>
+ <td>The user profile has been updated.</td>
<td></td>
</tr>
<tr>
- <td>verifyText</td>
- <td>//div[3]/div/div/div/div/div[2]</td>
+ <td>verifyTextPresent</td>
<td>The user profile has been updated.</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -703,12 +703,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//form[@id='UISearchForm']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//form[@id='UISearchForm']/div[2]/a</td>
+ <td>//a[@title='Quick Search']</td>
<td></td>
</tr>
<tr>
@@ -731,7 +731,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_05_01_008_AddCategoryWithNameTheSameWithExistingButDifferentByUpperLowerCase.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_05_01_008_AddCategoryWithNameTheSameWithExistingButDifferentByUpperLowerCase.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_05_01_008_AddCategoryWithNameTheSameWithExistingButDifferentByUpperLowerCase.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -367,16 +367,6 @@
<td></td>
</tr>
<tr>
- <td>verifyTextPresent</td>
- <td>Todo</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Todo</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
<td>-- Delete category is lower case--</td>
<td></td>
@@ -437,11 +427,15 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_05_06_004_LimitAccessRightInNonPublicCategoryGroupMembershipCategoryAreDifferent.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_05_06_004_LimitAccessRightInNonPublicCategoryGroupMembershipCategoryAreDifferent.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_05_06_004_LimitAccessRightInNonPublicCategoryGroupMembershipCategoryAreDifferent.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -222,6 +222,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
@@ -232,6 +237,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>link=Sign in</td>
<td></td>
@@ -342,6 +352,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
@@ -352,11 +367,6 @@
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
- <td></td>
-</tr>
-<tr>
<td>click</td>
<td>link=Sign in</td>
<td></td>
@@ -532,11 +542,6 @@
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
- <td></td>
-</tr>
-<tr>
<td>click</td>
<td>link=Sign in</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_09_001_CheckSiteMapPortlet.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_09_001_CheckSiteMapPortlet.html 2011-06-07
15:21:41 UTC (rev 6609)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_09_001_CheckSiteMapPortlet.html 2011-06-08
07:17:56 UTC (rev 6610)
@@ -48,35 +48,49 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>//div[@id='UIPortalLoginFormAction']//a[text()='Sign
in']</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=SiteMap</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=SiteMap</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UISiteMap']//a[text()='Administration']</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
- <td>//div[@id='UISiteMap']/div[2]/div/div[3]/div[1]/a</td>
+ <td>//div[@id='UISiteMap']//a[text()='Administration']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UISiteMap']/div[2]/div/div[3]/div[2]/div[1]/div/div/a</td>
+ <td>//div[@id='UISiteMap']//a[text()='Application
Registry']</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
- <td>//div[@id='UISiteMap']/div[2]/div/div[3]/div[2]/div[1]/div/div/a</td>
+ <td>//div[@id='UISiteMap']//a[text()='Application
Registry']</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>