-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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]: Emoji added in any test title causes the ui to hang on Windows #29606
Comments
This boils down to a bug in Node.js related to emojis in file names on Windows: nodejs/node#48673. Playwright tries to write a trace into a file that contains "example-🖥️-some-test" in its path and |
@HardCodr the problem is already fixed in Node v21.6.2, but apparently Node.js team is reluctant to backport the fix to LTS versions. |
Awesome! Thank you for your input! |
We could probably santitize some emoji symbols in the file names to mitigate the problem. There are multiple RegExp unicode char classes that we could match with something like
Considering that Windows filesystem properly handles all of the characters in the file names and that there is just one report so far, we'd rather wait for the Node.js fix to be rolled out. |
Version
latest
Steps to reproduce
On a Windows 11 machine:
Expected behavior
Actual behavior
Additional context
I added emojis to my tests to have a visual distinction between tests. I love the playwright ui but having 100+ tests makes it a bit difficult to me to distinguish between the categories of API tests and regular tests.
Environment
Any Windows 11 machine (might happen on Windows 10 - haven't tested)
The text was updated successfully, but these errors were encountered: