action #44249
closeddeveloper mode: "Stop timeout" - like in the old interactive mode :)
0%
Description
User Story¶
As a test developer or bug investigator I would like to pause the test execution in the developer mode to not need to wait for the big assert_screen/check_screen timeout to time out
Updated by coolo about 6 years ago
- Target version set to Ready
Basically have 'Open Needle Editor' available whenever there is a check_screen/assert_screen running, which will timeout the check_screen immediately
Updated by mkittler about 6 years ago
So you want to skip the assert_screen/check_screen timeout if you know it is going to fail anyways. That makes sense.
I would add a button "Skip current assert_screen timeout" which would be shown if an assert_screen is ongoing. It only affects the current assert_screen (and not subsequent ones). After clicking the button, the same happens as on a regular timeout. The button itself would disappear and 'Open needle editor' would appear as soon as the latest screenshot has been uploaded.
Updated by okurz about 6 years ago
It's not only to skip the waiting time on an assert_screen which you just expect to fail. I am not arguing with you about the code quality of the old interactive mode but what it promised was what many people including myself here still would like to see. In this case: I just want to pause the test execution as soon as possible after I requested it. One use case is to create a needle from the current screen, e.g. to prevent further waiting or to catch exactly the screen at the time before it changes again, e.g. because of screenlock or a dialog that times out. Another use case is that I want to interact with the system outside the context of openQA, e.g. VNC remote control, at this time, not later, e.g. while the installation is currently running.
Updated by mkittler about 6 years ago
I just want to pause the test execution as soon as possible after I requested it.
Pausing as soon as possible in general is another feature but shouldn't be hard to implement. Emphasis on "as soon as possible" which would be in general on the next command.
Updated by okurz about 6 years ago
mkittler wrote:
Emphasis on "as soon as possible" which would be in general on the next command.
That's too late, it should be "abort the currently running timeout".
Updated by mkittler about 6 years ago
@okurz I was talking about the general case, e. g. we might not be able to interrupt an assert_script_run
. Of course the timeout for assert/check_screen
can be reduced to zero and that is also part of this specific issue.
Updated by mkittler about 6 years ago
- Status changed from New to In Progress
Updated by mkittler about 6 years ago
- Target version changed from Ready to Current Sprint
Updated by okurz about 6 years ago
- Copied to action #45191: developer mode: error message just when clicking "Cancel job" added
Updated by mkittler about 6 years ago
- Copied to deleted (action #45191: developer mode: error message just when clicking "Cancel job")
Updated by mkittler almost 6 years ago
- Status changed from In Progress to Resolved
PRs have been merged