Author: mvanco(a)redhat.com
Date: 2010-05-06 03:51:36 -0400 (Thu, 06 May 2010)
New Revision: 2992
Modified:
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_19_EditPortal.html
Log:
EPP5 UI tests: improved test SNF_PRL_19
Modified:
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_19_EditPortal.html
===================================================================
---
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_19_EditPortal.html 2010-05-06
04:47:24 UTC (rev 2991)
+++
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_19_EditPortal.html 2010-05-06
07:51:36 UTC (rev 2992)
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/portal/public/classic/</td>
+ <td>/portal/public/classic</td>
<td></td>
</tr>
<tr>
@@ -22,6 +22,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Sign in</td>
<td></td>
@@ -47,6 +52,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Site</td>
<td></td>
@@ -107,9 +117,14 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Edit Navigation</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Edit Navigation</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -122,6 +137,11 @@
<td>1,1</td>
</tr>
<tr>
+ <td>waitForTextPresent</td>
+ <td>Page Node Setting</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>name</td>
<td></td>
@@ -142,6 +162,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>css=div#UISiteManagement > div.UIPopupWindow div.TabsContainer
div.NormalTab div.MiddleTab</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>css=div#UISiteManagement > div.UIPopupWindow div.TabsContainer
div.NormalTab div.MiddleTab</td>
<td>1,1</td>
@@ -177,21 +202,41 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Save</td>
<td>1,1</td>
</tr>
<tr>
+ <td>waitForTextNotPresent</td>
+ <td>Page Node Setting</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>link=test_node_label_19</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Save</td>
<td></td>
</tr>
<tr>
+ <td>waitForTextNotPresent</td>
+ <td>Navigation Management</td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>--Edit Portal Properties</td>
<td></td>
@@ -199,7 +244,7 @@
<tr>
<td>waitForElementPresent</td>
<td>link=Edit Portal's Properties</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>clickAt</td>
@@ -238,27 +283,32 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Platform</td>
+ <td>//a[@class='NodeIcon GroupAdminIcon' and
@title='Platform']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Platform</td>
+ <td>//a[@class='NodeIcon GroupAdminIcon' and
@title='Platform']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Administrators</td>
+ <td>//a[@class='NodeIcon GroupAdminIcon' and
@title='Administrators']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Administrators</td>
+ <td>//a[@class='NodeIcon GroupAdminIcon' and
@title='Administrators']</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@class='ItemIcon' and @title='*']</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
- <td>//div[@id='PermissionSelector']//div[2]/a</td>
+ <td>//a[@class='ItemIcon' and @title='*']</td>
<td></td>
</tr>
<tr>
@@ -277,6 +327,11 @@
<td></td>
</tr>
<tr>
+ <td>pause</td>
+ <td>3000</td>
+ <td></td>
+</tr>
+<tr>
<td>open</td>
<td>/portal/private/classic/</td>
<td></td>
@@ -333,7 +388,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UINavigationManagement']</td>
+ <td>//a[@title='test_node_label_19']</td>
<td></td>
</tr>
<tr>
@@ -363,7 +418,7 @@
</tr>
<tr>
<td>waitForElementNotPresent</td>
- <td>link=test_node_label_19</td>
+ <td>//a[@title='test_node_label_19']</td>
<td></td>
</tr>
<tr>
@@ -387,11 +442,21 @@
<td></td>
</tr>
<tr>
+ <td>waitForTextNotPresent</td>
+ <td>test_node_label_19</td>
+ <td></td>
+</tr>
+<tr>
<td>verifyTextNotPresent</td>
<td>test_node_label_19</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Sign out</td>
<td></td>
Show replies by date