[gatein-commits] gatein SVN: r6637 - in portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium: candidate and 1 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Jun 10 07:05:41 EDT 2011


Author: arthurpeltier
Date: 2011-06-10 07:05:40 -0400 (Fri, 10 Jun 2011)
New Revision: 6637

Modified:
   portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_05_RecoverUserNameOrPassword.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_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.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_26_03_009_CheckFinishFunctionAfterChangeNodePageContainerLayout.html
   portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_PRL_03_05_012_AddSomeUsersIntoGroupInCaseAfterCommaHasSpace.html
Log:
TESTVN-3439: finished

Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_05_RecoverUserNameOrPassword.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_05_RecoverUserNameOrPassword.html	2011-06-10 10:54:01 UTC (rev 6636)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_05_RecoverUserNameOrPassword.html	2011-06-10 11:05:40 UTC (rev 6637)
@@ -277,16 +277,91 @@
 	<td></td>
 </tr>
 <tr>
+	<td>mouseDown</td>
+	<td>//html/body//span//b[text()='Password and username reminder']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForElementPresent</td>
+	<td>//html/body//a[contains(@href,'RecoveryPasswordAndUsername')]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>storeAttribute</td>
+	<td>//html/body//a[contains(@href,'RecoveryPasswordAndUsername')]@href</td>
+	<td>resetPas</td>
+</tr>
+<tr>
+	<td>waitForElementPresent</td>
+	<td>//a[text()='Sign out']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>//a[text()='Sign out']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>echo</td>
+	<td>-- Change password-- ${resetPas}</td>
+	<td></td>
+</tr>
+<tr>
+	<td>open</td>
+	<td>${resetPas}</td>
+	<td></td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>newpassword</td>
+	<td>exonewpass</td>
+</tr>
+<tr>
+	<td>waitForElementPresent</td>
+	<td>newpassword</td>
+	<td></td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>confirmnewpassword</td>
+	<td>exonewpass</td>
+</tr>
+<tr>
+	<td>waitForElementPresent</td>
+	<td>link=Save</td>
+	<td></td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>link=Save</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForTextPresent</td>
+	<td>The password has been changed.</td>
+	<td></td>
+</tr>
+<tr>
 	<td>verifyTextPresent</td>
-	<td>Password and username reminder</td>
+	<td>The password has been changed.</td>
 	<td></td>
 </tr>
 <tr>
-	<td>clickAndWait</td>
-	<td>gb_71</td>
+	<td>waitForElementPresent</td>
+	<td>//div[@id='UIPortalApplication']//div[5]//div[@title='Close Window']</td>
 	<td></td>
 </tr>
 <tr>
+	<td>click</td>
+	<td>//div[@id='UIPortalApplication']//div[5]//div[@title='Close Window']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>echo</td>
+	<td>-- Login by new user after change password--</td>
+	<td></td>
+</tr>
+<tr>
 	<td>open</td>
 	<td>/portal/public/classic/</td>
 	<td></td>
@@ -304,6 +379,51 @@
 <tr>
 	<td>type</td>
 	<td>username</td>
