Author: mvanco(a)redhat.com
Date: 2010-04-29 08:54:34 -0400 (Thu, 29 Apr 2010)
New Revision: 2892
Modified:
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12_Portlet.html
Log:
EPP5 UI Tests: improved test SNF_PRL_12 - portlets are verified after auto import (so
fixed positions can't be used)
Modified:
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12_Portlet.html
===================================================================
---
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12_Portlet.html 2010-04-29
12:14:27 UTC (rev 2891)
+++
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12_Portlet.html 2010-04-29
12:54:34 UTC (rev 2892)
@@ -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,15 +68,25 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[1]//a</td>
+ <td>//a[@title='Administration']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[1]//a</td>
+ <td>//a[@title='Administration']</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@title='Application Registry']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//a[@title='Application Registry']</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForTextPresent</td>
<td>ApplicationRegistryPortlet</td>
<td></td>
@@ -88,12 +103,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[2]//a</td>
+ <td>//a[@title='New Account']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[2]//a</td>
+ <td>//a[@title='New Account']</td>
<td></td>
</tr>
<tr>
@@ -113,12 +128,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[3]//a</td>
+ <td>//a[@title='Organization Management']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[3]//a</td>
+ <td>//a[@title='Organization Management']</td>
<td></td>
</tr>
<tr>
@@ -138,27 +153,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@class='UIVerticalSlideTabs']/div[2]//a</td>
+ <td>//a[@title='Dashboard']</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>xpath=//div[@class='UIVerticalSlideTabs']/div[2]//a</td>
- <td></td>
-</tr>
-<tr>
<td>clickAt</td>
- <td>xpath=//div[@class='UIVerticalSlideTabs']/div[2]//a</td>
+ <td>//a[@title='Dashboard']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[1]//a</td>
+ <td>//a[@title='Dashboard Portlet']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[1]//a</td>
+ <td>//a[@title='Dashboard Portlet']</td>
<td></td>
</tr>
<tr>
@@ -178,12 +188,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[2]//a</td>
+ <td>//a[@title='Gadget Wrapper Portlet']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[2]//a</td>
+ <td>//a[@title='Gadget Wrapper Portlet']</td>
<td></td>
</tr>
<tr>
@@ -198,7 +208,7 @@
</tr>
<tr>
<td>echo</td>
- <td>--It is possible to verify all portlets.......</td>
+ <td>--It is possible to verify some portlets.......</td>
<td></td>
</tr>
<tr>
Show replies by date