Test_USR_PLF_BUI_AIW_02_CheckUpdateMySpaceGadget
windowMaximize
open /portal/public/intranet/
waitForElementPresent //div[@id='UIPresentationContainer']/div[2]/div[2]/div/div/div/div
click //div[@id='UIPresentationContainer']/div[2]/div[2]/div/div/div/div
waitForElementPresent name=username
type name=username demo
type name=password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']/div/div/div
waitForElementPresent link=Show all
click link=Show all
waitForElementPresent link=Add New Space
click link=Add New Space
waitForElementPresent id=name
type id=name USR PLF BUI AIW 02
waitForElementPresent link=Create
click link=Create
waitForTextPresent USR PLF BUI AIW 02
verifyTextPresent USR PLF BUI AIW 02
clickAndWait link=Home
verifyElementPresent link=USR PLF BUI AIW 02
waitForElementPresent link=Show all
click link=Show all
waitForElementPresent //div[@id='UIManageMySpaces']/div[2]/div[2]/div/div/a
click //div[@id='UIManageMySpaces']/div[2]/div[2]/div/div/a
assertConfirmation Are you sure to delete this space? This can not be undone. All page navigations and this group will be deleted, too.
clickAndWait link=Home
verifyTextNotPresent USR PLF BUI AIW 02
waitForTextNotPresent USR PLF BUI AIW 02
clickAndWait link=Logout