-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Closed
Labels
Description
Version
1.45.1
Steps to reproduce
-
Clone https://github.com/cstlh/playwright-trace-issue
-
Run
npm -i -
Run
npx playwright test -
Open report
-
Check test that is failing and is using baseTest.ts has a mostly empty trace and most steps are missing

-
Check that failed test that is not using baseTest.ts, but instead using @playwright/test directly has all trace information

-
Check that passed test using baseTest.ts has full trace and steps
Additional steps:
- Revert back to playwright 1.43.1
npm i -D @playwright/[email protected] - Run tests again and check that all reports have full trace
Expected behavior
I expected that the whole trace is present in all failing tests
Actual behavior
Traces are mostly empty in failed tests
Additional context
I have tried the same setup in 1.43 and 1.44 and everything was working fine, this started failing for me when I tried to update the version to 1.45 and 1.45.1
Environment
System:
OS: macOS 14.4.1
CPU: (8) arm64 Apple M2
Memory: 1004.56 MB / 24.00 GB
Binaries:
Node: 20.11.1 - /usr/local/bin/node
npm: 10.8.0 - /usr/local/bin/npm
pnpm: 9.4.0 - /usr/local/bin/pnpm
IDEs:
VSCode: 1.90.2 - /usr/local/bin/code
Languages:
Bash: 3.2.57 - /bin/bash
npmPackages:
@playwright/test: ^1.45.1 => 1.45.1lewisforeman, achwo, ZurabKV and hollykurt