updateEvent
  • page loading
  • clic sur l'évènement créé dans le test1
  • Click on the event created in createEvent test
  • click on "Edit Event in the menu
  • Change the nmae
  • the description
  • the dates
  • click on the update button
  • click on the close button
  • doubleClick on the modified appointment
  • Click on the "Edit Event" button
  • check the modified fields
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 //button[@id='btnCreateEvent']
captureEntirePageScreenshot /var/www/selenium.neogia.org/ofbizAddOn/results/gwtcalendar-108.png
waitForElementPresent //div[@class='appointment' and contains(.,'TestAuto')]
doubleClick //div[@class='appointment' and contains(.,'TestAuto')]
click //td[@class='gwt-MenuItem' and contains(.,'Edit Event')]
waitForElementPresent editCalEvent_workEffortName_title
type editCalEvent_workEffortName TestAutoModif
type editCalEvent_description automatiqueModif
select estimatedStartDate_c_hour 14
select estimatedCompletionDate_c_hour 20
click //button[contains(.,'Update')]
click //td[@class='gwt-MenuItem' and contains(.,'Close')]
waitForElementPresent //div[@class='appointment' and contains(.,'TestAutoModif')]
doubleClick //div[@class='appointment' and contains(.,'TestAutoModif')]
click //td[@class='gwt-MenuItem' and contains(.,'Edit Event')]
waitForElementPresent editCalEvent_workEffortName_title
assertValue //input[@id='editCalEvent_workEffortName'] TestAutoModif
assertValue editCalEvent_description automatiqueModif
assertValue estimatedStartDate_c_hour 14
assertValue estimatedCompletionDate_c_hour 20
type editCalEvent_workEffortName TestAuto
type editCalEvent_description automatique
select estimatedStartDate_c_hour label=10
select estimatedCompletionDate_c_hour label=18
click //button[contains(.,'Update')]
click //td[@class='gwt-MenuItem' and contains(.,'Close')]
assertElementNotPresent //div[@class='errorMessage']