Project

General

Profile

Actions

action #54101

closed

Developer mode "pause test" does not actually pause it

Added by AdamWill almost 5 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
-
Start date:
2019-07-10
Due date:
% Done:

0%

Estimated time:

Description

Since the rewrite of interactive mode to developer mode, there's a "Pause on screen mismatch" box with options that let you interrupt the test and enter the needle editor when a match fails, instead of the test failing.

However...I might be wrong about this, but AFAICS, despite the use of the word "pause", this no longer actually pauses the VM. In the 'interactive mode' implementation it did - the VM was paused until you hit the button to resume it. But I was just editing needles in developer mode and noticed a case where the VM was in one state when I entered the needle editor, but by the time I exited the needle editor, the execution of the test had continued, the screen was different, and the newly-created needle no longer matched. (This is a case where we click a button to "do something", then assert that a progress indicator for the "something" is displayed: by the time I'd finished creating the new progress indicator needle, the "something" operation had completed and the progress indicator was no longer on the screen).

If I'm right about this, either the VM should actually be paused in this case, or at least the text should be changed not to claim that it will be paused...

Actions

Also available in: Atom PDF