Code review comment for lp:~osomon/ubuntu-calendar-app/fix-ap-tests-new-event

Revision history for this message
Francis Ginther (fginther) wrote :

Olivier, I have found the source of the failures. The toolbar is still being animated while the button is being clicked. As a result, the click occurs outside of the window. The animation is likely faster on desktop and the phone image, so this only shows up on the jenkins VM.

To fix this, I borrowed some code from lp:ubuntu-ui-toolkit to wait for the animation to complete before clicking on the button. I applied the changes on top of your branch and retested:
 - https://code.launchpad.net/~fginther/ubuntu-calendar-app/fix-ap-tests-new-event
 - http://91.189.93.70:8080/job/generic-mediumtests/397/

The test still does not pass, but it's now for a different issue.

review: Needs Fixing

« Back to merge proposal