You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new skeleton app with Playwright added
Run npm install
Run npm test
Issue: "Error: No tests found"
I was initially confused by this because I have other SvelteKit apps running Playwright tests without issue. It turns out in the initial configuration set by create-svelte (version 4.1.0) has a file called "/tests/test.js"
This file is not detected by the default @playwright/test setup.
Changing the filename to "default.test.js" resolves the issue.
Describe the bug
Create a new skeleton app with Playwright added
Run
npm install
Run
npm test
Issue: "Error: No tests found"
I was initially confused by this because I have other SvelteKit apps running Playwright tests without issue. It turns out in the initial configuration set by create-svelte (version 4.1.0) has a file called "/tests/test.js"
This file is not detected by the default @playwright/test setup.
Changing the filename to "default.test.js" resolves the issue.
Reproduction
https://github.com/csi-mattkallman/issue-with-default-playwright-test
Logs
No response
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: