-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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] Playwright breaks in case of current directory case mismatch #16347
Comments
Thanks for the report. The error message looks to be particularly confusing in this case. We will review! |
Discussed and looks like:
and
should behave similarly. Since they are not, this likely means there is a bug in our file resolution logic. However, since there is a workaround for now, marking as a future release milestone. Thanks! |
Folding into #9193. |
Folding into #9193 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context:
Describe the bug
If the current directory doesn't have "correct" uppercase/lowercase letters, playwright won't run any tests and gives a confusing error message because it ignores playwright.config.ts and treats the tests themselves as configuration file(s). For example, it might say "Playwright Test did not expect test.beforeEach() to be called here".
Code Snippet
Powershell transcript using on the example shipped provided with playwright:
The bug was originally described in #13092.
The text was updated successfully, but these errors were encountered: