-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
Debian not supported by playwright #283
Comments
PR welcome to add a note about this in CONTRIBUTING.md Closing in the meantime. |
## Reference Issues/PRs resolve #283 ## What does this implement/fix? - Added missing information (guide) on how to resolve dependencies which are required, in order to install `playwright` (which is required to run tests) on debian
Testing on DebianTo run the test suite on Debian, additional dependencies are needed to install playwright. Installing playwrightWhen running the test suite on Debian, playwright prompts to install its dependencies using: npx playwright install-deps According to the playwright's system requirements, only Ubuntu is officially supported, so when running the command, it tries to install the required packages Resolve missing dependenciesTo resolve the missing dependencies, you can:
To add the sudo nano /etc/apt/sources.list
# add the sources
deb http://deb.debian.org/debian/ bullseye main non-free
deb-src http://deb.debian.org/debian/ bullseye main non-free
# update package information
sudo apt-get update Download the official Ubuntu You should be able to install both packages, since the required dependencies will be resolved automatically through the non-free sources: wget <url-topackage>.deb
dpkg -i <package>.deb With all packages successfully installed, you can finally install npx playwright install-deps |
It should really be mentioned in the CONTRIBUTING.md, that
playwright
, which needs to be installed in order to run the tests, only supports Ubuntu and not Debian.Since the guide has the note
(Windows may work but there are no guarantees.)
, I setup a completely new VM with Debian 11 just to make sure everything is working. After finishing all the code and wanted to run the tests and get the error:I tried to find some alternative packages but gave up now. Gonna try to run the tests tomorrow with windows again.
The text was updated successfully, but these errors were encountered: