DeleteTemporaryEventTest
waitForElementPresent link=Calendar
clickAtAndWait link=Calendar
store eval(selenium.isPartialText('//tr[3]/td[2]/a','Temporary')) temporaryEventFirst
gotoIf !${temporaryEventFirst} TemporaryEventNotFirst
clickAt //td[4]/ul/li/strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Delete
assertConfirmation Are you sure you want to delete this?
label TemporaryEventNotFirst
store eval(selenium.isPartialText('//div[1]/table/tbody/tr[4]/td[2]/a','Temporary')) temporaryEventSecond
gotoIf !${temporaryEventSecond} TemporaryEventNotSecond
assertText //tr[4]/td[4]/ul/li/strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Delete
clickAt //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Delete
assertConfirmation Are you sure you want to delete this?
label TemporaryEventNotSecond
store eval(selenium.isPartialText('//div[1]/table/tbody/tr[5]/td[2]/a','Temporary')) temporaryEventThird
gotoIf !${temporaryEventThird} TemporaryEventNotThird
clickAt //tr[5]/td[4]/ul/li/strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Delete
assertConfirmation Are you sure you want to delete this?
label TemporaryEventNotThird
store eval(selenium.isElementPresent('//div[1]/table/tbody/tr[6]/td[2]/a')) eventFourthAvailable
gotoIf !${eventFourthAvailable} EventFourthNotAvailable
store eval(selenium.isPartialText('//div[1]/table/tbody/tr[6]/td[2]/a','Temporary')) temporaryEventFourth
gotoIf !${temporaryEventFourth} TemporaryEventNotFourth
clickAt //tr[6]/td[4]/ul/li/strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Delete
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Delete
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[4]/a Delete
assertConfirmation Are you sure you want to delete this?
label TemporaryEventNotFourth
label EventFourthNotAvailable
assertTextPresent Your request processed successfully.
assertElementNotPresent link=Temporary Event