Author: hangnguyen
Date: 2010-06-24 04:59:36 -0400 (Thu, 24 Jun 2010)
New Revision: 3463
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_23_AddNavigation.html
Log:
TESTVN-356: Clean and improve
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_23_AddNavigation.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_23_AddNavigation.html 2010-06-24
07:46:45 UTC (rev 3462)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_23_AddNavigation.html 2010-06-24
08:59:36 UTC (rev 3463)
@@ -72,6 +72,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Add group navigation --</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>//div[@id='UIAddGroupNavigationGrid']/table[1]/tbody/tr/td[2]/a</td>
<td></td>
@@ -92,6 +97,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Select group navigation which added --</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>//div[@id='UIGroupNavigationGrid']/table[2]/tbody/tr/td[3]/a[1]</td>
<td></td>
@@ -102,6 +112,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Add new node for this group navigation --</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>link=Add Node</td>
<td></td>
@@ -142,6 +157,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Search and Select page in list --</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>link=Search and Select Page</td>
<td></td>
@@ -177,8 +197,8 @@
<td></td>
</tr>
<tr>
- <td>waitForTextNotPresent</td>
- <td>Page Selector</td>
+ <td>echo</td>
+ <td>-- Save to finish add new node--</td>
<td></td>
</tr>
<tr>
@@ -192,6 +212,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Edit navigation again --</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>//div[@id='UIGroupNavigationGrid']/table[2]/tbody/tr/td[3]/a[1]</td>
<td></td>
@@ -258,6 +283,26 @@
</tr>
<tr>
<td>waitForElementPresent</td>
+ <td>//div[@id='UIGroupNavigationGrid']/table[2]/tbody/tr/td[3]/a[3]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//div[@id='UIGroupNavigationGrid']/table[2]/tbody/tr/td[3]/a[3]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertConfirmation</td>
+ <td>Are you sure to delete this navigation?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextNotPresent</td>
+ <td>//div[@id='UIGroupNavigationGrid']/table[2]/tbody/tr/td[3]/a[3]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>link=Sign out</td>
<td></td>
</tr>
Show replies by date