Test_SNF_PRL_41_ChangeSiteConfigWhenEditlayOutForGroupPage
open /portal/public/classic/
echo -- Change site's config when edit layout for group's page--
windowMaximize
click link=Sign in
waitForElementPresent username root
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']
clickAndWait link=Application Registry
echo -- Click Add new page on Group editor menu--
waitForElementPresent link=Add New Page
click link=Add New Page
waitForElementPresent //div[@id='UIPageNodeSelector']//a[@title='Up Level']
click //div[@id='UIPageNodeSelector']//a[@title='Up Level']
waitForElementPresent pageName
type pageName Test_SNF_PRL_41
type i18nizedLabel Test_SNF_PRL_41
echo -- Click Next to move step 2--
waitForElementPresent //div[contains(text(),'Next')]
click //div[contains(text(),'Next')]
echo -- Keep empty layout and click Next move step 3--
waitForElementPresent //div[contains(text(),'Next')]
click //div[contains(text(),'Next')]
echo -- Click Finish --
waitForElementPresent //a[@title='Finish']
clickAndWait //a[@title='Finish']
open http://localhost:8080/portal/classic/Test_SNF_PRL_41
echo -- Click Edit layout --
waitForElementPresent link=Edit Layout
click link=Edit Layout
echo -- Click Site's config from edit inline composer--
waitForElementPresent link=Site's Config
click link=Site's Config
echo -- Make change something --
waitForElementPresent locale
select locale label=French
waitForElementPresent skin
select skin label=SimpleSkin
echo -- Choose Properties--
click //div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div
echo -- Choose Permission Setting --
waitForElementPresent //div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div
click //div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div/div/div/div/div/div[3]/div/div/div/div
echo -- Change permission --
waitForElementPresent link=Edit Permission Setting
click link=Edit Permission Setting
waitForElementPresent link=Delete Permission
click link=Delete Permission
waitForElementPresent link=Select Permission
click link=Select Permission
waitForElementPresent link=Platform
click link=Platform
waitForElementPresent link=Administrators
click link=Administrators
waitForElementPresent link=exact:*
click link=exact:*
waitForElementPresent link=Save
click link=Save
echo -- Finish change in Site config's portal --
waitForElementPresent //div[@id='UIPortalComposer']//a[@title='Finish']
click //div[@id='UIPortalComposer']//a[@title='Finish']
waitForElementPresent link=Test_SNF_PRL_41
clickAndWait link=Test_SNF_PRL_41
echo -- Go to Edit Navigation --
clickAndWait link=Group
waitForElementPresent //td/div[text()='Administrators']/ancestor::tr/td/a[text()='Edit Navigation']
click //td/div[text()='Administrators']/ancestor::tr/td/a[text()='Edit Navigation']
echo -- Delete node --
waitForElementPresent //a[@class='NodeIcon DefaultPageIcon' and @title='Test_SNF_PRL_41']
mouseDownRight //a[@class='NodeIcon DefaultPageIcon' and @title='Test_SNF_PRL_41']
waitForElementPresent link=Delete Node
click link=Delete Node
waitForConfirmationPresent
assertConfirmation Are you sure you want to delete this node?
waitForElementPresent link=Save
click link=Save
echo -- Go to Page Management --
clickAndWait link=Page Management
waitForElementPresent pageTitle
type pageTitle Test_SNF_PRL_41
select name=searchOption label=group
waitForElementPresent //a[@title='Quick Search']
click //a[@title='Quick Search']
echo -- Delete page --
waitForElementPresent //img[@title='Delete Page']
click //img[@title='Delete Page']
waitForConfirmationPresent
assertConfirmation Do you want to delete this page?
waitForTextPresent No result found.
verifyTextPresent No result found.
waitForElementPresent //div[contains(@onclick,"action=Close")]
click //div[contains(@onclick,"action=Close")]
echo - Return to default skin -
echo -- Click Edit layout --
waitForElementPresent link=Edit Layout
click link=Edit Layout
echo -- Click Site's config from edit inline composer--
waitForElementPresent link=Site's Config
click link=Site's Config
echo -- Make change something --
waitForElementPresent skin
select skin label=Default
waitForElementPresent link=Save
click link=Save
echo -- Finish change in Site config's portal --
waitForElementPresent //div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]
click //div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]
waitForElementPresent link=Sign out
clickAndWait link=Sign out