[Bug]: Custom fixture title is not displayed in the html report.
Version
1.49.0
Steps to reproduce
https://github.com/OlegsHanins/playwright-fixtures-title-bug
npm instal
npx playwright test
npx playwright show-report
"My custom fixture title" is not mentioned in html report https://github.com/OlegsHanins/playwright-fixtures-title-bug/blob/b32ec3a8d0e25edf666b641e52a3bd4498c94267/tests/fixtures-titles.spec.ts#L11
Expected behavior
Expect to work as its described in the docs https://playwright.dev/docs/test-fixtures#custom-fixture-title "custom title that will be shown in test reports"
Actual behavior
Dont see my custom fixture title
Additional context
Same issue metioned by othesr in playwright discord
Environment
System:
OS: Linux 5.15 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
CPU: (16) x64 AMD Ryzen 7 2700 Eight-Core Processor
Memory: 14.07 GB / 15.60 GB
Container: Yes
Binaries:
Node: 20.18.0 - ~/.nvm/versions/node/v20.18.0/bin/node
npm: 10.8.2 - ~/.nvm/versions/node/v20.18.0/bin/npm
IDEs:
VSCode: 1.95.3 - /mnt/d/Microsoft VS Code/bin/code
Languages:
Bash: 5.1.16 - /usr/bin/bash
npmPackages:
@playwright/test: ^1.49.0 => 1.49.0
I can reproduce - does not show up in Trace Viewer nor HTML report.
Note: Try to throw / timeout and see if the right title gets used there.