| TearDownTest | ||
| waitForElementPresent | link=Edited Second Folder Test | |
| clickAndWait | link=Edited Second Folder Test | |
| waitForElementPresent | link=Second Test Subfolder | |
| clickAndWait | link=Second Test Subfolder | |
| waitForElementPresent | //div[@id='portlet-wrapper-20']/div[2]/div/div/form[2]/div[3]/table/tbody/tr[2]/td[5]/ul/li/strong/span | |
| click | //div[@id='portlet-wrapper-20']/div[2]/div/div/form[2]/div[3]/table/tbody/tr[2]/td[5]/ul/li/strong/span | |
| waitForElementPresent | link=Delete | |
| clickAndWait | link=Delete | |
| assertConfirmation | Are you sure you want to delete this? | |
| assertTextNotPresent | Test Document.txt This is a test document! |
|
| assertTextPresent | Your request processed successfully. | |
| waitForElementPresent | link=Edited Second Folder Test | |
| clickAndWait | link=Edited Second Folder Test | |
| waitForElementPresent | //li[2]/ul/li/strong/span | |
| click | //li[2]/ul/li/strong/span | |
| waitForElementPresent | link=Delete | |
| clickAndWait | link=Delete | |
| assertConfirmation | Are you sure you want to delete this? | |
| assertElementNotPresent | link=Second Test Subfolder | |
| assertTextPresent | Your request processed successfully. | |
| waitForElementPresent | //span[1]/a | |
| clickAndWait | //span[1]/a | |
| waitForElementPresent | //li[2]/ul/li/strong/span | |
| click | //li[2]/ul/li/strong/span | |
| waitForElementPresent | //div[2]/ul/li[3]/nobr/a | |
| clickAndWait | //div[2]/ul/li[3]/nobr/a | |
| assertConfirmation | Are you sure you want to delete this? | |
| assertElementNotPresent | link=Edited Second Folder Test | |
| assertTextPresent | Your request processed successfully. | |
| waitForElementPresent | link=Test Folder | |
| clickAndWait | link=Test Folder | |
| waitForElementPresent | //li[2]/ul/li/strong/span | |
| click | //li[2]/ul/li/strong/span | |
| waitForElementPresent | link=Delete | |
| clickAndWait | link=Delete | |
| assertConfirmation | Are you sure you want to delete this? | |
| assertElementNotPresent | link=Test Subfolder | |
| assertTextPresent | Your request processed successfully. | |
| waitForElementPresent | //span[1]/a | |
| clickAndWait | //span[1]/a | |
| waitForElementPresent | //div[@id='portlet-wrapper-20']/div[2]/div/div/form/ul[2]/li[2]/ul/li/strong/span | |
| click | //div[@id='portlet-wrapper-20']/div[2]/div/div/form/ul[2]/li[2]/ul/li/strong/span | |
| waitForElementPresent | link=Delete | |
| clickAndWait | link=Delete | |
| assertConfirmation | Are you sure you want to delete this? | |
| assertElementNotPresent | link=Test Folder | |
| assertTextPresent | Your request processed successfully. | |
| clickAndWait | link=Return to Full Page | |
| waitForElementPresent | //img[@alt='Remove'] | |
| click | //img[@alt='Remove'] | |
| assertConfirmation | Are you sure you want to remove this component? | |
| assertElementNotPresent | //input[@value='Add Folder'] | |
| waitForElementPresent | //div[2]/ul/li[1]/a | |
| clickAndWait | //div[2]/ul/li[1]/a | |
| waitForElementPresent | link=Manage Pages | |
| clickAndWait | link=Manage Pages | |
| waitForElementPresent | //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[3]/a/span | |
| clickAndWait | //div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[3]/a/span | |
| waitForElementPresent | link=Page | |
| clickAndWait | link=Page | |
| waitForElementPresent | //input[@value='Delete'] | |
| clickAndWait | //input[@value='Delete'] | |
| assertConfirmation | Are you sure you want to delete the selected page? | |
| assertTextPresent | Your request processed successfully. | |
| waitForElementPresent | //div[2]/ul/li[1]/a | |
| clickAndWait | //div[2]/ul/li[1]/a | |
| assertElementNotPresent | link=Document Library Test Page | |