gatein SVN: r2824 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko.
by do-not-reply@jboss.org
Author: hangnguyen
Date: 2010-04-27 06:56:18 -0400 (Tue, 27 Apr 2010)
New Revision: 2824
Added:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_14_01_043_CheckShowSiteEditorMenu.html
Log:
Move Test_POR_14_01_043_CheckShowSiteEditorMenu.html to ko folder
Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_14_01_043_CheckShowSiteEditorMenu.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_14_01_043_CheckShowSiteEditorMenu.html (rev 0)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_14_01_043_CheckShowSiteEditorMenu.html 2010-04-27 10:56:18 UTC (rev 2824)
@@ -0,0 +1,677 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>Test_POR_14_043</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">Test_POR_14_043</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic/register</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Register New Account-</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Register</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>POR_14_043</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>111111</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>confirmPassword</td>
+ <td>111111</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>firstName</td>
+ <td>POR_14_043</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>lastName</td>
+ <td>POR_14_043</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>emailAddress</td>
+ <td>por_14_043(a)yahoo.com</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Subscribe</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Login in portal--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>gtn</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--GroupManagement--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Select User and group managent in menu--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIOrganizationPortlet']//div[@class='ManagementIconContainer']/a[@class='GroupButton']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIOrganizationPortlet']//div[@class='ManagementIconContainer']/a[@class='GroupButton']</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[3]/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-select group from the tree-</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Platform</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Platform</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Administrators</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Administrators</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Administrators</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//form[@id='UIGroupMembershipForm']//div[@class='HorizontalLayout']//table[@class='UIFormGrid']//td[@class='FieldComponent']/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//td[2]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//form[@id='UIUserSelector']/div[2]/div[2]/table/tbody/tr/td/a[1]/div/div/div</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>POR_14_043</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Click add button--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//form[@id='UIUserSelector']//div[@class='UIAction']//a[@class='ActionButton LightBlueStyle']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//form[@id='UIUserSelector']//div[@class='UIAction']//a[@class='ActionButton LightBlueStyle']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>membership</td>
+ <td>label=manager</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Page Management--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Add new page--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>ownerType</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>ownerType</td>
+ <td>label=portal</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//option[@value='portal']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>name</td>
+ <td>por_14_043</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>title</td>
+ <td>por_14_043</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[3]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[3]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-- Add new node--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Edit Navigation</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Edit Navigation</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Add Node</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Add Node</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForText</td>
+ <td>name</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>name</td>
+ <td>POR_14_043</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>label</td>
+ <td>POR_14_043</td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-- Choose Page Selector--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@class='CenterHorizontalTabs']//div[@class='NormalTab']//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Search and Select Page</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Select page created from page lists--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Search and Select Page</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//img[contains(@onclick,'por_14_043')]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//img[contains(@onclick,'por_14_043')]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Sign out--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Sign In with new accout--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>POR_14_043</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>111111</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Sign out--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Sign In by root--</td>
+ <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>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic</td>
+ <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>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>gtn</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>- Go to Manage page again--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-- Search page created above--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>searchTerm</td>
+ <td>por_14_043</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>searchOption</td>
+ <td>label=Title</td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>searchOption</td>
+ <td>label=Title</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Delete page--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//img[@title='Delete Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//img[@title='Delete Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertConfirmation</td>
+ <td>Do you want to delete this page?</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>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-- Go to User and Group managent--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>searchTerm</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>searchTerm</td>
+ <td>POR_14_043</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>searchOption</td>
+ <td>label=User Name</td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>xpath=//form[@id='UISearchForm']/div[2]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>pause</td>
+ <td>5000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//img[@alt='DeleteUser']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//img[@alt='DeleteUser']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertConfirmation</td>
+ <td>Are you sure you want to delete POR_14_043 user?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>pause</td>
+ <td>5000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextNotPresent</td>
+ <td>POR_14_043</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
14 years, 8 months
gatein SVN: r2823 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko.
by do-not-reply@jboss.org
Author: hangnguyen
Date: 2010-04-27 06:55:45 -0400 (Tue, 27 Apr 2010)
New Revision: 2823
Added:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_35_CreateNewAccountPrivateMode.html
Log:
Rename form Test_SNF_PRL_35_CreateNewAccountPublicMode.html to Test_SNF_PRL_35_CreateNewAccountPrivateMode.html
Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_35_CreateNewAccountPrivateMode.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_35_CreateNewAccountPrivateMode.html (rev 0)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_35_CreateNewAccountPrivateMode.html 2010-04-27 10:55:45 UTC (rev 2823)
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>SNF_PRL_35</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SNF_PRL_35</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-CreateNewAccountInPrivateMode-</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>gtn</td>
+</tr>
+<tr>
+ <td>clickAtAndWait</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=New Staff</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Create new user using "New Staff" portlet</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>test_user_35</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>test_pwd_35</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>Confirmpassword</td>
+ <td>test_pwd_35</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>firstName</td>
+ <td>test_name_first_35</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>lastName</td>
+ <td>test_name_last_35</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>email</td>
+ <td>test_user_35(a)yahoo.com</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@class='UIRowContainer']//div[@class='UIFormTabPane']//div[@class='TabsContainer']/div[2]/div/div/div/div</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>Given Name:</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>user.name.given</td>
+ <td>test_name_given_35</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@class='UIRowContainer']//div[@class='UIFormTabPane']//div[@class='TabsContainer']/div/div/div/div/div</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>You have registered a new account.</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Verify</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>test_user_35</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>test_user_35</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Delete</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForConfirmation</td>
+ <td>Are you sure you want to delete test_user_35 user?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextNotPresent</td>
+ <td>test_user_35</td>
+ <td></td>
+</tr>
+<tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
14 years, 8 months
gatein SVN: r2822 - portal/trunk/testsuite.
by do-not-reply@jboss.org
Author: hangnguyen
Date: 2010-04-27 06:54:26 -0400 (Tue, 27 Apr 2010)
New Revision: 2822
Modified:
portal/trunk/testsuite/GateIn_v3.0_SniffTests.ods
Log:
GateIn_v3.0_SniffTests.ods
Modified: portal/trunk/testsuite/GateIn_v3.0_SniffTests.ods
===================================================================
(Binary files differ)
14 years, 8 months
gatein SVN: r2821 - portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component.
by do-not-reply@jboss.org
Author: hoang_to
Date: 2010-04-27 06:49:57 -0400 (Tue, 27 Apr 2010)
New Revision: 2821
Modified:
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIAdminToolbarPortlet.gtmpl
Log:
GTNPORTAL-1025: Don't show Edit Inline item when user have no right to add new page node
Modified: portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIAdminToolbarPortlet.gtmpl
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIAdminToolbarPortlet.gtmpl 2010-04-27 10:12:17 UTC (rev 2820)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIAdminToolbarPortlet.gtmpl 2010-04-27 10:49:57 UTC (rev 2821)
@@ -22,8 +22,7 @@
boolean userCouldEditNavigation = uicomponent.hasEditPermissionOnNavigation();
boolean userCouldEditPage = uicomponent.hasEditPermissionOnPage();
- //boolean userCouldEditPortal = uicomponent.hasEditPermissionOnPortal();
- boolean userCouldEditPortal = userCouldEditNavigation;
+ boolean userCouldEditPortal = uicomponent.hasEditPermissionOnPortal();
PageNavigation selectedNav = uicomponent.getSelectedNavigation();
if (selectedNav != null) {
14 years, 8 months
gatein SVN: r2820 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium.
by do-not-reply@jboss.org
Author: hangnguyen
Date: 2010-04-27 06:12:17 -0400 (Tue, 27 Apr 2010)
New Revision: 2820
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html
Log:
Change script for Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html 2010-04-27 09:52:13 UTC (rev 2819)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html 2010-04-27 10:12:17 UTC (rev 2820)
@@ -4,12 +4,12 @@
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
-<title>Test_SNF_PRL_13</title>
+<title>Test_SNF_PRL_13_AddRemoteAndCreateNewGadget</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1" colspan="3">Test_SNF_PRL_13</td></tr>
+<tr><td rowspan="1" colspan="3">Test_SNF_PRL_13_AddRemoteAndCreateNewGadget</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -47,11 +47,21 @@
<td>gtn</td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>clickAt</td>
<td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Go to Application registry--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Application Registry</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Application Registry</td>
<td>1,1</td>
@@ -67,6 +77,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Add a remote gadget--</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>//div[@class='IconControl AddNewIcon']</td>
<td></td>
@@ -87,6 +102,11 @@
<td>http://www.google.com/ig/modules/datetime.xml</td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Add</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Add</td>
<td>1,1</td>
@@ -107,6 +127,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Delete remote gadget--</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>//div[@class='SelectedItem ItemContent']/a[2]</td>
<td></td>
@@ -127,7 +152,62 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Add a new gadget--</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
+ <td>//div[@onclick="javascript:ajaxGet('/portal/private/classic/administration/registry?portal:componentId=bf8f4620-4e76-4423-b3b9-836883e47806&portal:type=action&uicomponent=UIGadgetManagement&op=AddLocalGadget&ajaxRequest=true')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@onclick="javascript:ajaxGet('/portal/private/classic/administration/registry?portal:componentId=bf8f4620-4e76-4423-b3b9-836883e47806&portal:type=action&uicomponent=UIGadgetManagement&op=AddLocalGadget&ajaxRequest=true')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>name</td>
+ <td>SNF_PRL_13</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>Gadget Details</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@onclick="javascript:if(confirm('Are you sure to delete this gadget?'))ajaxGet('/portal/private/classic/administration/registry?portal:componentId=bf8f4620-4e76-4423-b3b9-836883e47806&portal:type=action&uicomponent=UIGadgetManagement&op=RemoveGadget&objectId=SNF_PRL_13&ajaxRequest=true')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//a[@onclick="javascript:if(confirm('Are you sure to delete this gadget?'))ajaxGet('/portal/private/classic/administration/registry?portal:componentId=bf8f4620-4e76-4423-b3b9-836883e47806&portal:type=action&uicomponent=UIGadgetManagement&op=RemoveGadget&objectId=SNF_PRL_13&ajaxRequest=true')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForConfirmation</td>
+ <td>Are you sure to delete this gadget?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='SelectedItem ItemContent']/a[@title='Calculator']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>link=Sign out</td>
<td></td>
</tr>
14 years, 8 months
gatein SVN: r2819 - in components/pc/trunk: controller and 5 other directories.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2010-04-27 05:52:13 -0400 (Tue, 27 Apr 2010)
New Revision: 2819
Modified:
components/pc/trunk/controller/pom.xml
components/pc/trunk/pom.xml
components/pc/trunk/portal/pom.xml
components/pc/trunk/portal/src/assemble/simple-portal-tomcat60.xml
components/pc/trunk/portal/src/build.xml
components/pc/trunk/test/pom.xml
components/pc/trunk/test/src/test/build.xml
Log:
Prepare for new Nexus repo
Modified: components/pc/trunk/controller/pom.xml
===================================================================
--- components/pc/trunk/controller/pom.xml 2010-04-27 09:40:50 UTC (rev 2818)
+++ components/pc/trunk/controller/pom.xml 2010-04-27 09:52:13 UTC (rev 2819)
@@ -42,10 +42,6 @@
<dependency>
<groupId>apache-xerces</groupId>
- <artifactId>resolver</artifactId>
- </dependency>
- <dependency>
- <groupId>apache-xerces</groupId>
<artifactId>xercesImpl</artifactId>
</dependency>
<dependency>
Modified: components/pc/trunk/pom.xml
===================================================================
--- components/pc/trunk/pom.xml 2010-04-27 09:40:50 UTC (rev 2818)
+++ components/pc/trunk/pom.xml 2010-04-27 09:52:13 UTC (rev 2819)
@@ -22,7 +22,7 @@
</scm>
<properties>
- <version.gatein.common>2.0.1-GA</version.gatein.common>
+ <version.gatein.common>2.0.2-GA</version.gatein.common>
<version.gatein.wci>2.0.1-GA</version.gatein.wci>
<version.apache.portals.bridges>1.0.4</version.apache.portals.bridges>
<version.javax.jstl>1.1.2</version.javax.jstl>
@@ -41,7 +41,7 @@
<dependency>
<groupId>org.gatein</groupId>
<artifactId>gatein-dep</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@@ -252,16 +252,6 @@
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
- <repository>
- <id>codehaus snapshot repository</id>
- <url>http://snapshots.repository.codehaus.org/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
</repositories>
<pluginRepositories>
Modified: components/pc/trunk/portal/pom.xml
===================================================================
--- components/pc/trunk/portal/pom.xml 2010-04-27 09:40:50 UTC (rev 2818)
+++ components/pc/trunk/portal/pom.xml 2010-04-27 09:52:13 UTC (rev 2819)
@@ -87,13 +87,9 @@
<!-- JSTL for Tomcat -->
<dependency>
- <groupId>apache-taglibs</groupId>
+ <groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
</dependency>
- <dependency>
- <groupId>apache-taglibs</groupId>
- <artifactId>standard</artifactId>
- </dependency>
<dependency>
<groupId>apache-log4j</groupId>
Modified: components/pc/trunk/portal/src/assemble/simple-portal-tomcat60.xml
===================================================================
--- components/pc/trunk/portal/src/assemble/simple-portal-tomcat60.xml 2010-04-27 09:40:50 UTC (rev 2818)
+++ components/pc/trunk/portal/src/assemble/simple-portal-tomcat60.xml 2010-04-27 09:52:13 UTC (rev 2819)
@@ -31,11 +31,9 @@
<include>sun-jaxb:jaxb-api</include>
<include>apache-xerces:xercesImpl</include>
- <include>apache-xerces:resolver</include>
<include>apache-xerces:xml-apis</include>
- <include>apache-taglibs:jstl</include>
- <include>apache-taglibs:standard</include>
+ <include>javax.servlet:jstl</include>
</includes>
</dependencySet>
Modified: components/pc/trunk/portal/src/build.xml
===================================================================
--- components/pc/trunk/portal/src/build.xml 2010-04-27 09:40:50 UTC (rev 2818)
+++ components/pc/trunk/portal/src/build.xml 2010-04-27 09:52:13 UTC (rev 2819)
@@ -54,7 +54,6 @@
</path>
<path id="mc.xerces">
<pathelement path="${dependency.xercesImpl.jar}"/>
- <pathelement path="${dependency.resolver.jar}"/>
<pathelement path="${dependency.xml-apis.jar}"/>
</path>
<path id="mc.javassist">
Modified: components/pc/trunk/test/pom.xml
===================================================================
--- components/pc/trunk/test/pom.xml 2010-04-27 09:40:50 UTC (rev 2818)
+++ components/pc/trunk/test/pom.xml 2010-04-27 09:52:13 UTC (rev 2819)
@@ -384,7 +384,6 @@
<!-- <property name="dependency.jaxb.jar" value="${maven.dependency.javax.xml.bind.jaxb-api.jar.path}" /> -->
<property name="dependency.jboss-mdr.jar" value="${maven.dependency.org.jboss.jboss-mdr.jar.path}" />
<property name="dependency.javassist.jar" value="${maven.dependency.org.jboss.javassist.jar.path}" />
- <property name="dependency.resolver.jar" value="${maven.dependency.apache-xerces.resolver.jar.path}" />
<property name="dependency.xercesImpl.jar" value="${maven.dependency.apache-xerces.xercesImpl.jar.path}" />
<property name="dependency.xml-apis.jar" value="${maven.dependency.apache-xerces.xml-apis.jar.path}" />
<property name="dependency.jbossxb.jar" value="${maven.dependency.org.jboss.jbossxb.jar.path}" />
@@ -394,8 +393,7 @@
<property name="dependency.cargo-ant.jar" value="${maven.dependency.org.codehaus.cargo.cargo-ant.jar.path}" />
<property name="dependency.cargo-manager.war" value="${maven.dependency.cargo.cargo-manager.war.path}" />
- <property name="dependency.apache-jstl.jar" value="${maven.dependency.apache-taglibs.jstl.jar.path}" />
- <property name="dependency.apache-standard.jar" value="${maven.dependency.apache-taglibs.standard.jar.path}" />
+ <property name="dependency.apache-jstl.jar" value="${maven.dependency.javax.servlet.jstl.jar.path}" />
<property name="dependency.cargo.jetty-deployer" value="${maven.dependency.org.codehaus.cargo.cargo-jetty-deployer.war.path}" />
<ant antfile="${basedir}/src/test/build.xml">
Modified: components/pc/trunk/test/src/test/build.xml
===================================================================
--- components/pc/trunk/test/src/test/build.xml 2010-04-27 09:40:50 UTC (rev 2818)
+++ components/pc/trunk/test/src/test/build.xml 2010-04-27 09:52:13 UTC (rev 2819)
@@ -147,7 +147,6 @@
<path refid="jboss-microcontainer"/>
<pathelement path="${dependency.javassist.jar}"/>
<pathelement path="${dependency.xercesImpl.jar}"/>
- <pathelement path="${dependency.resolver.jar}"/>
<pathelement path="${dependency.xml-apis.jar}"/>
<pathelement path="${dependency.trove.jar}"/>
</path>
@@ -176,7 +175,6 @@
<path refid="jboss-microcontainer"/>
<pathelement path="${dependency.javassist.jar}"/>
<pathelement path="${dependency.xercesImpl.jar}"/>
- <pathelement path="${dependency.resolver.jar}"/>
<pathelement path="${dependency.xml-apis.jar}"/>
<pathelement path="${dependency.trove.jar}"/>
</path>
14 years, 8 months
gatein SVN: r2818 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium.
by do-not-reply@jboss.org
Author: hangnguyen
Date: 2010-04-27 05:40:50 -0400 (Tue, 27 Apr 2010)
New Revision: 2818
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html
Log:
Change script for Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html 2010-04-27 09:11:22 UTC (rev 2817)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html 2010-04-27 09:40:50 UTC (rev 2818)
@@ -18,7 +18,7 @@
</tr>
<tr>
<td>echo</td>
- <td>-Change edit right on portal page-</td>
+ <td>--Create new page for Portal--</td>
<td></td>
</tr>
<tr>
@@ -48,328 +48,203 @@
</tr>
<tr>
<td>echo</td>
- <td>--Create new page</td>
+ <td>-- Go to Page Management on menu item--</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Site</td>
+ <td>link=Page Management</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Site</td>
+ <td>link=Page Management</td>
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Choose Page Setting</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Edit Navigation</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Add Node</td>
+ <td>ownerType</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=Add Node</td>
- <td></td>
+ <td>select</td>
+ <td>ownerType</td>
+ <td>label=portal</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>name</td>
+ <td>xpath=//option[@value='portal']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name</td>
- <td>POR_22_019_name</td>
+ <td>Test_POR_22_019</td>
</tr>
<tr>
<td>type</td>
- <td>label</td>
- <td>POR_22_019_label</td>
+ <td>title</td>
+ <td>Test_POR_22_019</td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>xpath=//div[@id='UISiteManagement']/div[@class='UIPopupWindow UIDragObject']//div[@class='TabsContainer']//div[2]//div[@class='MiddleTab']</td>
+ <td>echo</td>
+ <td>--Choose Page Layout--</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UISiteManagement']/div[@class='UIPopupWindow UIDragObject']//div[@class='TabsContainer']//div[2]//div[@class='MiddleTab']</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>pageName</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
<td></td>
</tr>
<tr>
- <td>type</td>
- <td>pageTitle</td>
- <td>POR_22_019_title</td>
-</tr>
-<tr>
- <td>type</td>
- <td>pageName</td>
- <td>POR_22_019_page</td>
-</tr>
-<tr>
<td>clickAt</td>
- <td>link=Create Page</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
<td></td>
</tr>
<tr>
- <td>waitForText</td>
- <td>xpath=//div[@id='UIPageSelector2']/div[2]/div/div/table/tbody/tr[1]/td[2]</td>
- <td>exact:portal::classic::POR_22_019_page</td>
-</tr>
-<tr>
- <td>verifyText</td>
- <td>xpath=//div[@id='UIPageSelector2']/div[2]/div/div/table/tbody/tr[1]/td[2]</td>
- <td>exact:portal::classic::POR_22_019_page</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Save</td>
+ <td>echo</td>
+ <td>--Choose Page Setting--</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UISiteManagement']/div[@class='UIPopupWindow UIDragObject']//div[@id='UINavigationManagement']//div[@class='UIAction']//td[2]//div[contains(@onclick,'Save')]</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[3]//div[@class='MiddleTab']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[@id='UISiteManagement']/div[@class='UIPopupWindow UIDragObject']//div[@id='UINavigationManagement']//div[@class='UIAction']//td[2]//div[contains(@onclick,'Save')]</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[3]//div[@class='MiddleTab']</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>link=POR_22_019_label</td>
+ <td>echo</td>
+ <td>--Choose Access Permission Setting--</td>
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/private/classic/POR_22_019_name</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementNotPresent</td>
- <td>link=Add New Portal</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@class='SelectedNavigationTab']//a[contains(@href,'POR_22_019')]</td>
+ <td>link=Access Permission Setting</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Edit Page</td>
+ <td>link=Access Permission Setting</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>link=View Page properties</td>
+ <td>echo</td>
+ <td>--Choose Edit Permission Setting--</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=View Page properties</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[contains(@onclick,'PermissionSetting')]</td>
+ <td>link=Edit Permission Setting</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[contains(@onclick,'PermissionSetting')]</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>publicMode</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
<td>link=Edit Permission Setting</td>
<td></td>
</tr>
<tr>
- <td>verifyTextPresent</td>
- <td>/platform/administrators</td>
+ <td>echo</td>
+ <td>--Click Save to Finish --</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>waitForElementPresent</td>
<td>link=Save</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[@id='UIPageEditor']//a[@class='EdittedSaveButton']</td>
+ <td>link=Save</td>
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>Root Root</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>link=Sign out</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
- <td>--Login with user without edit permission on page</td>
+ <td>--Search new page created--</td>
<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>
-</tr>
-<tr>
<td>type</td>
- <td>username</td>
- <td>demo</td>
+ <td>searchTerm</td>
+ <td>Test_POR_22_019</td>
</tr>
<tr>
<td>type</td>
- <td>password</td>
- <td>gtn</td>
+ <td>searchOption</td>
+ <td>label=Title</td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>link=POR_22_019_label</td>
+ <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=POR_22_019_label</td>
+ <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
<td></td>
</tr>
<tr>
- <td>verifyElementNotPresent</td>
- <td>link=Edit Page</td>
+ <td>echo</td>
+ <td>-- Edit this page--</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>link=Sign out</td>
+ <td>click</td>
+ <td>//img[@title='Edit Page']</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=Sign out</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
- <td>--Login with user with edit permission on page</td>
+ <td>-- Go to editing portal page's properties--</td>
<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>//div[@id='UIPageEditor']/div[3]/div/div/div[1]/table/tbody/tr/td/div[1]/div/div/div/div</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>username</td>
+ <td>echo</td>
+ <td>--Choose Permission Setting tab--</td>
<td></td>
</tr>
<tr>
- <td>type</td>
- <td>username</td>
- <td>john</td>
-</tr>
-<tr>
- <td>type</td>
- <td>password</td>
- <td>gtn</td>
-</tr>
-<tr>
<td>clickAt</td>
- <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>//div[(a)onclick="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>link=POR_22_019_label</td>
+ <td>echo</td>
+ <td>--Choose Edit Permission Setting--</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Page</td>
+ <td>link=Edit Permission Setting</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//a[@class='ItemIcon EditPageIcon']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=View Page properties</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=View Page properties</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>xpath=//div[contains(@onclick,'PermissionSetting')]</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>xpath=//div[contains(@onclick,'PermissionSetting')]</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>publicMode</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Choose permission to let only Guests edit this page</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
<td>link=Edit Permission Setting</td>
- <td></td>
+ <td>1,1</td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -379,7 +254,7 @@
<tr>
<td>clickAt</td>
<td>link=Select Permission</td>
- <td></td>
+ <td>1,1</td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -393,176 +268,61 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Guests</td>
+ <td>link=Administrators</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Guests</td>
+ <td>link=Administrators</td>
<td></td>
</tr>
<tr>
- <td>verifyElementPresent</td>
- <td>xpath=//a[contains(@href,'objectId=/platform/guests')]</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=member</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@class='OverflowContainer']/div[@class='Info']</td>
+ <td>link=manager</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Save</td>
+ <td>link=manager</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//a[@class='EdittedSaveButton']</td>
- <td></td>
+ <td>waitForText</td>
+ <td>xpath=//div[@id='UIPermissionSelector']/div/div[2]/div[1]/div[3]/div[2]</td>
+ <td>exact:manager</td>
</tr>
<tr>
- <td>echo</td>
- <td>--Verify User doesn't have edit rights anymore for this page</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>link=Site Editor</td>
+ <td>link=Save</td>
<td></td>
</tr>
<tr>
- <td>verifyElementNotPresent</td>
- <td>link=Edit Page</td>
- <td></td>
-</tr>
-<tr>
<td>clickAt</td>
- <td>link=Sign out</td>
+ <td>link=Save</td>
<td></td>
</tr>
<tr>
<td>echo</td>
- <td>--Login with Guest profile - with edit permission on page</td>
+ <td>--Click Finish--</td>
<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>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>username</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>username</td>
- <td>demo</td>
-</tr>
-<tr>
- <td>type</td>
- <td>password</td>
- <td>gtn</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
- <td>--Verify Guest has edit rights</td>
+ <td>--Delete page--</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=POR_22_019_label</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTitle</td>
- <td>POR_22_019*</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Edit Page</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>link=View Page properties</td>
+ <td>xpath=//img[@title='Delete Page']</td>
<td></td>
</tr>
<tr>
- <td>verifyElementPresent</td>
- <td>link=View Page properties</td>
- <td></td>
-</tr>
-<tr>
<td>clickAt</td>
- <td>xpath=//a[@class='SaveButton']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Sign out</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Delete Page</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Sign in</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>username</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>username</td>
- <td>root</td>
-</tr>
-<tr>
- <td>type</td>
- <td>password</td>
- <td>gtn</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Page Management</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Access Permission</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
<td>xpath=//img[@title='Delete Page']</td>
<td></td>
</tr>
@@ -572,46 +332,21 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=Site</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>link=Edit Navigation</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Edit Navigation</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//a[@title='POR_22_019_label']</td>
+ <td>echo</td>
+ <td>--Sign out--</td>
<td></td>
</tr>
<tr>
- <td>componentExoContextMenu</td>
- <td>//a[@title='POR_22_019_label']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Delete Node</td>
- <td></td>
-</tr>
-<tr>
- <td>assertConfirmation</td>
- <td>Are you sure you want to delete this node?</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Save</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>link=Sign out</td>
<td></td>
14 years, 8 months
gatein SVN: r2817 - components/wci/tags/2.0.1-GA/test/servers/jboss51/src/integration-tests.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2010-04-27 05:11:22 -0400 (Tue, 27 Apr 2010)
New Revision: 2817
Modified:
components/wci/tags/2.0.1-GA/test/servers/jboss51/src/integration-tests/build.xml
Log:
Increase timeout for JBoss 5
Modified: components/wci/tags/2.0.1-GA/test/servers/jboss51/src/integration-tests/build.xml
===================================================================
--- components/wci/tags/2.0.1-GA/test/servers/jboss51/src/integration-tests/build.xml 2010-04-27 09:08:54 UTC (rev 2816)
+++ components/wci/tags/2.0.1-GA/test/servers/jboss51/src/integration-tests/build.xml 2010-04-27 09:11:22 UTC (rev 2817)
@@ -33,6 +33,7 @@
home="${test.cargo.home}"
log="${cargo.log.dir}/cargo.${test.id}.start.log"
action="start"
+ timeout="240000"
wait="${cargo.wait}">
<sharedClasspath>
<path refid="server.libs"/>
14 years, 8 months
gatein SVN: r2816 - components/wci/trunk/test/servers/jboss51/src/integration-tests.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2010-04-27 05:08:54 -0400 (Tue, 27 Apr 2010)
New Revision: 2816
Modified:
components/wci/trunk/test/servers/jboss51/src/integration-tests/build.xml
Log:
Change timeout for JBoss 5
Modified: components/wci/trunk/test/servers/jboss51/src/integration-tests/build.xml
===================================================================
--- components/wci/trunk/test/servers/jboss51/src/integration-tests/build.xml 2010-04-27 08:40:23 UTC (rev 2815)
+++ components/wci/trunk/test/servers/jboss51/src/integration-tests/build.xml 2010-04-27 09:08:54 UTC (rev 2816)
@@ -33,6 +33,7 @@
home="${test.cargo.home}"
log="${cargo.log.dir}/cargo.${test.id}.start.log"
action="start"
+ timeout="240000"
wait="${cargo.wait}">
<sharedClasspath>
<path refid="server.libs"/>
14 years, 8 months
gatein SVN: r2815 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium.
by do-not-reply@jboss.org
Author: hangnguyen
Date: 2010-04-27 04:40:23 -0400 (Tue, 27 Apr 2010)
New Revision: 2815
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09_ImportApplication.html
Log:
Change script for Test_SNF_PRL_09_ImportApplication.html
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09_ImportApplication.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09_ImportApplication.html 2010-04-27 08:10:52 UTC (rev 2814)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_09_ImportApplication.html 2010-04-27 08:40:23 UTC (rev 2815)
@@ -4,12 +4,12 @@
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
-<title>_09dung</title>
+<title>Test_SNF_PRL_09_ImportApplication</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1" colspan="3">_09dung</td></tr>
+<tr><td rowspan="1" colspan="3">Test_SNF_PRL_09_ImportApplication</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -37,26 +37,56 @@
<td>gtn</td>
</tr>
<tr>
- <td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>echo</td>
+ <td>--Go to Application Registry--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>link=Application Registry</td>
<td></td>
</tr>
<tr>
- <td>click</td>
- <td>//div[@onclick="javascript:if(confirm('This action will automatically create categories and import all the gadgets and portlets on it.'))ajaxGet('/portal/private/classic/administration/registry?portal:componentId=6ab1d351-d18c-42c0-8c59-94bc2d12f83b&portal:type=action&uicomponent=UIApplicationOrganizer&op=ImportAllApplications&ajaxRequest=true')"]</td>
+ <td>clickAt</td>
+ <td>link=Application Registry</td>
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Click Import Application--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIApplicationRegistryPortlet']/div[2]/div[2]/div/div/div[2]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIApplicationRegistryPortlet']/div[2]/div[2]/div/div/div[2]</td>
+ <td></td>
+</tr>
+<tr>
<td>assertConfirmation</td>
<td>This action will automatically create categories and import all the gadgets and portlets on it.</td>
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Sign out--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Sign out</td>
<td></td>
14 years, 8 months