Author: mvanco(a)redhat.com
Date: 2010-04-30 06:12:42 -0400 (Fri, 30 Apr 2010)
New Revision: 2912
Modified:
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_26_MoveUpAndDownANode.html
Log:
EPP5 UI Tests: improved test SNF_PRL_26
Modified:
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_26_MoveUpAndDownANode.html
===================================================================
---
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_26_MoveUpAndDownANode.html 2010-04-30
09:42:15 UTC (rev 2911)
+++
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_26_MoveUpAndDownANode.html 2010-04-30
10:12:42 UTC (rev 2912)
@@ -52,11 +52,21 @@
<td></td>
</tr>
<tr>
+ <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>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Edit Navigation</td>
<td></td>
@@ -122,6 +132,16 @@
<td></td>
</tr>
<tr>
+ <td>waitForTextNotPresent</td>
+ <td>Page Selector</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>
@@ -142,6 +162,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Group</td>
<td></td>
@@ -162,8 +187,13 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@title='test_grp_label_26']</td>
+ <td></td>
+</tr>
+<tr>
<td>verifyElementPresent</td>
- <td>xpath=//a[@title='test_grp_label_26']</td>
+ <td>//a[@title='test_grp_label_26']</td>
<td></td>
</tr>
<tr>
@@ -177,11 +207,6 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>link=test_grp_label_26</td>
- <td></td>
-</tr>
-<tr>
<td>componentExoContextMenu</td>
<td>xpath=//a[@title='test_grp_label_26']</td>
<td></td>
@@ -192,11 +217,6 @@
<td></td>
</tr>
<tr>
- <td>setSpeed</td>
- <td>300</td>
- <td></td>
-</tr>
-<tr>
<td>clickAt</td>
<td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
MoveUp16x16Icon']</td>
<td></td>
@@ -208,7 +228,7 @@
</tr>
<tr>
<td>echo</td>
- <td>Node is at level ${nodeLvl}</td>
+ <td>Node is not at level ${nodeLvl}</td>
<td></td>
</tr>
<tr>
@@ -233,10 +253,20 @@
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>xpath=//a[@title='test_grp_label_26']</td>
+ <td>xpath=//div[@class='TreeContainer
JSContainer']/div/div[${nodeLvl}]/div/a[@title='test_grp_label_26']</td>
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>Node is back at level ${nodeLvl}</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Delete Node--</td>
+ <td></td>
+</tr>
+<tr>
<td>componentExoContextMenu</td>
<td>xpath=//a[@title='test_grp_label_26']</td>
<td></td>
@@ -257,6 +287,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementNotPresent</td>
+ <td>xpath=//a[@title='test_grp_label_26']</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>link=Save</td>
<td></td>
Show replies by date