Author: vuthelinh
Date: 2010-06-21 07:03:13 -0400 (Mon, 21 Jun 2010)
New Revision: 3412
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_27_CreateAndEditPageAndEditSiteLayoutForGroup.html
Log:
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_27_CreateAndEditPageAndEditSiteLayoutForGroup.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_27_CreateAndEditPageAndEditSiteLayoutForGroup.html 2010-06-21
11:02:56 UTC (rev 3411)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_27_CreateAndEditPageAndEditSiteLayoutForGroup.html 2010-06-21
11:03:13 UTC (rev 3412)
@@ -17,19 +17,24 @@
<td></td>
</tr>
<tr>
+ <td>windowMaximize</td>
+ <td></td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>-AddEditGroupPageWizard-</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Sign in</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>username</td>
- <td>root</td>
+ <td></td>
</tr>
<tr>
<td>type</td>
@@ -42,26 +47,16 @@
<td>gtn</td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>clickAndWait</td>
<td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
+ <td>clickAndWait</td>
<td>link=Page Management</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=Page Management</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='UIPageBrowser']</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
<td>--Create new page--</td>
<td></td>
@@ -72,7 +67,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Add New Page</td>
<td></td>
</tr>
@@ -97,9 +92,9 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>//div[@id='UIPageCreationWizard']//div[@class='UIAction']//div[2]</td>
- <td>1,1</td>
+ <td>click</td>
+ <td>//div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[2]/div/div/div</td>
+ <td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
@@ -113,13 +108,13 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UIPageCreationWizard']//div[@class='UIAction']//div[2]</td>
- <td>1,1</td>
+ <td>//div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[2]/div/div/div</td>
+ <td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UIPageCreationWizard']//div[@class='UIAction']//div[2]</td>
- <td>1,1</td>
+ <td>click</td>
+ <td>//div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[2]/div/div/div</td>
+ <td></td>
</tr>
<tr>
<td>echo</td>
@@ -128,35 +123,25 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//a[@title='Administration']</td>
+ <td>link=Administration</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>//a[@title='Administration']</td>
+ <td>click</td>
+ <td>link=Administration</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='Administration/AccountPortlet']</td>
+ <td>link=View Page properties</td>
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Go to View Page properties--</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
+ <td>click</td>
<td>link=View Page properties</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=View Page properties</td>
- <td>1,1</td>
-</tr>
-<tr>
<td>waitForTextPresent</td>
<td>Show Max Window</td>
<td></td>
@@ -168,12 +153,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIMaskWorkspace']//div[@class='UIFormTabPane']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPageForm',
'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=PermissionSetting')"]</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>//div[@id='UIMaskWorkspace']//div[@class='UIFormTabPane']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td>click</td>
+ <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPageForm',
'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=PermissionSetting')"]</td>
<td></td>
</tr>
<tr>
@@ -187,9 +172,9 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Access Permission Setting</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>echo</td>
@@ -202,9 +187,9 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Edit Permission Setting</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>echo</td>
@@ -217,9 +202,9 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Cancel</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>echo</td>
@@ -228,12 +213,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>//a[(a)onclick='eXo.core.DOMUtil.disableOnClick(this);']</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td>clickAndWait</td>
+ <td>//a[(a)onclick='eXo.core.DOMUtil.disableOnClick(this);']</td>
<td></td>
</tr>
<tr>
@@ -242,16 +227,11 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
+ <td>click</td>
<td>link=Edit Page</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=Edit Page</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
<td>--Show form to edit page by wizard</td>
<td></td>
@@ -259,12 +239,12 @@
<tr>
<td>waitForElementPresent</td>
<td>link=View Page properties</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=View Page properties</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>echo</td>
@@ -277,12 +257,12 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>//div[@id='UIMaskWorkspace']//div[@class='UIFormTabPane']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td>click</td>
+ <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPageForm',
'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=PermissionSetting')"]</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Add Permission</td>
<td></td>
</tr>
@@ -292,9 +272,9 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Platform</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -302,7 +282,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Administrators</td>
<td></td>
</tr>
@@ -312,7 +292,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>//div[@id='UIPageFormPopupGroupMembershipSelector']//div[@class='MembershipSelector']//a</td>
<td></td>
</tr>
@@ -322,9 +302,9 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Save</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>echo</td>
@@ -337,7 +317,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
<td></td>
</tr>
@@ -352,9 +332,9 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Edit Layout</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -362,9 +342,9 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Site's Config</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -377,12 +357,12 @@
<td>label=French</td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Save</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
<td></td>
</tr>
@@ -397,9 +377,9 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Edit Layout</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -407,9 +387,9 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Site's Config</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -422,12 +402,12 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Cancel</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>//div[@id='UIPortalComposer']/div[1]/div/div/div/a[1]</td>
<td></td>
</tr>
@@ -442,7 +422,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>clickAndWait</td>
<td>link=Group</td>
<td></td>
</tr>
@@ -452,8 +432,8 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UIGroupNavigationGrid']/table[2]/tbody/tr/td[3]/a[1]</td>
+ <td>click</td>
+ <td>//div[@id='UIGroupNavigationGrid']/table[2]/tbody/tr/td[3]/a[1]</td>
<td></td>
</tr>
<tr>
@@ -462,22 +442,27 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>xpath=//a[@title='Page Management']</td>
<td></td>
</tr>
<tr>
- <td>componentExoContextMenu</td>
+ <td>waitForElementPresent</td>
<td>xpath=//a[@title='test_page_name_27']</td>
<td></td>
</tr>
<tr>
+ <td>mouseDownRight</td>
+ <td>xpath=//a[@title='test_page_name_27']</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
<td></td>
</tr>
@@ -492,7 +477,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Save</td>
<td></td>
</tr>
@@ -507,15 +492,10 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
+ <td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Sign out</td>
- <td></td>
-</tr>
</tbody></table>
</body>