mirror of
https://github.com/payloadcms/payload.git
synced 2026-03-26 19:38:18 +00:00
This PR bumps the playwright version and configures it to use the new chromium headless browser. See https://playwright.dev/docs/browsers#chromium-new-headless-mode and https://github.com/microsoft/playwright/issues/33566 > New Headless on the other hand is the real Chrome browser, and is thus more authentic, reliable, and offers more features. This makes it more suitable for high-accuracy end-to-end web app testing or browser extension testing. > Switching to new headless mode gives you a browser that closely follows the regular headed browser, at the cost of being a bit heavier on features you probably do not need and being slightly slower. In order for CI playwright caching to work, the playwright version we use in our templates needs to match the one we use in our test suite. Thus, this PR bumps the templates playwright version and regenerates them.