Merge lp:~sil2100/unity/autopilot_hud_2.0_fixes into lp:unity
Status: | Merged |
---|---|
Approved by: | Łukasz Zemczak |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3314 |
Proposed branch: | lp:~sil2100/unity/autopilot_hud_2.0_fixes |
Merge into: | lp:unity |
Diff against target: |
120 lines (+34/-13) 1 file modified
tests/autopilot/unity/tests/test_hud.py (+34/-13) |
To merge this branch: | bzr merge lp:~sil2100/unity/autopilot_hud_2.0_fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Mathieu Trudel-Lapierre | Approve | ||
Review via email: mp+160610@code.launchpad.net |
Commit message
Now that we're using the new HUD, there have been some changes that typically cause test_hud tests to fail. Fix the tests to fit the new model.
The first one is that generally we do not have indicator entries visible in the HUD anymore. Only application menu entries are in it now.
The second one - the way the results are displayed is different. Now, instead of "Menu > Entry" we have "Entry (Menu)" etc.
Description of the change
- Problem:
HUD 2.0 has some changes, which cause some test_hud and test_search autopilot tests to fail.
- Fix:
Quoting the commit message:
Now that we're using the new HUD, there have been some changes that typically cause test_hud tests to fail. Fix the tests to fit the new model.
The first one is that generally we do not have indicator entries visible in the HUD anymore. Only application menu entries are in it now.
The second one - the way the results are displayed is different. Now, instead of "Menu > Entry" we have "Entry (Menu)" etc.
We're not fixing the test_search tests, since in my opinion that's a real regression (see LP: #1172228).
- Tests:
N/A
FAILED: Continuous integration, rev:3314 jenkins. qa.ubuntu. com/job/ unity-ci/ 37/ jenkins. qa.ubuntu. com/job/ unity-raring- amd64-ci/ 37 jenkins. qa.ubuntu. com/job/ unity-raring- armhf-ci/ 37/console jenkins. qa.ubuntu. com/job/ unity-raring- i386-ci/ 37
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ unity-ci/ 37/rebuild
http://