Author: vuthelinh
Date: 2010-06-24 06:52:33 -0400 (Thu, 24 Jun 2010)
New Revision: 3469
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_AddDragDropInDashboardInApplicationRegistry.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_29_AddAndEditAndDeleteTab.html
Log:
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_AddDragDropInDashboardInApplicationRegistry.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_AddDragDropInDashboardInApplicationRegistry.html 2010-06-24
10:52:11 UTC (rev 3468)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_AddDragDropInDashboardInApplicationRegistry.html 2010-06-24
10:52:33 UTC (rev 3469)
@@ -98,27 +98,17 @@
</tr>
<tr>
<td>echo</td>
- <td>new iteams display: " Date and Time"</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementPresent</td>
- <td>//div[3]/div[1]/div/div[1]/div/div/div/div[6]</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
<td>-- Close Dashboard Workspace--</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div[1]/div/div[1]/div/div/div/div[2]</td>
+ <td>//div[contains(@id,'UIAddGadgetPopup')]/div/div[1]/div/div/div/div[2]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div[1]/div/div[1]/div/div/div/div[2]</td>
+ <td>//div[contains(@id,'UIAddGadgetPopup')]/div/div[1]/div/div/div/div[2]</td>
<td></td>
</tr>
<tr>
@@ -163,17 +153,17 @@
</tr>
<tr>
<td>dragAndDropToObject</td>
- <td>xpath=//div[@class='GadgetTitle' and
@title='Calculator']</td>
+ <td>//div[@id='Gadgets/Calendar']/div/div</td>
<td>xpath=//div[@class='UIDashboardContainer']</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div[1]/div/div[1]/div/div/div/div[2]</td>
+ <td>//div[contains(@id,'UIAddGadgetPopup')]/div/div[1]/div/div/div/div[2]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div[1]/div/div[1]/div/div/div/div[2]</td>
+ <td>//div[contains(@id,'UIAddGadgetPopup')]/div/div[1]/div/div/div/div[2]</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_29_AddAndEditAndDeleteTab.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_29_AddAndEditAndDeleteTab.html 2010-06-24
10:52:11 UTC (rev 3468)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_29_AddAndEditAndDeleteTab.html 2010-06-24
10:52:33 UTC (rev 3469)
@@ -27,11 +27,6 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>link=Sign in</td>
- <td></td>
-</tr>
-<tr>
<td>click</td>
<td>link=Sign in</td>
<td></td>