RestoreAPArchivedSetupActionsTest
open /web/guest/home/
waitForVisible link=Asset Publisher Test Page Asset Publisher Test Page
clickAtAndWait link=Asset Publisher Test Page Asset Publisher Test Page
assertText //strong/a Options
clickAt //strong/a Options
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Configuration
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Configuration
click //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Configuration
waitForVisible //div[@class='archived-setups']/span/a/span Archive/Restore Setup
assertText //div[@class='archived-setups']/span/a/span Archive/Restore Setup
clickAtAndWait //div[@class='archived-setups']/span/a/span Archive/Restore Setup
assertText //tr[3]/td[1] Archive Name
assertText //tr[3]/td[2] Joe Bloggs
assertText //span[@title='Actions']/ul/li/strong/a Actions
clickAt //span[@title='Actions']/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[1]/a Restore
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[1]/a Restore
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[1]/a Restore
assertText //div[@class='portlet-msg-success'] You have successfully updated the setup.
open /web/guest/home/
waitForElementPresent link=Asset Publisher Test Page Asset Publisher Test Page
clickAtAndWait link=Asset Publisher Test Page Asset Publisher Test Page
assertText //strong/a Options
clickAt //strong/a Options
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Configuration
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Configuration
click //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Configuration
waitForVisible //select[@id='_86_selectionStyle'] Asset Selection
assertSelectedLabel //select[@id='_86_selectionStyle'] Manual
assertText //div[@class='lfr-panel-title']/span Selection
assertText xPath=(//div[@class='lfr-panel-title'])[2]/span Display Settings