Author: arthurpeltier
Date: 2011-06-09 07:31:30 -0400 (Thu, 09 Jun 2011)
New Revision: 6619
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_SNF_PRL_26_ChangeApplicationInPortal.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_38_EditPropertiesForGroup.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/Test_SNF_PRL_48_ChangeContainerWhenEditPagePropertiesOfNode.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_004_CheckFinishFunctionAfterEditContainerOfNodePage.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_01_014_CreateNewAccountWithPasswordAndConfirmPasswordOver30Characters.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_02_03_003_EditLastNameOfUserInCommunityManagement.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-09
10:58:06 UTC (rev 6618)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_01_002_SignInByAdminAccount.html 2011-06-09
11:31:30 UTC (rev 6619)
@@ -34,7 +34,7 @@
<tr>
<td>waitForElementPresent</td>
<td>username</td>
- <td>root</td>
+ <td></td>
</tr>
<tr>
<td>type</td>
@@ -57,6 +57,16 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Logout</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>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_26_ChangeApplicationInPortal.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_26_ChangeApplicationInPortal.html 2011-06-09
10:58:06 UTC (rev 6618)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_26_ChangeApplicationInPortal.html 2011-06-09
11:31:30 UTC (rev 6619)
@@ -57,6 +57,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>
@@ -437,6 +442,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='LAYOUT-BLOCK LAYOUT-PORTLET']</td>
+ <td></td>
+</tr>
+<tr>
<td>mouseOver</td>
<td>//div[@class='LAYOUT-BLOCK LAYOUT-PORTLET']</td>
<td></td>
@@ -467,18 +477,28 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='PortletIcon AcrobatFile']</td>
+ <td></td>
+</tr>
+<tr>
<td>mouseOver</td>
<td>//div[@class='PortletIcon AcrobatFile']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[4]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//div[text()='Test_SNF_PRL_26']/ancestor::div/a[@title='Delete
Portlet']</td>
<td></td>
</tr>
<tr>
+ <td>mouseOver</td>
+ <td>//div[text()='Test_SNF_PRL_26']/ancestor::div/a[@title='Delete
Portlet']</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
- <td>//div[4]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[2]</td>
+ <td>//div[text()='Test_SNF_PRL_26']/ancestor::div/a[@title='Delete
Portlet']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_38_EditPropertiesForGroup.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_38_EditPropertiesForGroup.html 2011-06-09
10:58:06 UTC (rev 6618)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_38_EditPropertiesForGroup.html 2011-06-09
11:31:30 UTC (rev 6619)
@@ -42,6 +42,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>
@@ -52,16 +57,31 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
<td>mouseOver</td>
<td>link=Group</td>
<td></td>
</tr>
<tr>
- <td>verifyElementPositionTop</td>
- <td>link=Organization</td>
- <td>104</td>
+ <td>echo</td>
+ <td>-- Current postion : link=Organization</td>
+ <td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[4]/div/div[1]/a[text()='Organization']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyElementPresent</td>
+ <td>//div[4]/div/div[1]/a[text()='Organization']</td>
+ <td></td>
+</tr>
+<tr>
<td>mouseOver</td>
<td>link=New Staff</td>
<td></td>
@@ -112,11 +132,21 @@
<td></td>
</tr>
<tr>
- <td>verifyElementPositionTop</td>
- <td>link=Organization</td>
- <td>104</td>
+ <td>echo</td>
+ <td>-- New postion : link=Organization</td>
+ <td></td>
</tr>
<tr>
+ <td>verifyElementNotPresent</td>
+ <td>//div[4]/div/div[1]/a[text()='Organization']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyElementPresent</td>
+ <td>//div[2]/div/div[1]/a[text()='Organization']</td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>-- Return to default priority--</td>
<td></td>
@@ -127,6 +157,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Edit Properties</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>link=Edit Properties</td>
<td></td>
@@ -152,21 +187,26 @@
<td></td>
</tr>
<tr>
- <td>verifyElementPositionTop</td>
- <td>link=Organization</td>
- <td>53</td>
+ <td>waitForElementPresent</td>
+ <td>//div[4]/div/div[1]/a[text()='Organization']</td>
+ <td></td>
</tr>
<tr>
- <td>mouseOver</td>
- <td>link=New Staff</td>
+ <td>verifyElementPresent</td>
+ <td>//div[4]/div/div[1]/a[text()='Organization']</td>
<td></td>
</tr>
<tr>
- <td>mouseOver</td>
- <td>link=Users and groups management</td>
+ <td>verifyElementNotPresent</td>
+ <td>//div[2]/div/div[1]/a[text()='Organization']</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>
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-09
10:58:06 UTC (rev 6618)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_45_ManageNodeGroup.html.html 2011-06-09
11:31:30 UTC (rev 6619)
@@ -144,7 +144,7 @@
<tr>
<td>type</td>
<td>searchTerm</td>
- <td>Community Management</td>
+ <td>New Account</td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -217,21 +217,16 @@
<td></td>
</tr>
<tr>
- <td>waitForLocation</td>
- <td>http://localhost:8080/portal/private/classic/Test_SNF_PRL_45</td>
+ <td>echo</td>
+ <td>-- Edit this node--</td>
<td></td>
</tr>
<tr>
- <td>assertLocation</td>
- <td>http://localhost:8080/portal/private/classic/Test_SNF_PRL_45</td>
+ <td>waitForElementPresent</td>
+ <td>link=Group</td>
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>-- Edit this node--</td>
- <td></td>
-</tr>
-<tr>
<td>clickAndWait</td>
<td>link=Group</td>
<td></td>
@@ -253,12 +248,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='Test_SNF_PRL_45']</td>
+ <td>//a[contains(@onmousedown,'Test_SNF_PRL_45')]</td>
<td></td>
</tr>
<tr>
<td>mouseDownRight</td>
- <td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='Test_SNF_PRL_45']</td>
+ <td>//a[contains(@onmousedown,'Test_SNF_PRL_45')]</td>
<td></td>
</tr>
<tr>
@@ -403,12 +398,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='Test_SNF_PRL_45_edit']</td>
+ <td>//a[@title='Test_SNF_PRL_45_edit']</td>
<td></td>
</tr>
<tr>
<td>mouseDownRight</td>
- <td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='Test_SNF_PRL_45_edit']</td>
+ <td>//a[@title='Test_SNF_PRL_45_edit']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_48_ChangeContainerWhenEditPagePropertiesOfNode.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_48_ChangeContainerWhenEditPagePropertiesOfNode.html 2011-06-09
10:58:06 UTC (rev 6618)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_48_ChangeContainerWhenEditPagePropertiesOfNode.html 2011-06-09
11:31:30 UTC (rev 6619)
@@ -129,7 +129,7 @@
<tr>
<td>type</td>
<td>searchTerm</td>
- <td>Community Management</td>
+ <td>New Account</td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -294,7 +294,7 @@
<tr>
<td>verifyElementPresent</td>
<td>//div[@class="PortletIcon PortletIcon"]</td>
- <td>Community Management</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -349,7 +349,7 @@
<tr>
<td>verifyElementPresent</td>
<td>//div[@class="PortletIcon PortletIcon"]</td>
- <td>Container</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -367,12 +367,12 @@
<td></td>
</tr>
<tr>
- <td>mouseOver</td>
+ <td>waitForElementPresent</td>
<td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
+ <td>mouseOver</td>
<td>//div/div/div[2]/div/div/div/div/div/div/a[1]</td>
<td></td>
</tr>
@@ -498,7 +498,7 @@
</tr>
<tr>
<td>assertConfirmation</td>
- <td>Are you sure you want to delete this portlet?</td>
+ <td>Are you sure you want to delete this Container?</td>
<td></td>
</tr>
<tr>
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-09
10:58:06 UTC (rev 6618)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_25_02_033_CheckDoNotShowGroupEditorMenu.html 2011-06-09
11:31:30 UTC (rev 6619)
@@ -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>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_26_03_004_CheckFinishFunctionAfterEditContainerOfNodePage.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_26_03_004_CheckFinishFunctionAfterEditContainerOfNodePage.html 2011-06-09
10:58:06 UTC (rev 6618)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_POR_26_03_004_CheckFinishFunctionAfterEditContainerOfNodePage.html 2011-06-09
11:31:30 UTC (rev 6619)
@@ -52,11 +52,21 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Application Registry</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Application Registry</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>
@@ -182,11 +192,16 @@
<td></td>
</tr>
<tr>
- <td>componentExoContextMenu</td>
+ <td>mouseDownRight</td>
<td>//a[@class='NodeIcon DefaultPageIcon' and
@title='Test_POR_26_03_004']</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Edit Node's Page</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>link=Edit Node's Page</td>
<td></td>
@@ -247,32 +262,17 @@
<td></td>
</tr>
<tr>
- <td>click</td>
- <td>link=Sign out</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
<td>-- Delete this node--</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Administrator</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>link=Administrator</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
<td>link=Group</td>
<td></td>
</tr>
<tr>
- <td>click</td>
+ <td>clickAndWait</td>
<td>link=Group</td>
<td></td>
</tr>
@@ -302,7 +302,7 @@
<td></td>
</tr>
<tr>
- <td>componentExoContextMenu</td>
+ <td>mouseDownRight</td>
<td>//a[@class='NodeIcon DefaultPageIcon' and
@title='Test_POR_26_03_004']</td>
<td></td>
</tr>
@@ -317,16 +317,25 @@
<td></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>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_01_014_CreateNewAccountWithPasswordAndConfirmPasswordOver30Characters.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_01_014_CreateNewAccountWithPasswordAndConfirmPasswordOver30Characters.html 2011-06-09
10:58:06 UTC (rev 6618)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_01_014_CreateNewAccountWithPasswordAndConfirmPasswordOver30Characters.html 2011-06-09
11:31:30 UTC (rev 6619)
@@ -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>
@@ -102,6 +107,11 @@
<td></td>
</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></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></td>
@@ -161,7 +171,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_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-09
10:58:06 UTC (rev 6618)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_PRL_02_03_003_EditLastNameOfUserInCommunityManagement.html 2011-06-09
11:31:30 UTC (rev 6619)
@@ -727,6 +727,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>