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
Investigation notes: I can repro, if the fixture times out in the teardown (via e.g. page.click), no video is getting saved. Not sure if we can do much there.
@mxschmitt sorry, but I didn't get you (your comment + v1.46 label). this issue can't be fixed or you plan to fix it in v1.46?
If it can't be fixed, what is best practice?
My use case: I'm creating some objects in fixture setup, e.g. I create a new user in the system, then test code is executed (e.g. I'm checking that created user has granted access), then I need to delete the user from the system in fixture tear-down code, otherwise tested system will constantly increase (if I don't delete the objects created for tests)
Version
1.45.1
Steps to reproduce
Test will fail, it's expected, but video will not be recorded, also trace doesn't have any screenshots/snapshots. You can see the result of execution here: https://github.com/svlobanov/playwright-bug-fixture-cleanup/actions/runs/9777308480
If comment this line: https://github.com/svlobanov/playwright-bug-fixture-cleanup/blob/810a8ed930ea85cae446062702594d3780519b5f/fixtures/player.ts#L25 , the video will be saved.
Expected behavior
Video should be saved even if action timed out during fixture cleanup
Actual behavior
Video is not saved, trace doesn't have snapshots/screenshots
Additional context
No response
Environment
% npx envinfo --preset playwright System: OS: macOS 14.1 CPU: (8) arm64 Apple M1 Memory: 55.59 MB / 16.00 GB Binaries: Node: 22.2.0 - /opt/homebrew/bin/node npm: 10.7.0 - /opt/homebrew/bin/npm Languages: Bash: 3.2.57 - /bin/bash npmPackages: @playwright/test: ^1.45.1 => 1.45.1 The same issue on Linux Ubuntu 22.04 (see here: https://github.com/svlobanov/playwright-bug-fixture-cleanup/actions/runs/9777308480/job/26991697102)
The text was updated successfully, but these errors were encountered: