From do-not-reply at jboss.org Mon Jun 28 22:52:51 2010 Content-Type: multipart/mixed; boundary="===============2866949341801654266==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: gatein-commits at lists.jboss.org Subject: [gatein-commits] gatein SVN: r3512 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues. Date: Mon, 28 Jun 2010 22:52:51 -0400 Message-ID: <201006290252.o5T2qpHR029814@svn01.web.mwc.hst.phx2.redhat.com> --===============2866949341801654266== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hangnguyen Date: 2010-06-28 22:52:51 -0400 (Mon, 28 Jun 2010) New Revision: 3512 Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/por= tal/selenium/issues/Test_POR_14_07_001_CheckCloneNodeDoesNotContainSubNode.= html Log: Move script to issues folder Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform= /portal/selenium/issues/Test_POR_14_07_001_CheckCloneNodeDoesNotContainSubN= ode.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_14_07_001_CheckCloneNodeDoesNotContainSubNode= .html (rev 0) +++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/po= rtal/selenium/issues/Test_POR_14_07_001_CheckCloneNodeDoesNotContainSubNode= .html 2010-06-29 02:52:51 UTC (rev 3512) @@ -0,0 +1,582 @@ + + + + + + +Test_POR_14_07_001_CheckCloneNodeDoesNotContainSubNode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test_POR_14_07_001_CheckCloneNodeDoesN= otContainSubNode
open/portal/public/classic/
echo--Login portal--
windowMaximize
clickAtlink=3DSign in
waitForElementPresentusername
typeusernameroot
typepasswordgtn
clickAndWait//div[@id=3D'UIPortalLoginFormAction']/div/div/div/a
echo--Open Site Menu Editor--
clickAndWaitlink=3DSite
echo--Add new page --
waitForElementPresentlink=3DAdd New Page
clickAtlink=3DAdd New Page
waitForElementPresent//a[@class=3D'NodeIcon DefaultPageIcon' and @title=3D'Home']
clickAt//a[@class=3D'NodeIcon DefaultPageIcon' and @title=3D'Home']
waitForElementPresentpageName
typepageNameTest_POR_14_07_001
typepageDisplayNameTest_POR_14_07_001
echo--Click Next to move to step 2
waitForElementPresent//div[@id=3D'UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div= /table/tbody/tr/td/div[2]/div/div/div
clickAt//div[@id=3D'UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div= /table/tbody/tr/td/div[2]/div/div/div
echo--Click Next to move to step 3, keep Empty layout
waitForElementPresent//div[@id=3D'UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div= /table/tbody/tr/td/div[2]/div/div/div
clickAt//div[@id=3D'UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div= /table/tbody/tr/td/div[2]/div/div/div
echo--Click Save to complete adding page
waitForElementPresent//div[@id=3D'UIPageEditor']/div[1]/div/div/div/a[2]
clickAt//div[@id=3D'UIPageEditor']/div[1]/div/div/div/a[2]
echo--Open Navigation Menu--
waitForElementPresentlink=3DSite
clickAndWaitlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
echo--Clone a node--
click//div[2]/div/div/div[2]/div[2]/div/div/a
mouseDownRight//a[@class=3D'NodeIcon DefaultPageIcon NodeSelected' and @title=3D'Te= st_POR_14_07_001']
waitForElementPresentlink=3DClone Node
clickAtlink=3DClone Node
echo--Paste Clone node--
waitForElementPresent//div[@class=3D'HomeNode']
mouseDownRight//div[@class=3D'HomeNode']
waitForElementPresent//div[@class=3D"UIContextMenuContainer"]/div[2]/div/div/div= [2]//a
clickAt//div[@class=3D"UIContextMenuContainer"]/div[2]/div/div/div= [2]//a
waitForElementPresentlink=3DSave
clickAtlink=3DSave
echo-- Edit this node after clone node--
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[8]/div/a
mouseDownRight//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[8]/div/a
waitForElementPresentlink=3DEdit this Node
clickAtlink=3DEdit this Node
echo-- Choose Page Node Setting--
echo--Choose Page Selector--
waitForElementPresent//div[@class=3D'UIFormTabPane']//div[@class=3D'TabsContainer']/div[2]= /div/div/div/div
clickAt//div[@class=3D'UIFormTabPane']//div[@class=3D'TabsContainer']/div[2]= /div/div/div/div
waitForElementPresentlink=3DSearch and Select Page
clickAtlink=3DSearch and Select Page
waitForElementPresentxpath=3D//img[@title=3D'Select Page']
clickAtxpath=3D//img[@title=3D'Select Page']
echo-- Save after choose another page--
waitForElementPresentlink=3DSave
clickAtlink=3DSave
echo-- Save to close Naviation Management form--
waitForElementPresentlink=3DSave
clickAtlink=3DSave
echo-- Show content of clone node after change--
waitForElementPresent//div[@id=3D'PortalNavigationTopContainer']/div[3]/div/div/div/div/di= v/div//a
clickAt//div[@id=3D'PortalNavigationTopContainer']/div[3]/div/div/div/div/di= v/div//a
echo-- Check content of original node's page--
waitForElementPresentlink=3DTest_POR_14_07_001
clickAtlink=3DTest_POR_14_07_001
echo--Check page list in Manage Page--
waitForElementPresentlink=3DPage Management
clickAtlink=3DPage Management
echo-- Check existing of page with title 'Test_POR_14_07_001'--
waitForElementPresentsearchTerm
typesearchTermTest_POR_14_07_001
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--
waitForElementPresentxpath=3D//img[@title=3D'Delete Page']
clickAtxpath=3D//img[@title=3D'Delete Page']
assertConfirmationDo you want to delete this page?
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 (node)--
waitForElementPresentlink=3DSite
clickAndWaitlink=3DSite
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[8]/div/a
mouseDownRight//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[8]/div/a
waitForElementPresentlink=3DDelete Node
clickAtlink=3DDelete Node
assertConfirmationAre you sure you want to delete this node?
waitForElementPresentlink=3DSave
clicklink=3DSave
waitForElementPresentlink=3DEdit Navigation
clickAtlink=3DEdit Navigation
waitForElementPresent//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[2]/div[2]/div/div/a
mouseDownRight//div[@id=3D'UINavigationNodeSelector']/div/div/div/div[2]/div/div/di= v[2]/div[2]/div/div/a
waitForElementPresentlink=3DDelete Node
clickAtlink=3DDelete Node
waitForConfirmationAre you sure you want to delete this node?
waitForElementPresentlink=3DSave
clicklink=3DSave
echo--Sign out --
clickAndWaitlink=3DSign out
+ + --===============2866949341801654266==--