Closed jancorvus closed 3 years ago
why do you expect it in Before
?
video and trace assigned in the end of a test
@DavertMik when a browser starts in Before video and trace recording has already started, then when a failure happens, e.g. logging in fails, _failed
gets executed and test
object does not have artifacts
at that moment, so assigning test.artifacts.video
and test.artifacts.trace
fail
What are you trying to achieve?
Using Playwright helper and having enabled video and trace recording, I want the respective video and trace be recorded and assigned to
test.artifacts
in case of error/s in BeforeWhat do you get instead?
Details