/plushcap/analysis/checkly/checkly-five-playwright-cli-features-you-should-know

Five Playwright CLI features you should know

What's this blog post about?

Microsoft's Playwright enables efficient end-to-end testing with real browsers. The text highlights five favorite CLI tricks for using Playwright effectively. These include the --last-failed flag to run only failed tests, --only-changed flag to run only changed spec files, and --repeat-each flag to ensure test stability. Additionally, the --forbid-only flag prevents accidental merging of test.only cases into main branches, while combining UI mode with --headed and --workers 1 allows for more comfortable debugging during development.

Company
Checkly

Date published
Oct. 4, 2024

Author(s)
Stefan Judis

Word count
1278

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.