Test_SNF_PRL_56_ChangeSiteConfigWhenEditLayoutForUserPage
open /portal/public/intranet/
echo -- Add new page for user --
windowMaximize
click //div[contains(text(),'Sign in')]
waitForElementPresent username
type username root
type password gtn
echo --Login
clickAndWait link=Sign in
echo --Dashboard
waitForElementPresent link=Dashboard
clickAndWait link=Dashboard
echo -- Click Add new page on Dashboard editor menu--
waitForElementPresent link=Add New Page
click link=Add New Page
waitForElementPresent pageName
type pageName Test_SNF_PRL_56
type pageDisplayName Test_SNF_PRL_56
echo -- Click Next to move step 2--
waitForElementPresent //a[@title='Step 2']
click //a[@title='Step 2']
echo -- Keep empty layout and click Next move step 3--
waitForElementPresent //a[@title='Step 3']
click //a[@title='Step 3']
echo -- Click Finish --
waitForElementPresent //div[@id='UIPageEditor']//a[@title='Finish']
clickAndWait //div[@id='UIPageEditor']//a[@title='Finish']
waitForLocation */portal/private/intranet/Test_SNF_PRL_56
assertLocation */portal/private/intranet/Test_SNF_PRL_56
echo -- 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=officeSkin
echo -- Choose Properties--
waitForElementPresent //div[text()='Properties']
click //div[text()='Properties']
echo -- Save
waitForElementPresent link=Save
click link=Save
echo -- Finish change in Site config's portal --
waitForElementPresent //a[@title='Finish']
click //a[@title='Finish']
echo -- Delete new tab: Test_SNF_PRL_56
waitForElementPresent //span[text()='Test_SNF_PRL_56']/following::a[contains(@href,'Test_SNF_PRL_56')]/img[@alt='DEL']
clickAndWait //span[text()='Test_SNF_PRL_56']/following::a[contains(@href,'Test_SNF_PRL_56')]/img[@alt='DEL']
waitForConfirmationPresent
assertConfirmation Really want to remove this dashboard?
echo -- Logout
waitForElementPresent link=Logout
clickAndWait link=Logout