Author: mvanco(a)redhat.com
Date: 2010-04-22 14:29:08 -0400 (Thu, 22 Apr 2010)
New Revision: 2745
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_23_AddNavigation.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_AddDragDropInDashboardInApplicationRegistry.html
Log:
UI Tests: fixed tests SNF_PRL_28 and SNF_PRL_23 - waiting issues + change xpath for gadget
on dashboard
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_23_AddNavigation.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_23_AddNavigation.html 2010-04-22
08:48:42 UTC (rev 2744)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_23_AddNavigation.html 2010-04-22
18:29:08 UTC (rev 2745)
@@ -212,6 +212,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementNotPresent</td>
+ <td>//a[@title='test_grp_label_23']</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>link=Save</td>
<td></td>
@@ -227,6 +232,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementNotPresent</td>
+ <td>link=test_grp_label_23</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Sign out</td>
<td></td>
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-04-22
08:48:42 UTC (rev 2744)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_AddDragDropInDashboardInApplicationRegistry.html 2010-04-22
18:29:08 UTC (rev 2745)
@@ -148,12 +148,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@class='GadgetTitle' and @style='display:
block;']</td>
+ <td>xpath=//div[@class='CenterControlBar']//div[@class='GadgetTitle'
and text()='Calculator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>xpath=//div[@class='GadgetTitle' and @style='display:
block;']</td>
+ <td>xpath=//div[@class='CenterControlBar']//div[@class='GadgetTitle'
and text()='Calculator']</td>
<td></td>
</tr>
<tr>
Show replies by date