TearDownWikiNodeTest
open /web/guest/home/
waitForElementPresent link=Control Panel Control Panel
clickAtAndWait link=Control Panel Control Panel
clickAtAndWait link=Wiki Wiki
store eval(selenium.isElementPresent('//tr[4]/td[4]/span/ul/li/strong/a')) wikiNode1Present
gotoIf !${wikiNode1Present} WikiNode1NotPresent
assertText //tr[4]/td[4]/span/ul/li/strong/a Actions
clickAt //tr[4]/td[4]/span/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertConfirmation Are you sure you want to delete this?
label WikiNode1NotPresent
store eval(selenium.isElementPresent('//tr[4]/td[4]/span/ul/li/strong/a')) wikiNode2Present
gotoIf !${wikiNode2Present} WikiNode2NotPresent
assertText //tr[4]/td[4]/span/ul/li/strong/a Actions
clickAt //tr[4]/td[4]/span/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertConfirmation Are you sure you want to delete this?
label WikiNode2NotPresent
store eval(selenium.isElementPresent('//tr[4]/td[4]/span/ul/li/strong/a')) wikiNode3Present
gotoIf !${wikiNode3Present} WikiNode3NotPresent
assertText //tr[4]/td[4]/span/ul/li/strong/a Actions
clickAt //tr[4]/td[4]/span/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertConfirmation Are you sure you want to delete this?
label WikiNode3NotPresent
store eval(selenium.isElementPresent('//tr[4]/td[4]/span/ul/li/strong/a')) wikiNode4Present
gotoIf !${wikiNode4Present} WikiNode4NotPresent
assertText //tr[4]/td[4]/span/ul/li/strong/a Actions
clickAt //tr[4]/td[4]/span/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertConfirmation Are you sure you want to delete this?
label WikiNode4NotPresent
store eval(selenium.isElementPresent('//tr[4]/td[4]/span/ul/li/strong/a')) wikiNode5Present
gotoIf !${wikiNode5Present} WikiNode5NotPresent
assertText //tr[4]/td[4]/span/ul/li/strong/a Actions
clickAt //tr[4]/td[4]/span/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertConfirmation Are you sure you want to delete this?
label WikiNode5NotPresent
assertText //td[4]/span/ul/li/strong/a Actions
clickAt //td[4]/span/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Delete
assertConfirmation Are you sure you want to delete this?