From do-not-reply at jboss.org Thu Jun 24 02:36:55 2010 Content-Type: multipart/mixed; boundary="===============0815184641744367743==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: gatein-commits at lists.jboss.org Subject: [gatein-commits] gatein SVN: r3449 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues. Date: Thu, 24 Jun 2010 02:36:54 -0400 Message-ID: <201006240636.o5O6ashL017935@svn01.web.mwc.hst.phx2.redhat.com> --===============0815184641744367743== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hangnguyen Date: 2010-06-24 02:36:54 -0400 (Thu, 24 Jun 2010) New Revision: 3449 Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/issues/Test_POR_20_020_CreateSameNameGroupPagesInDifferentGrou= ps.html Log: Move script to issues folder Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/issues/Test_POR_20_020_CreateSameNameGroupPagesInDifferent= Groups.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/issues/Test_POR_20_020_CreateSameNameGroupPagesInDifferentGro= ups.html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/issues/Test_POR_20_020_CreateSameNameGroupPagesInDifferentGro= ups.html 2010-06-24 06:36:54 UTC (rev 3449) @@ -0,0 +1,447 @@ + + + + + + +Test_POR_20_020_CreateSameNameGroupPagesInDifferentGroups + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_20_020_CreateSameNameGroupPag= esInDifferentGroups
open/portal/public/classic/
echo--Go to Page Management--
windowMaximize
clickAtlink=3DSign in
waitForElementPresentusernameroot
typeusernameroot
typepasswordgtn
clickAtxpath=3D//div[@id=3D'UIPortalLoginFormAction']/div/div/div
echo--Select Page Mangement on menu item--
waitForElementPresentlink=3DPage Management
clickAtlink=3DPage Management
echo--Add new page for group 1--
waitForElementPresentxpath=3D//div[@id=3D'UIPageBrowser']/div[2]/table/tbody/tr/td/div/div= /div/div/a
clickAtxpath=3D//div[@id=3D'UIPageBrowser']/div[2]/table/tbody/tr/td/div/div= /div/div/a
waitForElementPresentownerType
selectownerTypelabel=3Dgroup
waitForElementPresentxpath=3D//option[@value=3D'group']
clickAtxpath=3D//option[@value=3D'group']
selectownerIdlabel=3D/platform/users
waitForElementPresentxpath=3D//option[@value=3D'/platform/users']
clickAtxpath=3D//option[@value=3D'/platform/users']
waitForElementPresentname
selectownerTypelabel=3Dgroup
waitForElementPresentname
typenamePOR_20_020
typetitlePOR_20_020
echo--Choose Page layout--
waitForElementPresentxpath=3D//div[@id=3D'UIPortalApplication']/div[@id=3D'UIMaskWorkspace= ']/div[@class=3D'MiddleLeftDecorator']//div[@class=3D'TabsContainer']/div[2= ]//div[@class=3D'MiddleTab']
clickAtxpath=3D//div[@id=3D'UIPortalApplication']/div[@id=3D'UIMaskWorkspace= ']/div[@class=3D'MiddleLeftDecorator']//div[@class=3D'TabsContainer']/div[2= ]//div[@class=3D'MiddleTab']
echo-- Choose Permission Setting--
waitForElementPresentxpath=3D//div[@onclick=3D"eXo.webui.UIHorizontalTabs.changeTabFo= rUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.= webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=3DUIPageTe= mplateOptions')"]
clickAtxpath=3D//div[@onclick=3D"eXo.webui.UIHorizontalTabs.changeTabFo= rUIFormTabpane(this, 'UIPageForm', 'PermissionSetting');javascript:eXo.webu= i.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=3DPermissionSe= tting')"]
echo--Choose Access Permission Setting--
clicklink=3DAccess Permission Setting
echo--Edit permission Setting--
waitForElementPresentlink=3DEdit Permission Setting
clickAtlink=3DEdit Permission Setting
waitForElementPresentlink=3DSave
clickAtlink=3DSave
echo--Add new page for group 2--
waitForElementPresentxpath=3D//div[@id=3D'UIPageBrowser']/div[2]/table/tbody/tr/td/div/div= /div/div/a
clickAtxpath=3D//div[@id=3D'UIPageBrowser']/div[2]/table/tbody/tr/td/div/div= /div/div/a
waitForElementPresentownerType
selectownerTypelabel=3Dgroup
waitForElementPresentxpath=3D//option[@value=3D'group']
clickAtxpath=3D//option[@value=3D'group']
selectownerIdlabel=3D/organization
waitForElementPresentxpath=3D//option[@value=3D'/organization']
clickAtxpath=3D//option[@value=3D'/organization']
waitForElementPresentname
waitForElementPresentname
typenamePOR_20_020
typetitlePOR_20_020
echo--Choose Page Layout--
click//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div= /div/div/div/div[2]/div/div/div/div
echo--Choose Psermission Setting--
click//div[@id=3D'UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div= /div/div/div/div[3]/div/div/div/div
echo--Choose Access Permission Setting--
waitForElementPresentlink=3DAccess Permission Setting
clickAtlink=3DAccess Permission Setting
echo--Choose Edit Permission Setting--
waitForElementPresentlink=3DEdit Permission Setting
clickAtlink=3DEdit Permission Setting
waitForElementPresentlink=3DSave
clickAtlink=3DSave
echo--Search new page created--
waitForElementPresentsearchTerm
typesearchTermPOR_20_020
selectsearchOptionlabel=3DTitle
waitForElementPresentxpath=3D//form[@id=3D'UIPageSearch']/div[2]/a
clickAtxpath=3D//form[@id=3D'UIPageSearch']/div[2]/a
echo-- https://jira.jboss.org/browse/GTNPORTAL-1304--
echo--Delete page of group 2--
waitForElementPresentxpath=3D//img[@title=3D'Delete Page']
clickAtxpath=3D//img[@title=3D'Delete Page']
assertConfirmationDo you want to delete this page?
waitForElementPresentxpath=3D//div[@id=3D'UIPortalApplication']/div[@class=3D'UIPopupWindo= w UIDragObject']//div[@class=3D'MiddleLeftSideDecorator']//div[@class=3D'UI= PopupMessages']/div[@class=3D'MessageActionBar']//a
clickAtxpath=3D//div[@id=3D'UIPortalApplication']/div[@class=3D'UIPopupWindo= w UIDragObject']//div[@class=3D'MiddleLeftSideDecorator']//div[@class=3D'UI= PopupMessages']/div[@class=3D'MessageActionBar']//a
echo--Delete page of group 1--
waitForElementPresentxpath=3D//img[@title=3D'Delete Page']
clickAtxpath=3D//img[@title=3D'Delete Page']
assertConfirmationDo you want to delete this page?
waitForElementPresentxpath=3D//div[@id=3D'UIPortalApplication']/div[@class=3D'UIPopupWindo= w UIDragObject']//div[@class=3D'MiddleLeftSideDecorator']//div[@class=3D'UI= PopupMessages']/div[@class=3D'MessageActionBar']//a
clickAtxpath=3D//div[@id=3D'UIPortalApplication']/div[@class=3D'UIPopupWindo= w UIDragObject']//div[@class=3D'MiddleLeftSideDecorator']//div[@class=3D'UI= PopupMessages']/div[@class=3D'MessageActionBar']//a
waitForElementPresentlink=3DSign out
clickAtlink=3DSign out
+ + --===============0815184641744367743==--