Skip to content
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

Playwright VSCode plugin compatibility #82

Open
Lewiscowles1986 opened this issue Nov 17, 2024 · 0 comments
Open

Playwright VSCode plugin compatibility #82

Lewiscowles1986 opened this issue Nov 17, 2024 · 0 comments

Comments

@Lewiscowles1986
Copy link
Contributor

Hey, thanks for working on this repo. It's incredibly cool, and while looking into #80 I noticed some things.

Hope you don't mind me using this issue to share.

I Recently setup a new full-stack web-app template as an accelerator for some devs experimenting with some newer tech.

For that, I used playwright and a nifty vscode extension:

Name: Playwright Test for VSCode
Id: ms-playwright.playwright
Description: Run Playwright Test tests in Visual Studio Code.
Version: 1.1.12
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright

It adds some options, such as Test: Install Playwright Browsers which can make it easier for folks to setup playwright and avoid the default errors (this package pulls older playwright browsers)

By installing that, and then bumping your dev dependencies (see below) I was able to get this working in a few clicks.

pytest-playwright==0.5.2
playwright==1.48.0

I did have to check

And see if the version the plugin downloads is the same version, but once I realised it was, I used this, rather than pulling the older versions (Since I don't know how I'd do that, I'm open to learning if you're open to sharing)

That led to the following easy to run, green tests.

Screenshot 2024-11-17 at 13 27 02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant