Author: hangnguyen
Date: 2010-04-26 04:36:54 -0400 (Mon, 26 Apr 2010)
New Revision: 2766
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_001_CopyPasteNodeIntoTheSameNavigation.html
Log:
Change script for Test_POR_25_04_001_CopyPasteNodeIntoTheSameNavigation.html
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_001_CopyPasteNodeIntoTheSameNavigation.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_001_CopyPasteNodeIntoTheSameNavigation.html 2010-04-26
04:55:19 UTC (rev 2765)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_001_CopyPasteNodeIntoTheSameNavigation.html 2010-04-26
08:36:54 UTC (rev 2766)
@@ -77,13 +77,8 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div</td>
- <td></td>
-</tr>
-<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationNodeSelector"]/div[3]/div/div/div/div/div/div[2]/div/div/div[2]/div[2]//a</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//a[@class='NodeIcon
DefaultPageIcon' and @title='New Staff']</td>
<td></td>
</tr>
<tr>
@@ -102,11 +97,21 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[1]</td>
+ <td></td>
+</tr>
+<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationManagement"]/div[2]/div/div</td>
+ <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[1]</td>
<td></td>
</tr>
<tr>
+ <td>verifyElementPresent</td>
+ <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[1]</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>//div[@id='UINavigationNodeSelector']/div/div/div[2]/div/div/div[2]/a</td>
<td></td>
@@ -123,12 +128,12 @@
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationNodeSelector"]/div/div/div/div[2]/div/div/div[3]//a</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div//a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UINavigationNodeSelector']/div/div/div/div/div//div[2]/div/div/div[7]//a</td>
+ <td>link=Delete Node</td>
<td></td>
</tr>
<tr>
Show replies by date