-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
ci(): update playwright #10496
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
ci(): update playwright #10496
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
@@ -60,7 +60,7 @@ | |||
"test:vitest:coverage:watch": "vitest --coverage=true", | |||
"coverage:merge": "nyc merge coveragefiles .nyc_output/merged-coverage.json", | |||
"local-server": "http-server ./ -d=false", | |||
"test:e2e": "npx playwright test --headed", |
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.
no need for npx if playwright is installed locally as a dev dep
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.
i think the point of this was to avoid installing it during all the git hub actions
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.
ah ok, I see now
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.
Dependency have also been cached, so this may not be necessary at all. The time was 2m before is 2m now, is ok to remove npx
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.
removed again
You need to add a line in the changelog for things to pass the CI |
I will add it to the changelog, first I wanted to see if you are interested for the PR |
7a0639d
to
8eb1e3f
Compare
Updates are always ok. if it pass the tests, is ok. |
8eb1e3f
to
a87e7c8
Compare
a87e7c8
to
ccf2421
Compare
I have noticed that current playwright version is 20 versions old, and what also means that it is using very old browsers.
Updating playwright always to latest is a good idea to get all the bugfixes and performance improvements + being able to test on bleeding edge browser versions