microsoft / playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
https://playwright.dev
Apache License 2.0
66.83k stars 3.66k forks source link

[Feature] IntelliJ / WebStorm extension #14247

Closed pas2al closed 9 months ago

pas2al commented 2 years ago

Is there a plan to provide an extension for JetBrains IDEs similar to https://playwright.dev/docs/getting-started-vscode?

AlexKomanov commented 2 years ago

Upvoting X 1000! We use a WebStorm in the company, and not many people love to use the VSCode. So - the similar extension will be great!!!

Mshumaman commented 2 years ago

That's a great idea ! Like AlexKomanov we also use webstorm so I'm also voting for extension!

ValorHeart commented 2 years ago

Upvoting! I'm pretty sure there are many Jetbrains users, but it's not that easy to realize that it is required to come here in order to affect the decision to develop a playwright extension for it.

azad-derakhshani-GS commented 2 years ago

What exactly does the extension do? The link in the OP doesn't link to the extension anymore, the docs have changed apparently.

I'm using GoLand (uses the same engine as Webstorm) and I don't feel like anything's missing in terms of PW support, hence my question.

pas2al commented 2 years ago

What exactly does the extension do? The link in the OP doesn't link to the extension anymore, the docs have changed apparently.

I'm using GoLand (uses the same engine as Webstorm) and I don't feel like anything's missing in terms of PW support, hence my question.

Thanks. I fixed the link. How are you using PW in GoLand (Run config)?

I am coming from Protractor and it has been quite convenient for years to execute and debug e2e tests directly from the IDE. The VS Code extension has a few features I would like to see (besides simple "run tests") in an official plugin for Jetbrains IDEs. Like the live debugging or execution on specific browsers.

azad-derakhshani-GS commented 2 years ago

How are you using PW in GoLand (Run config)?

@pas2al What do you mean exactly? I just use it the normal way via command line, as it's described in the PW doc. No need for a run config.
And you can always run tests directly from the IDE, where else would you run them from (other than the cloud, I mean)?

ValorHeart commented 2 years ago

@azad-derakhshani-GS , Can you run specific test method straight from the spec file using the "green" arrow button in webstorm?

azad-derakhshani-GS commented 2 years ago

@azad-derakhshani-GS , Can you run specific test method straight from the spec file using the "green" arrow button in webstorm?

Dunno, but why would I need to? I've always run tests from the command line, that's so much faster and there are a lot of options (files, tags, envs etc) to specify what you want to test. A simple play button in the IDE does not provide the same functionality.

pas2al commented 2 years ago

Sure, this is one way. I am using the command line myself. I think it comes down to personal preference and individual workflows. The discussion seems to go a little bit off track regarding my original request.

I think there are quite a few people who are interested in this kind of IDE integration. Otherwise, the Playwright team wouldn't have built an extension for VSCode. Now the question is: Do we get the same one for Jetbrains IDEs?

Mitri86 commented 2 years ago

While PW team is evaluating the need for IntelliJ extension, I found an existing one: https://plugins.jetbrains.com/plugin/18100-maestro It more or less has the same functionality as the VSCode one, but it's paid.

ValorHeart commented 1 year ago

JetBrains has added official Playwright support: https://blog.jetbrains.com/qa/2023/06/playwright-support-arrives-to-jetbrains-aqua/

pavelfeldman commented 9 months ago

Closing as per above.