With the latest version of the mabl CLI, you can now import Playwright tests into mabl! The new Playwright import command is especially useful for new mabl users who want to migrate over an existing set of Playwright tests.
Try it out
To import Playwright tests to mabl, make sure the mabl CLI installed on your local machine uses version 2.30 or higher.
# Check the mabl CLI version
mabl -v
# Update the mabl CLI to the latest version
npm i -g @mablhq/mabl-cli
Run the Playwright import command. At a minimum, provide a path to the Playwright test(s) you want to import.
mabl tests import playwright --path <path-to-playwright-tests>
The mabl CLI includes options for importing Playwright tests at runtime and from a trace.zip file. See the article on importing tests in the mabl CLI for a full list of options.
Submit feedback
The Playwright import command is an early access offering. We highly encourage you to provide feedback on this feature in the mabl Product Portal. Your perspective helps us make sure we build a better product for you and our community!
Learn more
For a full step-by-step guide on migrating Playwright tests, check out the docs.