Merge lp:~sil2100/unity/autopilot_misc_changes into lp:unity
Proposed by
Łukasz Zemczak
Status: | Merged |
---|---|
Approved by: | Brandon Schaefer |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3327 |
Proposed branch: | lp:~sil2100/unity/autopilot_misc_changes |
Merge into: | lp:unity |
Diff against target: |
30 lines (+5/-3) 1 file modified
tests/autopilot/unity/tests/test_hud.py (+5/-3) |
To merge this branch: | bzr merge lp:~sil2100/unity/autopilot_misc_changes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Brandon Schaefer (community) | Approve | ||
Mathieu Trudel-Lapierre | Approve | ||
Review via email: mp+164452@code.launchpad.net |
Commit message
Fix two HUD failures related to HUD slow action activation
Description of the change
- Problem:
Some of the HUD autopilot tests are failing because the HUD takes too long to activate entries. See LP: #1180903.
- Fix:
First of all, in the undo test, we need to wait a bit after activating the "Undo" HUD entry before saving. Since activation takes a while and the test checks the file contents, we need to make sure that the undo action takes place before Ctrl+s is pressed.
The other fix uses Eventually() to check if the application has quit, as it might take a bit for the action to take place.
- Tests:
N/A
To post a comment you must log in.
Approve. Makes sense to me, will go well with the other timing changes I've proposed.