Playwright support in Aqua

JetBrains Aqua – A Powerful IDE for Test Automation. In Aqua, we’ve assembled everything a test automation engineer needs on a daily basis.

Download Aqua

Try it for free

Playwright is an open-source test automation framework for web applications that provides a high-level API for automating web browsers such as Chrome, Firefox, and Safari. To make it easier for developers to write and run automated tests using Playwright.

Aqua shows your tests

When opening your project, Aqua will find your Playwright tests and show gutter icons to run your test from the editor. Running tests is simple and easy. If needed, you can also choose to run all tests from a file or directory.

Explore results and find issues

As a test is finished, Aqua will show detailed test results and display the related log and console output of that test. With multiple sorting and filtering options, it’s easy to get through all failed or ignored tests or inspect the test's execution time.

Save and share your test run settings

If you are running different sets of tests with different parameters or configurations, you can save your settings as a Run Configuration, share the configuration with your team, and instantly switch between the different settings.

Search specific test case

Finding a particular test in the source code can sometimes be tricky, especially when tests are not declared as functions. That’s where Aqua can help. Press ⇧ twice to open the search window and using Go to Symbol or Search everywhere, it’s now easy to find and jump to the specific test you’re looking for.

Debugger

Aqua also provides a debugger for your Playwright tests out of the box inside your IDE. You can set breakpoints to stop the execution and analyze your code.

Advanced coding experience

Aqua supports navigation from the source code to the element on your page. If you click on the CSS selector, for instance, or on the attribute value passed to the `page.getByTestId` function, Aqua will highlight the element in the Web Inspector. This helps easily verify whether the locator is valid and the element is available on the page.

Code insight

We enhanced our Code Insight and supported Playwright-specific functions and expressions. Aqua highlights CSS and XPath locators in string literals and provides the relevant code completion.

Download Aqua

Try it for free