You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should prevent emitting test action events after the test with corresponding actions has finished.
There are some cases when test action events (test-action-start and test-action-done) can be emitted after the test has already finished running. In one such case it caused an error with BrowserProvider, because eval was placed in a chain with preceding wait action:
Since the actions preceding eval in this chain are called without await-ing them, the events got desynchronized. The test-action-done event of the wait action was called after the test has already finished and hence browser was closed. The event handler of test-action-done performed call to the isHeadlessBrowser method of the BrowserProvider, which crashed with an unexpected error.
We should prevent emitting test action events after the test with corresponding actions has finished.
There are some cases when test action events (
test-action-start
andtest-action-done
) can be emitted after the test has already finished running. In one such case it caused an error withBrowserProvider
, becauseeval
was placed in a chain with precedingwait
action:Since the actions preceding
eval
in this chain are called withoutawait
-ing them, the events got desynchronized. Thetest-action-done
event of thewait
action was called after the test has already finished and hence browser was closed. The event handler oftest-action-done
performed call to theisHeadlessBrowser
method of theBrowserProvider
, which crashed with an unexpected error.Navigate to the original ticket in order to get the stack trace and reproducible example: Investigate the problem with BrowserProvider caused by extended log reporter.
The text was updated successfully, but these errors were encountered: