-
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
fix(test-runner): ESM compatibly on Windows #12615
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we run just the ESM tests on win/linux node16 bots?
a568668
to
a1854ed
Compare
.github/workflows/tests_primary.yml
Outdated
DEBUG: pw:install | ||
- run: npm run build | ||
- run: npx playwright install --with-deps | ||
- run: npm run ttest -- --grep=esm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's follow https://playwright.dev/docs/test-annotations#tag-tests:
npm run ttest -- --grep=@esm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was doing it with #
because we used it for our smoke tests: #smoke
. Shall I change #smoke -> @esm in a follow-up too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, why not.
ebe9097
to
520f5d8
Compare
Lets keep ensuring that ESM and its friends are working because currently they are broken and users are affected.
Relates:
.ts
extension when creating Playwright config for TypeScript projects sveltejs/kit#4194