+	<td>Test_SNF_PRL_05</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>password</td>
+	<td>exonewpass</td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForElementPresent</td>
+	<td>link=Test_SNF_PRL_05 Test_SNF_PRL_05</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
+	<td>link=Test_SNF_PRL_05 Test_SNF_PRL_05</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>click</td>
+	<td>link=Sign in</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForElementPresent</td>
+	<td>username</td>
+	<td></td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>username</td>
 	<td>root</td>
 </tr>
 <tr>

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-10 10:54:01 UTC (rev 6636)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_14_01_044_CheckWhenHaveRightToEditPage.html	2011-06-10 11:05:40 UTC (rev 6637)
@@ -478,12 +478,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>

Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html	2011-06-10 10:54:01 UTC (rev 6636)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html	2011-06-10 11:05:40 UTC (rev 6637)
@@ -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[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>
@@ -406,7 +406,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_033_CheckDoNotShowGroupEditorMenu.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_02_033_CheckDoNotShowGroupEditorMenu.html	2011-06-10 10:54:01 UTC (rev 6636)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_02_033_CheckDoNotShowGroupEditorMenu.html	2011-06-10 11:05:40 UTC (rev 6637)
@@ -827,11 +827,6 @@
 	<td></td>
 </tr>
 <tr>
-	<td>waitForConfirmation</td>
-	<td>Do you want to delete this page?</td>
-	<td></td>
-</tr>
-<tr>
 	<td>assertConfirmation</td>
 	<td>Do you want to delete this page?</td>
 	<td></td>

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-10 10:54:01 UTC (rev 6636)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_26_03_009_CheckFinishFunctionAfterChangeNodePageContainerLayout.html	2011-06-10 11:05:40 UTC (rev 6637)
@@ -202,26 +202,31 @@
 	<td>//div[@id='oneRow']/div</td>
 </tr>
 <tr>
+	<td>waitForElementPresent</td>
+	<td>//div[@onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUITabPane(this, 'UIApplicationList', '/portal/private/classic/groupnavigation?portal:componentId=UIPortalComposerTab&amp;portal:action=SelectTab');ajaxAsyncGetRequest('/portal/private/classic/groupnavigation?portal:componentId=UIPortalComposerTab&amp;portal:action=SelectTab&amp;objectId=UIApplicationList', true);if(eXo.portal.portalMode) eXo.portal.portalMode -= 2;&quot;]</td>
+	<td></td>
+</tr>
+<tr>
 	<td>click</td>
 	<td>//div[@onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUITabPane(this, 'UIApplicationList', '/portal/private/classic/groupnavigation?portal:componentId=UIPortalComposerTab&amp;portal:action=SelectTab');ajaxAsyncGetRequest('/portal/private/classic/groupnavigation?portal:componentId=UIPortalComposerTab&amp;portal:action=SelectTab&amp;objectId=UIApplicationList', true);if(eXo.portal.portalMode) eXo.portal.portalMode -= 2;&quot;]</td>
 	<td></td>
 </tr>
 <tr>
+	<td>waitForElementPresent</td>
+	<td>link=Administration</td>
+	<td></td>
+</tr>
+<tr>
 	<td>click</td>
 	<td>link=Administration</td>
 	<td></td>
 </tr>
 <tr>
 	<td>waitForElementPresent</td>
-	<td>//div[@id='Administration/OrganizationPortlet']/div/div/img</td>
-	<td>//div[2]/div/div/div/div/div/div/div/div[1]/div/div/div/div[1]/div/div/div[2]/div/div/div/div[1]/div</td>
+	<td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+	<td></td>
 </tr>
 <tr>
-	<td>dragAndDropToObject</td>
-	<td>//div[@id='Administration/OrganizationPortlet']/div/div/img</td>
-	<td>//div[2]/div/div/div/div/div/div/div/div[1]/div/div/div/div[1]/div/div/div[2]/div/div/div/div[1]/div</td>
-</tr>
-<tr>
 	<td>click</td>
 	<td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
 	<td></td>
@@ -257,7 +262,7 @@
 	<td></td>
 </tr>
 <tr>
-	<td>click</td>
+	<td>clickAndWait</td>
 	<td>link=Group</td>
 	<td></td>
 </tr>
@@ -277,7 +282,7 @@
 	<td></td>
 </tr>
 <tr>
-	<td>componentExoContextMenu</td>
+	<td>mouseDownRight</td>
 	<td>//a[@class='NodeIcon DefaultPageIcon' and @title='Test_POR_26_03_009']</td>
 	<td></td>
 </tr>
@@ -307,6 +312,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>

Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_PRL_03_05_012_AddSomeUsersIntoGroupInCaseAfterCommaHasSpace.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_PRL_03_05_012_AddSomeUsersIntoGroupInCaseAfterCommaHasSpace.html	2011-06-10 10:54:01 UTC (rev 6636)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_PRL_03_05_012_AddSomeUsersIntoGroupInCaseAfterCommaHasSpace.html	2011-06-10 11:05:40 UTC (rev 6637)
@@ -99,7 +99,7 @@
 <tr>
 	<td>type</td>
 	<td>username</td>
-	<td>root, john,&nbsp;&nbsp;demo</td>
+	<td>root, john, demo</td>
 </tr>
 <tr>
 	<td>echo</td>
@@ -122,7 +122,7 @@
 	<td></td>
 </tr>
 <tr>
-	<td>click</td>
+	<td>clickAt</td>
 	<td>link=Save</td>
 	<td></td>
 </tr>
@@ -231,7 +231,6 @@
 	<td>link=Sign out</td>
 	<td></td>
 </tr>
-
 </tbody></table>
 </body>
 </html>



More information about the gatein-commits mailing list