Version
1.45.0
Steps to reproduce
- Clone my repo https://github.com/mtsmfm/electron-playwright-with-trace-issue
- cd pw-145
- npm install
- npx playwright test test.spec.ts --trace on
Expected behavior
Running 1 test using 1 worker
✓ 1 test.spec.ts:15:1 › should work (651ms)
1 passed (1.4s)
Actual behavior
Running 1 test using 1 worker
✘ 1 test.spec.ts:15:1 › should work (415ms)
1) test.spec.ts:15:1 › should work ───────────────────────────────────────────────────────────────
Error: ENOENT: no such file or directory, open '/home/mtsmfm/ghq/github.com/mtsmfm/electron-playwright-example/pw-145/test-results/.playwright-artifacts-0/7e647ec48523e8dd0434626c5a1420a7.zip'
1 failed
test.spec.ts:15:1 › should work ────────────────────────────────────────────────────────────────
Additional context
Perhaps the error is thrown by await app.close(); as I don't see any error if I remove the line.
Environment
System:
OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
Memory: 11.28 GB / 15.54 GB
Container: Yes
Binaries:
Node: 20.13.1 - ~/.local/share/mise/installs/node/20/bin/node
Yarn: 1.22.19 - /usr/bin/yarn
npm: 10.8.0 - ~/.local/share/mise/installs/node/20/bin/npm
IDEs:
VSCode: 1.90.2 - /home/mtsmfm/.vscode-server/bin/5437499feb04f7a586f677b155b039bc2b3669eb/bin/remote-cli/code
Languages:
Bash: 5.0.17 - /usr/bin/bash