Author: mvanco(a)redhat.com
Date: 2010-04-30 09:38:20 -0400 (Fri, 30 Apr 2010)
New Revision: 2915
Modified:
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_10_002_DeleteCurrentPortalByLegalUser.html
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_20_020_CreateSameNameGroupPagesInDifferentGroups.html
Log:
EPP5 UI Tests: improved tests 10_002, 20_020
Modified:
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_10_002_DeleteCurrentPortalByLegalUser.html
===================================================================
---
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_10_002_DeleteCurrentPortalByLegalUser.html 2010-04-30
12:30:29 UTC (rev 2914)
+++
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_10_002_DeleteCurrentPortalByLegalUser.html 2010-04-30
13:38:20 UTC (rev 2915)
@@ -267,16 +267,6 @@
<td></td>
</tr>
<tr>
- <td>waitForTextNotPresent</td>
- <td>Test_POR_10_002</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextNotPresent</td>
- <td>Test_POR_10_002</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
<td>--Return to Site to check existing portals list after deleted--</td>
<td></td>
@@ -292,6 +282,16 @@
<td></td>
</tr>
<tr>
+ <td>waitForTextNotPresent</td>
+ <td>Test_POR_10_002</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextNotPresent</td>
+ <td>Test_POR_10_002</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>link=Sign out</td>
<td></td>
Modified:
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_20_020_CreateSameNameGroupPagesInDifferentGroups.html
===================================================================
---
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_20_020_CreateSameNameGroupPagesInDifferentGroups.html 2010-04-30
12:30:29 UTC (rev 2914)
+++
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_20_020_CreateSameNameGroupPagesInDifferentGroups.html 2010-04-30
13:38:20 UTC (rev 2915)
@@ -87,13 +87,13 @@
<td>label=group</td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>xpath=//option[@value='group']</td>
+ <td>pause</td>
+ <td>5000</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//option[@value='group']</td>
+ <td>waitForElementPresent</td>
+ <td>ownerId</td>
<td></td>
</tr>
<tr>
@@ -103,25 +103,10 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//option[@value='/platform/users']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>xpath=//option[@value='/platform/users']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
<td>name</td>
<td></td>
</tr>
<tr>
- <td>select</td>
- <td>ownerType</td>
- <td>label=group</td>
-</tr>
-<tr>
<td>type</td>
<td>name</td>
<td>POR_20_020</td>
@@ -222,13 +207,13 @@
<td>label=group</td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>xpath=//option[@value='group']</td>
+ <td>pause</td>
+ <td>5000</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//option[@value='group']</td>
+ <td>waitForElementPresent</td>
+ <td>ownerId</td>
<td></td>
</tr>
<tr>
@@ -238,16 +223,6 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//option[@value='/organization']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>xpath=//option[@value='/organization']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
<td>name</td>
<td></td>
</tr>
@@ -337,6 +312,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>searchTerm</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
<td>searchTerm</td>
<td>POR_20_020</td>
@@ -372,7 +352,7 @@
<td></td>
</tr>
<tr>
- <td>assertConfirmation</td>
+ <td>waitForConfirmation</td>
<td>Do you want to delete this page?</td>
<td></td>
</tr>
@@ -402,7 +382,7 @@
<td></td>
</tr>
<tr>
- <td>assertConfirmation</td>
+ <td>waitForConfirmation</td>
<td>Do you want to delete this page?</td>
<td></td>
</tr>
@@ -417,6 +397,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForTextNotPresent</td>
+ <td>POR_20_020</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>link=Sign out</td>
<td></td>