Merge lp://qastaging/~kissiel/checkbox/rerun-in-cbt into lp://qastaging/checkbox
Proposed by
Maciej Kisielewski
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | 3917 |
Merged at revision: | 3914 |
Proposed branch: | lp://qastaging/~kissiel/checkbox/rerun-in-cbt |
Merge into: | lp://qastaging/checkbox |
Diff against target: |
323 lines (+168/-33) 6 files modified
checkbox-touch/checkbox-touch.qml (+34/-1) checkbox-touch/components/CheckboxTouchApplication.qml (+6/-0) checkbox-touch/components/SelectionPage.qml (+3/-1) checkbox-touch/py/checkbox_touch.py (+22/-0) checkbox-touch/tests/autopilot/checkbox_touch/__init__.py (+33/-0) checkbox-touch/tests/autopilot/checkbox_touch/test_checkbox_touch.py (+70/-31) |
To merge this branch: | bzr merge lp://qastaging/~kissiel/checkbox/rerun-in-cbt |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Review via email: mp+265232@code.qastaging.launchpad.net |
Description of the change
This MR brings re-run feature to checkbox-
6e98004 chekcbox-touch: add function getting rerun candidates to py logic
d873a99 checkbox-touch: invalidate cache and reset index when tests are started
a7feee8 checkbox-touch: add proxy-ing to get rerun candidates in qml logic
214224d checkbox-touch: add emptyAllowed option to selection screen
e58246e checkbox-touch: add rerun screen
2db9319 checkbox-touch: run re-run before results screen
5d71b5b checkbox-
c0e491a checkbox-
7d49391 checkbox-
To post a comment you must log in.
When we landed the same feature for checkbox-cli, I thought that being unable to rerun every test would miss. But actually the only concern was about selection of all jobs dependencies (i.e suspend again if the test was depending on suspend_auto). So I agree with the decision to only select failed/crash test results.
Tests are presented with their respective categories which is great (clearly lacking in checkbox-gui).
So conclusion is a +1 for the design choices.
I ran the following sequence which was crashing the app:
- selected both sensor and screen categories from the qml provider
- failed one in each category
- rerun one succesfully
- killed cbt with a swipe move on the screen
- when prompted to resume the session selected rerun last test
- failed again the test "ensure haptics are working"
- at the final screen, select finish
- cbt controls are greyed out, app is blocked
The upstart log: http:// pastebin. ubuntu. com/11918666/