Merge lp:~canonical-platform-qa/ubuntu-system-tests/set_unity8_mode_staged into lp:ubuntu-system-tests
Proposed by
Brendan Donegan
Status: | Work in progress |
---|---|
Proposed branch: | lp:~canonical-platform-qa/ubuntu-system-tests/set_unity8_mode_staged |
Merge into: | lp:ubuntu-system-tests |
Diff against target: |
59 lines (+35/-0) 1 file modified
ubuntu_system_tests/systemtests.py (+35/-0) |
To merge this branch: | bzr merge lp:~canonical-platform-qa/ubuntu-system-tests/set_unity8_mode_staged |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Approve | |
Richard Huddie (community) | Needs Fixing | ||
Review via email: mp+264020@code.launchpad.net |
Commit message
Force unity8 usage-mode to Staged
Description of the change
The current version of unity8 in Vivid has the 'usage-mode' set to 'Automatic', meaning it tries to detect whether it's running on a phone or a desktop. Because Autopilot exposes a fake mouse it tricks unity8 into thinking it's running in 'Windowed' mode. Most Autopilot tests are just not ready to run like this so naturally fail. Until this is resolved in Autopilot (or Unity8) we need to workaround it by forcing the usage mode to 'Staged' (which was the default before). As a matter of courtesy we also reset the usage mode to what it was before the test run.
To post a comment you must log in.
Unmerged revisions
- 145. By Brendan Donegan
-
Set unity8 usage-mode to Staged in the systemtests.py script
Comment below.