Playwright 1.64 Adds Shuffle and Named Locks for Test IsolationPlaywright 1.64 Adds Shuffle and Named Locks for Test Isolation
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
A green Playwright suite can still be order-coupled. A test can pass only because an earlier one left the database, storage, or a shared account in the right state. Change the worker schedule and that same check looks flaky. ๐—ฃ๐—น๐—ฎ๐˜†๐˜„๐—ฟ๐—ถ๐—ด๐—ต๐˜ ๐Ÿญ.๐Ÿฒ๐Ÿฐ, released 7 October 2026, adds --shuffle. It schedules tests in a random order and prints a seed. Pass that seed on the next run to reproduce the order that failed. Shared accounts still need an explicit boundary. test.describe.configure({ lock: 'user-settings' }) keeps tests that share the lock from running at the same time, across files and projects. Every other test stays parallel. In the default and serial modes, that lock is held for the whole file, because those tests already run together in order. Run shuffle on a scheduled job first, and keep the seed with the failure. โ€ข ๐—ฆ๐—ต๐˜‚๐—ณ๐—ณ๐—น๐—ฒ ๐—ฆ๐—ฒ๐—ฒ๐—ฑ โ€” replay the failed order โ€ข ๐—ก๐—ฎ๐—บ๐—ฒ๐—ฑ ๐—Ÿ๐—ผ๐—ฐ๐—ธ๐˜€ โ€” one shared account, no concurrent runs โ€ข ๐—™๐—ถ๐—น๐—ฒ-๐—ฆ๐—ฐ๐—ผ๐—ฝ๐—ฒ๐—ฑ ๐—›๐—ผ๐—น๐—ฑ โ€” default mode holds the lock for the whole file โ€ข ๐—ช๐—ผ๐—ฟ๐—ธ๐—ฒ๐—ฟ ๐——๐—ฎ๐˜๐—ฎ โ€” own records per worker โ€ข ๐—ฆ๐—ฐ๐—ต๐—ฒ๐—ฑ๐˜‚๐—น๐—ฒ๐—ฑ ๐—ฆ๐—ต๐˜‚๐—ณ๐—ณ๐—น๐—ฒ โ€” catch coupling off the pull-request path https://lnkd.in/dgZaXfVB #SQA #SDET #TestAutomation #Playwright #SoftwareTesting #QualityEngineering #CICD #FlakyTests #TestArchitecture #DevOps
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started