Author: mvanco(a)redhat.com
Date: 2010-05-04 05:57:56 -0400 (Tue, 04 May 2010)
New Revision: 2970
Modified:
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html
Log:
EPP5 UI Tests: improved tests 22_019, SNF_PRL_13
Modified:
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html
===================================================================
---
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html 2010-05-04
09:53:33 UTC (rev 2969)
+++
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html 2010-05-04
09:57:56 UTC (rev 2970)
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/portal/public/classic/</td>
+ <td>/portal/public/classic</td>
<td></td>
</tr>
<tr>
@@ -22,6 +22,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Sign in</td>
<td></td>
@@ -63,7 +68,7 @@
</tr>
<tr>
<td>echo</td>
- <td>--Choose Page Setting</td>
+ <td>--Add new page--</td>
<td></td>
</tr>
<tr>
@@ -77,6 +82,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForTextPresent</td>
+ <td>Page Setting</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>ownerType</td>
<td></td>
@@ -92,6 +102,16 @@
<td></td>
</tr>
<tr>
+ <td>pause</td>
+ <td>3000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>name</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
<td>name</td>
<td>Test_POR_22_019</td>
@@ -103,7 +123,7 @@
</tr>
<tr>
<td>echo</td>
- <td>--Choose Page Layout--</td>
+ <td>--Choose Page Setting--</td>
<td></td>
</tr>
<tr>
@@ -118,7 +138,7 @@
</tr>
<tr>
<td>echo</td>
- <td>--Choose Page Setting--</td>
+ <td>--Choose Access Permission Setting--</td>
<td></td>
</tr>
<tr>
@@ -132,11 +152,6 @@
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Choose Access Permission Setting--</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>link=Access Permission Setting</td>
<td></td>
@@ -177,6 +192,16 @@
<td></td>
</tr>
<tr>
+ <td>waitForTextNotPresent</td>
+ <td>Page Setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>portal::classic::Test_POR_22_019</td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>--Search new page created--</td>
<td></td>
@@ -207,6 +232,16 @@
<td></td>
</tr>
<tr>
+ <td>pause</td>
+ <td>3000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>portal::classic::Test_POR_22_019</td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>-- Edit this page--</td>
<td></td>
@@ -327,6 +362,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>xpath=//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
<td></td>
@@ -352,6 +392,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForTextNotPresent</td>
+ <td>Test_POR_22_019</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow
UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
<td></td>
Modified:
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html
===================================================================
---
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html 2010-05-04
09:53:33 UTC (rev 2969)
+++
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html 2010-05-04
09:57:56 UTC (rev 2970)
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/portal/public/classic/</td>
+ <td>/portal/public/classic</td>
<td></td>
</tr>
<tr>
@@ -22,8 +22,8 @@
<td></td>
</tr>
<tr>
- <td>setSpeed</td>
- <td>150</td>
+ <td>waitForElementPresent</td>
+ <td>link=Sign in</td>
<td></td>
</tr>
<tr>