Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Custom fixture title is not displayed in the html report. #33741

Open
OlegsHanins opened this issue Nov 23, 2024 · 1 comment
Open

[Bug]: Custom fixture title is not displayed in the html report. #33741

OlegsHanins opened this issue Nov 23, 2024 · 1 comment
Labels

Comments

@OlegsHanins
Copy link

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

Image

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
@OlegsHanins OlegsHanins changed the title [Bug]: [Bug]: Custom fixture title is not displayed in the html report. Nov 23, 2024
@mxschmitt
Copy link
Member

I can reproduce - does not show up in Trace Viewer nor HTML report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants