Comment 8 for bug 729431

Revision history for this message
Daniel Manrique (roadmr) wrote :

Here's another sequence of steps to reproduce. Verified with checkbox 0.10.3 on Maverick and 0.11.12 on Natty beta.

1- Delete .cache/checkbox if it exists (to ensure a clean run)
2- Run checkbox-gtk from a terminal (so you can see terminal output)
3- Press Next, then deselect all tests and check only Audio tests. press Next.
4- On the first test, press Next again, then Previous (brings you to the test list again), then Next (brings you to a sound test).
5- Press the "Test" button.

Expected result:
- Rerunning of the selected test, in this case I was expecting the audio tone to play again.

Actual result:
- Test doesn't run
- Trace as follows:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/checkbox_gtk/gtk_interface.py", line 479, in <lambda>
    lambda w, t=test, r=runner: self._run_test(t, r))
  File "/usr/lib/python2.7/dist-packages/checkbox_gtk/gtk_interface.py", line 450, in _run_test
    (status, data, duration) = runner(test)
  File "/usr/share/checkbox/plugins/manual_test.py", line 37, in runner
    return (temp["status"], temp["data"], temp["duration"])
KeyError: 'duration'

I'm also attaching the full checkbox.log file where this error appears (there's also another one from when I interrupted checkbox by pressing ctrl-c, please disregard).

I have noticed, like most other comments, that the triggering behavior is using the "previous" button.