Playwright's new --only-changed CLI option has already been a huge time savor for our team. I can't stress enough how much I think it should be a part of your maintenance workflow. Run only tests with uncommitted changes: npx playwright test --only-changed Run tests changed relative to a specific branch: npx playwright test --only-changed=main The ability to update a Locator in a class file and then run only the associated tests is amazing. It streamlines our workflow, reduces unnecessary test runs, and allows for faster iterations. This feature is particularly useful in large projects where running the entire test suite can be time-consuming. Now, we can focus on the impacted areas, making our testing process more efficient and targeted. #Playwright #TestAutomation #QA #SoftwareTesting #DeveloperProductivity
Shout out Simon Knott for being the dev behind this feature. Really big fan of this direction. Makes maintaining large complex suites significantly more feasible.
Ben, what feels would also bring imense value is to only run tests which sit in folders or next to folders that contain changes. this way, pw users can also run only tests for which the code base has changed. what do you think?
this is an amazing feature. Great post.
That’s a great feature! I wonder how they find the tests that need to run in case the changed locator is in a high-hierarchy page object that is being inherited to a different page object, which is then used by the test.
It's really useful feature to get fast result from quick fix.
Wow this is awesome. Thanks for sharing
That’s interesting 🧐
Incredible feature that shortens the automation development cycle!
CTO & Founder at LoopQA // Playwright Ambassador // $250M+ in Client VC Raised // QA Deployed for Fortune 500 Companies
3moWell this went super viral! Awesome to see such an enthusiastic response 😀