Merge lp:~sil2100/unity/autopilot_add_menu_settle_for_test into lp:unity
Status: | Merged |
---|---|
Approved by: | Didier Roche-Tolomelli |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3306 |
Proposed branch: | lp:~sil2100/unity/autopilot_add_menu_settle_for_test |
Merge into: | lp:unity |
Diff against target: |
11 lines (+1/-0) 1 file modified
tests/autopilot/unity/tests/test_panel.py (+1/-0) |
To merge this branch: | bzr merge lp:~sil2100/unity/autopilot_add_menu_settle_for_test |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Francis Ginther | Approve | ||
Review via email: mp+159156@code.launchpad.net |
Commit message
During the test_window_
Description of the change
- Problem:
unity.tests.
Log from IRC not to repeat myself:
14:52 < sil2100> seb128: so, heh, the open_new_
is a bit broken when we don't have to 'maximize' or 'restore'
14:54 < sil2100> seb128: in our case, somehow gedit gets remembered as maximized and
14:55 < sil2100> And HUD appears, even though we didn't ask it to
14:55 < sil2100> Phew
- Fix:
Actually, we don't have to fix open_new_
What we do to fix is is use sleep_menu_
This way we eliminate the timing condition.
- Tests:
N/A
Confirmed that this fixed the issue for me.