From 6f761219b2a28e4cfaa245f77ae0fa2d4867f682 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 19 Apr 2026 21:09:43 +0200 Subject: [PATCH] Add WebKit to e2e test matrix (#37298) Verified locally with 50 runs, averaging 9 seconds per local test suite run. Total suite took 15s. `--with-deps` is needed because webkit's dependencies are not pre-installed on GHA runners (as opposed to firefox/chrome which are preinstalled). --- This PR was written with the help of Claude Opus 4.7 --------- Co-authored-by: Claude (Opus 4.7) Co-authored-by: Nicolas --- Makefile | 3 +-- playwright.config.ts | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e621cc362fc..0e4d68bffe0 100644 --- a/Makefile +++ b/Makefile @@ -518,8 +518,7 @@ test-mssql-migration: migrations.mssql.test migrations.individual.mssql.test .PHONY: playwright playwright: deps-frontend - @# on GitHub Actions VMs, playwright's system deps are pre-installed - @pnpm exec playwright install $(if $(GITHUB_ACTIONS),,--with-deps) chromium firefox $(PLAYWRIGHT_FLAGS) + @pnpm exec playwright install --with-deps chromium firefox webkit $(PLAYWRIGHT_FLAGS) .PHONY: test-e2e test-e2e: playwright $(EXECUTABLE_E2E) diff --git a/playwright.config.ts b/playwright.config.ts index 9dc8a7c1b5c..8fdd777ee47 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -36,5 +36,11 @@ export default defineConfig({ ...devices['Desktop Firefox'], }, }, + { + name: 'webkit', + use: { + ...devices['Desktop Safari'], + }, + }, ], });