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

Problems with @playwright/test@1.51 snapshot file names #7498

Open
deleonio opened this issue Mar 22, 2025 · 0 comments
Open

Problems with @playwright/test@1.51 snapshot file names #7498

deleonio opened this issue Mar 22, 2025 · 0 comments
Assignees

Comments

@deleonio
Copy link
Contributor

We rename the snapshot directory and the snapshot file name to make the output easier to understand.

[firefox] › tests/theme-snapshots.spec.js:22:2 › snapshot for textarea/with-counter
outputDir /Users/moppitz/Workspace/kolibri/lib/packages/test-tag-name-transformer/test-results/theme-snapshots-snapshot-for-textarea-with-counter-firefox
snapshotName /Users/moppitz/Workspace/kolibri/lib/packages/test-tag-name-transformer/test-results/snapshot-for-textarea-with-counter

But since `` we have problems with get parameters in the URL ?name1=value1&name2=value2. Playwright transform that to `f-c9742-ic-`.

[firefox] › tests/theme-snapshots.spec.js:22:2 › snapshot for toast/basic?type=default&variant=msg
outputDir /Users/moppitz/Workspace/kolibri/lib/packages/test-tag-name-transformer/test-results/theme-snapshots-snapshot-f-c9742-ic-type-default-variant-msg-firefox
snapshotName /Users/moppitz/Workspace/kolibri/lib/packages/test-tag-name-transformer/test-results/themesnapshot-f-c9742-ic-type-default-variant-msg
@deleonio deleonio self-assigned this Mar 22, 2025
@deleonio deleonio moved this to 🏗 In progress in KoliBri Board Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

No branches or pull requests

1 participant