Merge lp:~kissiel/checkbox/autopilot-testing into lp:checkbox
Status: | Superseded |
---|---|
Proposed branch: | lp:~kissiel/checkbox/autopilot-testing |
Merge into: | lp:checkbox |
Diff against target: |
460 lines (+108/-136) 15 files modified
checkbox-touch/Makefile (+2/-1) checkbox-touch/README.rst (+1/-1) checkbox-touch/build-me (+3/-2) checkbox-touch/checkbox-touch.qml (+34/-17) checkbox-touch/checkbox-touch.qmlproject (+1/-1) checkbox-touch/components/CheckboxTouchApplication.qml (+4/-4) checkbox-touch/py/checkbox_touch.py (+19/-6) checkbox-touch/tests/autopilot/autopilot-provider/jobs/autopilot.pxu (+7/-0) checkbox-touch/tests/autopilot/autopilot-provider/manage.py (+21/-0) checkbox-touch/tests/autopilot/checkbox_touch/__init__.py (+1/-0) checkbox-touch/tests/autopilot/checkbox_touch/test_checkbox_touch.py (+12/-0) checkbox-touch/tests/autopilot/checkbox_touch/test_latch_button.py (+0/-16) checkbox-touch/tests/autopilot/checkbox_touch/test_manual_intro_page.py (+0/-35) checkbox-touch/tests/autopilot/checkbox_touch/test_resume_session_screen.py (+0/-52) checkbox-touch/tests/autopilot/run (+3/-1) |
To merge this branch: | bzr merge lp:~kissiel/checkbox/autopilot-testing |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Maciej Kisielewski | Approve | ||
Zygmunt Krynicki (community) | Approve | ||
Review via email: mp+252731@code.launchpad.net |
This proposal supersedes a proposal from 2015-03-09.
This proposal has been superseded by a proposal from 2015-03-22.
Description of the change
This MR lays foundations for autopilot testing for checkbox touch.
Major changes/additions are:
* Addition of Utopic as a target in test-in-lxc
* Addition of per-release requirements provisioning
* Move from main.qml to checkbox-touch.qml as the 'entry point' to CBT
* Add option to run CBT in autopilot-y way
b660802 checkbox-touch: add basic autopilot test
fe8d162 checkbox-touch: add autopilot tests to container-tests
0cff0e5 test-in-lxc: make test-in-lxc run tests on utopic
0e2fb89 checkbox-touch: make autopilot tests fail if autopilot is not installed
15d5bec checkbox-touch: make `make autopilot` run ./get-libs first
1dba042 support: make install-
86d9f2a checkbox-touch: use absolute paths for autopilot provider
90e5d25 checkbox-touch: make autopilot run CBT with '--autopilot option'
e0f9b84 checkbox-touch: remove old autopilot tests
1e53580 checkbox-touch: make checkbox-touch.qml entry point to the app
bfba415 checkbox-touch: add providersDir to generated settings.json
946e613 checkbox-touch: add --autopilot option to main.qml
37df775 checkbox-touch: make APP_DIR fall back to '.'
b113a33 checkbox-touch: be explicit about where to load providers from
Unmerged revisions
- 3637. By Maciej Kisielewski
-
checkbox-touch: add basic autopilot test
This patch adds an autopilot test that checks if app can be launched.
Signed-off-by: Maciej Kisielewski <email address hidden>
- 3636. By Maciej Kisielewski
-
checkbox-touch: add autopilot provider
This patch adds empty provider that is used when running autopilot tests. All
future autopilot scenarios should base on jobs defined in this provider.Signed-off-by: Maciej Kisielewski <email address hidden>
- 3635. By Maciej Kisielewski
-
checkbox-touch: make autopilot tests fail if autopilot is not installed
This patch fixes a false positive feedback when runnning autopilot without
having it installed.Signed-off-by: Maciej Kisielewski <email address hidden>
- 3634. By Maciej Kisielewski
-
checkbox-touch: make `make autopilot` run ./get-libs first
Signed-off-by: Maciej Kisielewski <email address hidden>
- 3633. By Maciej Kisielewski
-
checkbox-touch: use absolute paths for autopilot provider
This patch makes Checkbox-Touch use correct absolute path when building path to
autopilot provider files.Signed-off-by: Maciej Kisielewski <email address hidden>
- 3632. By Maciej Kisielewski
-
checkbox-touch: make autopilot run CBT with '--autopilot option'
This patch makes autopilot tests run Checkbox-Touch with '--autopilot' option
by default.Signed-off-by: Maciej Kisielewski <email address hidden>
- 3631. By Maciej Kisielewski
-
checkbox-touch: remove old autopilot tests
Signed-off-by: Maciej Kisielewski <email address hidden>
- 3630. By Maciej Kisielewski
-
checkbox-touch: make checkbox-touch.qml entry point to the app
This patch changes main file to be checkbox-touch.qml instead of main.
Except the obvious improvement, which is clarity, it makes it compliant with
the default behaviour autopilot takes when trying to launch app.Signed-off-by: Maciej Kisielewski <email address hidden>
- 3629. By Maciej Kisielewski
-
checkbox-touch: rename main.qml to checkbox-touch.qml
Signed-off-by: Maciej Kisielewski <email address hidden>
- 3628. By Maciej Kisielewski
-
checkbox-touch: remove checkbox-touch.qml symlink
Signed-off-by: Maciej Kisielewski <email address hidden>
Question: The test in lxc containers is what we're running when MR are proposed and this script is only called by the tarmac lander, right? I'm trying to make the difference between the test actually run when building a ppa in a build environment (ppa) from tests run with tarmac in containers.
I ask because I see that you're using lsb_release in a couple of places but IIRC such tool is not available in a build env.
And finally rev 3594, you're mentioning an autopilot provider, do we have such thing in the known providers?