SelectExistingWCWebContentAPActionsTest
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[5]/a Web Content
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Web Content
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[5]/a Web Content
assertText //td[1]/a WC Web Content Name
clickAtAndWait //td[1]/a WC Web Content Name
assertText //div[@class='portlet-msg-success'] You have successfully updated the setup.
assertText //td[1]/a Web Content
assertText //td[2]/a WC Web Content 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 WC Web Content Name
assertText //div[@class='asset-summary'] WC Web Content Content