Author: hangnguyen
Date: 2010-07-02 02:59:32 -0400 (Fri, 02 Jul 2010)
New Revision: 3546
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_25_EditPageOfNode.html
Log:
TESTVN-356: Clean and improve
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_25_EditPageOfNode.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_25_EditPageOfNode.html 2010-07-02
03:56:24 UTC (rev 3545)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_25_EditPageOfNode.html 2010-07-02
06:59:32 UTC (rev 3546)
@@ -27,7 +27,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Sign in</td>
<td></td>
</tr>
@@ -57,11 +57,6 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>link=Group</td>
- <td></td>
-</tr>
-<tr>
<td>clickAndWait</td>
<td>link=Group</td>
<td></td>
@@ -102,8 +97,18 @@
<td>test_grp_label_25</td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Page Selector--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[2]/div/div/div/div/div/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>css=div#UIGroupNavigationManagement div.UIPopupWindow div.TabsContainer
div.NormalTab div.MiddleTab</td>
+ <td>//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
<td></td>
</tr>
<tr>
@@ -137,6 +142,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Save to finish create new node--</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>link=Save</td>
<td></td>
@@ -148,6 +158,11 @@
</tr>
<tr>
<td>echo</td>
+ <td>--
https://jira.jboss.org/browse/GTNPORTAL-1285--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
<td>--Edit node's page</td>
<td></td>
</tr>
@@ -163,15 +178,20 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//a[@title='test_grp_label_25']</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon' and
@title='test_grp_label_25']</td>
<td></td>
</tr>
<tr>
<td>mouseDownRight</td>
- <td>xpath=//a[@title='test_grp_label_25']</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon' and
@title='test_grp_label_25']</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
EditPageNode16x16Icon']</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
EditPageNode16x16Icon']</td>
<td></td>
@@ -207,6 +227,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Click Finish edit node's page--</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>xpath=//a[@class='EdittedSaveButton']</td>
<td></td>
@@ -227,6 +252,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Delete this node--</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>//div[@id='UIGroupNavigationGrid']/table[1]/tbody/tr/td[3]/a[1]</td>
<td></td>
@@ -238,12 +268,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//a[@title='test_grp_label_25']</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon' and
@title='test_grp_label_25']</td>
<td></td>
</tr>
<tr>
<td>mouseDownRight</td>
- <td>xpath=//a[@title='test_grp_label_25']</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon' and
@title='test_grp_label_25']</td>
<td></td>
</tr>
<tr>