fix(playwright): auto-install Playwright browsers via prepare script#1041
fix(playwright): auto-install Playwright browsers via prepare script#1041
prepare script#1041Conversation
🦋 Changeset detectedLatest commit: a01f184 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
|
https://docs.npmjs.com/cli/v8/using-npm/scripts
Is the prepare script really appropriate? Wouldn't this run during CI? (As a side note, |
|
I guess that if you have I don't know |
They use a seperate package manager to install it. It was a throwaway comment, not a blocker. |
|
I still want to see the behavior there 👍 |
|
I installed What's really annoying is that Playwright is not doing a great job spiting this gigantic error! I'm hesitant to know how good/bad is it to put in prepare script. |
|
Original problem was playwright printing too much junk. Maybe this is more of an upstream issue and we should just print a msg in the console. |
|
My 2c: if you have e2e tests and you're not running them in CI, you're Doing It Wrong. And if you can't run them in CI because you're using NixOS, then the solution to that is stop using NixOS |
Closes #1038
Description
Add
playwright installin prepare script to make sure we are ready to test:e2eChecklist