test delete event
  • page loading
  • select the event
  • doubleclic on the event
  • click on "delete Event"
  • Click on confirm on the dialog box
  • click on the "close" button
  • check that the event doesn't exist anymore
setTimeout 50000
open https://127.0.0.1:8443/gwtcalendar/control/logout
open https://127.0.0.1:8443/gwtcalendar/control/setSessionLocale?newLocale=en
type USERNAME admin
type PASSWORD ofbiz
clickAndWait //input[@value='Login']
open https://127.0.0.1:8443/gwtcalendar/control/main
waitForElementPresent //div[@class='appointment' and contains(.,'TestAuto')]
doubleClick //div[@class='appointment' and contains(.,'TestAuto')]
click //td[@class='gwt-MenuItem' and contains(.,'Edit Party')]
waitForElementPresent addCalEventRole
click //tr[contains(.,'Customer 1 ManagerP1')]/td/a[contains(.,'Remove')]
waitForElementNotPresent //tr/td[contains(.,'Customer 1 ManagerP1')]
click //td[@class='gwt-MenuItem' and contains(.,'Close')]
assertElementNotPresent //div[@class='errorMessage']