Author: mvanco(a)redhat.com
Date: 2010-04-26 05:52:25 -0400 (Mon, 26 Apr 2010)
New Revision: 2769
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_18_CreateNewPortal.html
Log:
UI Tests: fixed SNF_PRL_18 - select template tab when adding portal was removed, changed
identifier of tab
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_18_CreateNewPortal.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_18_CreateNewPortal.html 2010-04-26
09:51:10 UTC (rev 2768)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_18_CreateNewPortal.html 2010-04-26
09:52:25 UTC (rev 2769)
@@ -68,15 +68,10 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td>name</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
- <td></td>
-</tr>
-<tr>
<td>type</td>
<td>name</td>
<td>test_portal_18</td>
@@ -88,7 +83,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[4]//div[@class='MiddleTab']</td>
+ <td>//div[contains(@onclick,
'eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane') and contains(@onclick,
'PermissionSetting')]</td>
<td></td>
</tr>
<tr>
@@ -212,8 +207,8 @@
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>Portal Navigation</td>
+ <td>waitForTextNotPresent</td>
+ <td>test_portal_18</td>
<td></td>
</tr>
<tr>