Author: hangnguyen
Date: 2010-11-18 04:05:54 -0500 (Thu, 18 Nov 2010)
New Revision: 5151
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_35_ChangeApplicationWhenEditPropertiesOfNodeInPortalNavigation.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_51_ManageGadget.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_53_DragAndDropGadget.html
Log:
TestVN-356:Clean and Improve existing Selenium for GateIn
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_35_ChangeApplicationWhenEditPropertiesOfNodeInPortalNavigation.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_35_ChangeApplicationWhenEditPropertiesOfNodeInPortalNavigation.html 2010-11-18
07:58:06 UTC (rev 5150)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_35_ChangeApplicationWhenEditPropertiesOfNodeInPortalNavigation.html 2010-11-18
09:05:54 UTC (rev 5151)
@@ -432,14 +432,14 @@
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
+ <td>waitForText</td>
+ <td>//div[2]/div/div/div[2]/div/div/div/div/div/div/div[2]</td>
<td>Test_SNF_PRL_35</td>
- <td></td>
</tr>
<tr>
- <td>verifyTextPresent</td>
+ <td>verifyText</td>
+ <td>//div[2]/div/div/div[2]/div/div/div/div/div/div/div[2]</td>
<td>Test_SNF_PRL_35</td>
- <td></td>
</tr>
<tr>
<td>echo</td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_51_ManageGadget.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_51_ManageGadget.html 2010-11-18
07:58:06 UTC (rev 5150)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_51_ManageGadget.html 2010-11-18
09:05:54 UTC (rev 5151)
@@ -97,6 +97,11 @@
<td></td>
</tr>
<tr>
+ <td>pause</td>
+ <td>1000</td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>-- Close Dashboard Workspace--</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_53_DragAndDropGadget.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_53_DragAndDropGadget.html 2010-11-18
07:58:06 UTC (rev 5150)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_53_DragAndDropGadget.html 2010-11-18
09:05:54 UTC (rev 5151)
@@ -58,7 +58,7 @@
</tr>
<tr>
<td>echo</td>
- <td>--By drag and drop</td>
+ <td>--Click Add gadget --</td>
<td></td>
</tr>
<tr>
@@ -72,6 +72,16 @@
<td></td>
</tr>
<tr>
+ <td>pause</td>
+ <td>1000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-- Drag & drop gadget --</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>xpath=//div[@class='UIDashboardContainer']/div/div/div[2]</td>
<td></td>
@@ -92,6 +102,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Change position of gadget --</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>xpath=//div[@class='UIDashboardContainer']/div/div/div[3]</td>
<td></td>
@@ -102,6 +117,11 @@
<td>xpath=//div[@class='UIDashboardContainer']/div/div/div[3]</td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Delete gadget --</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>//div[(a)onclick='eXo.gadget.UIGadget.deleteGadget(this)']</td>
<td></td>
Show replies by date