-
Notifications
You must be signed in to change notification settings - Fork 65
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 version needed changes without dependency versions having changed #460
Comments
Hey there @sw-tracker, thanks for reporting this issue. As you can see, the test-runner has a dependency range for Playwright that's quite low, Could you maybe do a bit more investigation on your side? Thanks! |
Thank you! You found the problem! If you add We have seen playwright updates due to storybook like this: 1.32.3/1.41.2/1.42.1/1.43.1 and now the dependency is Playwright happens to change browser versions when it updates its version, even minor version updates. This means we have to install new versions of the browsers every time this happens due to your dependencies. We also use playwright for E2E testing, and we never have this problem with that dependency. In our projects we want to have reproducible builds as close as possible, which means we lock our dependency versions (which I think everyone should do). Could you please lock your playwright dependency? (remove the |
I would also recommend that you create an |
Hi there, we have locked the playwright version on our package.json. Thank you! |
|
Describe the bug
We have these storybook dependencies, and we are running storybook tests in our pipeline.
We have a custom image that contains the following versions of playwright:
Everything was working normally until yesterday, when storybook started complaining that it doesnt have the playwright dependencies it needs:
Error: Executable doesn't exist at /home/ciuser/.cache/ms-playwright/chromium-1117/chrome-linux/chrome
These are the ones we had:
We had to add this to our image to get it to work again:
RUN npx playwright@1.44.0 install --with-deps --force msedge chromium
.It looks like you must have
latest
in one of your dependencies from playwright, which is not recommended at all. We would like to be able to have reproducible builds and pipelines, and right now this happens to us quiet often lately.To Reproduce
This will be reproduced if you have an image with very specific versions of playwright, rather than having the
latest
installed.System
Additional context
No response
The text was updated successfully, but these errors were encountered: