Merge lp:~elopio/unity8/revert_get_applications into lp:unity8
Status: | Merged |
---|---|
Approved by: | Albert Astals Cid |
Approved revision: | 798 |
Merged at revision: | 840 |
Proposed branch: | lp:~elopio/unity8/revert_get_applications |
Merge into: | lp:unity8 |
Diff against target: |
40 lines (+6/-8) 2 files modified
tests/autopilot/unity8/shell/emulators/dash.py (+5/-3) tests/autopilot/unity8/shell/tests/test_emulators.py (+1/-5) |
To merge this branch: | bzr merge lp:~elopio/unity8/revert_get_applications |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Albert Astals Cid (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Allan LeSage (community) | Approve | ||
Review via email:
|
Commit message
Reverted the change that returns application cards instead of titles.
Description of the change
One of the most important things of the page object pattern[1] is that we shouldn't expose the internals of the UI.
That's why the autopilot helper get_applications returns just what's visible to the user, the list of application names.
With the new scope changes I didn't notice that this was changed to return the autopilot proxy objects for application cards. I'm reverting that here.
[1]https:/
* Are there any related MPs required for this MP to build/function as expected? Please list.
No.
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes, I ran the tests before and after. I explored the QML tree and confirmed that this was the right change.
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
No packaging changes.
* If you changed the UI, has there been a design review?
No UI changes.
FAILED: Continuous integration, rev:797 jenkins. qa.ubuntu. com/job/ unity8- ci/2705/ jenkins. qa.ubuntu. com/job/ generic- mediumtests- trusty/ 4434 jenkins. qa.ubuntu. com/job/ generic- mediumtests- trusty- touch/4032 jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- trusty/ 1575 jenkins. qa.ubuntu. com/job/ unity8- trusty- amd64-ci/ 1226 jenkins. qa.ubuntu. com/job/ unity8- trusty- armhf-ci/ 1230 jenkins. qa.ubuntu. com/job/ unity8- trusty- armhf-ci/ 1230/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ unity8- trusty- i386-ci/ 1226 jenkins. qa.ubuntu. com/job/ autopilot- testrunner- otto-trusty/ 3834 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- amd64/4538 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- amd64/4538/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- armhf/4056 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- armhf/4056/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- runner- mako/6290 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 5504
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/2705/ rebuild
http://