Repository navigation
feat(e2e): update Playwright to version 1.64.1 and improve type defin… - #680
Conversation
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Playwright
^1.58.2→^1.64.1(apps/e2e/package.json,apps/e2e/bun.lock) — unblocks the browser-install step onubuntu-latest(26.04). The new lock entries check out: the@playwright/[email protected]/[email protected]/[email protected]sha512integrities match the published npm tarballs, and dropping thefseventsentry is correct — 1.64.1's published manifest no longer declares it as an optional dependency. type Playwrightremoved from the realtime specs (event-authorization.spec.ts,iam-changes.spec.ts) — annotate the fixture asPlaywrightWorkerArgs["playwright"], which is exactly the declared type of theplaywrightfixture.- Implicit-any cleanups (
iam/list-scoping.spec.ts,security/git-webhook.spec.ts) — explicitAPIResponse/deliveriesannotations.
I confirmed tsc --noEmit over the whole apps/e2e project is clean (80 test files, strict), and reviewed the 1.58→1.64 breaking-change notes against the suite: the removed deprecated APIs (ariaRef, exposeBinding handle, connect logger, videosPath/videoSize) and 1.59's removed macOS-14 WebKit / ct-svelte are all unused here, and the 1.64 device-screen forwarding does not affect the app's responsive logic, which keys off viewport-based matchMedia(max-width) / window.innerWidth rather than window.screen or device-width. The remaining gap is running the specs themselves, which the PR body already calls out.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

Summary
The
e2e-testsworkflow was failing at Install Playwright browsers in every matrix job (chromium, firefox, webkit, mobile-chrome, mobile-safari), so no tests ran.ubuntu-latestnow resolves to Ubuntu 26.04, which Playwright 1.58.2 doesn't support:(failed run)
This PR upgrades
@playwright/testfrom^1.58.2to^1.64.1, which lists Ubuntu 26.04 as officially supported. The workflow keepsubuntu-latest; the alternative of pinningubuntu-24.04was dropped in favour of this.Changes
apps/e2e/package.json,apps/e2e/bun.lock: bump@playwright/testto^1.64.1.realtime/event-authorization.spec.ts,realtime/iam-changes.spec.ts: thePlaywrighttype is no longer exported, so usePlaywrightWorkerArgs["playwright"].iam/list-scoping.spec.ts: annotateresponseasAPIResponseto break an implicit-anycircularity.security/git-webhook.spec.ts: typedeliverieswith optionalheaders: Record<string, string>.Verification
tsc --noEmitinapps/e2eis clean.playwright test --listdiscovers all 12000 tests.🤖 Generated with Claude Code