Merge lp:~canonical-platform-qa/autopilot-gtk/fix-failing-mouse-test_1483815 into lp:autopilot-gtk
| Status: | Needs review |
|---|---|
| Proposed branch: | lp:~canonical-platform-qa/autopilot-gtk/fix-failing-mouse-test_1483815 |
| Merge into: | lp:autopilot-gtk |
| Diff against target: |
21 lines (+4/-0) 1 file modified
tests/autopilot/tests/test_actions.py (+4/-0) |
| To merge this branch: | bzr merge lp:~canonical-platform-qa/autopilot-gtk/fix-failing-mouse-test_1483815 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Iain Lane (community) | Disapprove on 2015-08-24 | ||
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-08-24 | |
| Autopilot Hackers | 2015-08-24 | Pending | |
|
Review via email:
|
|||
Commit Message
Fix test; Add wait so dialog button is clickable
Description of the Change
Update sporadically failing test.
Reason for the failure was that the attempt to click the dismiss button was happening before the dialog was fully displayed (and thus able to be clicked).
Using a sleep as I couldn't find any other property status that would indicate that the dialog is fully shown and thus the button could be pressed.
| Iain Lane (laney) wrote : | # |
I was just looking at the same test failure. For me this didn't fix it. It seem{s,ed} that the problem is that we need to wait a bit after clicking the button for the dialog to be destroyed, in the mouse case. If we had Eventually(
https:/
to hopefully fix this.
Unmerged revisions
- 77. By Christopher Lee on 2015-08-24
-
Fix test; Add wait so dialog button is clickable

FAILED: Continuous integration, rev:77 jenkins. qa.ubuntu. com/job/ autopilot- gtk-ci/ 80/ jenkins. qa.ubuntu. com/job/ autopilot- gtk-wily- amd64-ci/ 1/console jenkins. qa.ubuntu. com/job/ autopilot- gtk-wily- armhf-ci/ 1/console jenkins. qa.ubuntu. com/job/ autopilot- gtk-wily- i386-ci/ 1/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/autopilot- gtk-ci/ 80/rebuild
http://