updatePartyEvent
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
type //input[@id='addCalEventRole_partyId'] DemoCustomer1
click //a[contains(.,'Send')] DemoCustomer1
waitForElementPresent //tr/td[contains(.,'Customer 1 ManagerP1')]
click //td[@class='gwt-MenuItem' and contains(.,'Close')]
assertElementNotPresent //div[@class='errorMessage']