SelectExistingIGFolderImageAPActionsTest
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
pause 5000
waitForVisible //span[2]/ul/li/strong/a/span Select Existing
assertText //span[2]/ul/li/strong/a/span Select Existing
clickAt //span[2]/ul/li/strong/a/span Select Existing
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Image Gallery Image
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Image Gallery Image
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Image Gallery Image
assertText //td[1]/a IG Folder Image Name
clickAtAndWait //td[1]/a IG Folder Image Name
assertText //div[@class='portlet-msg-success'] You have successfully updated the setup.
assertText //td[1]/a Image Gallery Image
assertElementPresent //img[@alt='IG Folder Image Name'] IG Folder Image Name
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 //h3[@class='asset-title']/a IG Folder Image Name
assertElementPresent //img[@class='asset-small-image'] IG Folder Image Name