Author: hangnguyen
Date: 2010-06-28 03:45:06 -0400 (Mon, 28 Jun 2010)
New Revision: 3493
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_14_03_001_CopyPasteNodeIntoTheSameNavigation.html
Log:
TESTVN-356: Clean and improve
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_14_03_001_CopyPasteNodeIntoTheSameNavigation.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_14_03_001_CopyPasteNodeIntoTheSameNavigation.html 2010-06-28
07:44:48 UTC (rev 3492)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_14_03_001_CopyPasteNodeIntoTheSameNavigation.html 2010-06-28
07:45:06 UTC (rev 3493)
@@ -22,6 +22,11 @@
<td></td>
</tr>
<tr>
+ <td>windowMaximize</td>
+ <td></td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>link=Sign in</td>
<td></td>
@@ -32,6 +37,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
<td>username</td>
<td>root</td>
@@ -78,12 +88,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//a[@title='Home']</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='Home']</td>
<td></td>
</tr>
<tr>
- <td>componentExoContextMenu</td>
- <td>xpath=//div[@id='UINavigationNodeSelector']//a[@class='NodeIcon
DefaultPageIcon NodeSelected' and @title='Home']</td>
+ <td>mouseDownRight</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='Home']</td>
<td></td>
</tr>
<tr>
@@ -113,12 +123,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UINavigationNodeSelector']//a[@class='NodeIcon
DefaultPageIcon NodeSelected' and @title='SiteMap']</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='SiteMap']</td>
<td></td>
</tr>
<tr>
- <td>componentExoContextMenu</td>
- <td>xpath=//div[@id='UINavigationNodeSelector']//a[@class='NodeIcon
DefaultPageIcon NodeSelected' and @title='SiteMap']</td>
+ <td>mouseDownRight</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='SiteMap']</td>
<td></td>
</tr>
<tr>
@@ -137,11 +147,16 @@
<td></td>
</tr>
<tr>
- <td>componentExoContextMenu</td>
+ <td>waitForElementPresent</td>
<td>xpath=//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div/div//a</td>
<td></td>
</tr>
<tr>
+ <td>mouseDownRight</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div/div//a</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Delete Node</td>
<td></td>