RestoreArchivedSetupTest
open /web/guest/home/
waitForElementPresent link=Polls Display Test Page
clickAtAndWait link=Polls Display Test Page
clickAtAndWait link=Configuration
clickAtAndWait link=Archived
assertText //tr[3]/td[1] Archived Setup
click //strong/span
waitForElementPresent link=Restore
clickAtAndWait link=Restore
assertTextPresent Your request processed successfully.
open /web/guest/home/
waitForElementPresent link=Polls Display Test Page
clickAtAndWait link=Polls Display Test Page
assertElementNotPresent //tr[2]/td[1]/input
assertElementNotPresent //tr[2]/td[1]/input
assertElementNotPresent //tr[3]/td[1]/input
assertTextNotPresent Test Choice A
assertTextNotPresent Test Choice B
assertTextNotPresent Test Choice C
assertTextPresent Please contact the administrator to setup this portlet. If you are the administrator, go to the configuration screen to setup this portlet.