Merge lp:~kissiel/checkbox/fix-1593732-broken-continue into lp:checkbox
Proposed by
Maciej Kisielewski
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Paul Larson | ||||
Approved revision: | 4403 | ||||
Merged at revision: | 4406 | ||||
Proposed branch: | lp:~kissiel/checkbox/fix-1593732-broken-continue | ||||
Merge into: | lp:checkbox | ||||
Diff against target: |
24 lines (+4/-5) 1 file modified
checkbox-touch/py/checkbox_touch.py (+4/-5) |
||||
To merge this branch: | bzr merge lp:~kissiel/checkbox/fix-1593732-broken-continue | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Larson | Approve | ||
Review via email: mp+297772@code.launchpad.net |
Description of the change
This MR fixes 'continue' action on resume screen in checkbox-converged.
To test it :
start any session in C-C (preferably with 2 tests selected)
quit at any point (before the end)
restat C-C
hit continue
the session should be on _the next_ test.
Or run autopilot - make autopilot in checkbox/
To post a comment you must log in.
I have a couple of questions/ suggestions below.
Also, I got a traceback while trying to run the tests myself, which could just be the result of running on my desktop. For some reason, xvfb doesn't seem to work well for me here. Maybe just double check?
Traceback (most recent call last): fix-1593732- broken- continue/ checkbox- touch/tests/ autopilot/ checkbox_ touch/test_ checkbox_ touch.py" , line 332, in test_remove_ all_removes 'startTestButto n', enabled=True) python3/ dist-packages/ autopilot/ introspection/ dbus.py" , line 295, in wait_select_single single( type_name, **kwargs) python3/ dist-packages/ autopilot/ introspection/ dbus.py" , line 244, in select_single ror(type_ name_str, **kwargs) exceptions. StateNotFoundEr ror: Object not found with name '*' and properties {'enabled': True, 'objectName': 'startTestButton'}.
File "/tmp/checkbox/
objectName=
File "/usr/lib/
return self.select_
File "/usr/lib/
raise StateNotFoundEr
autopilot.
Tips on minimizing the occurrence of this failure are available here: https:/ /developer. ubuntu. com/api/ autopilot/ python/ 1.5.0/faq- troubleshooting /
Ran 16 tests in 731.655s
FAILED (failures=1)