Skip to content

feat(e2e): update Playwright to version 1.64.1 and improve type defin… - #680

Merged
pikann merged 1 commit into
masterfrom
feature/update-playwright-for-e2e-testing
Oct 31, 2026
Merged

pikann merged 1 commit into
masterfrom
feature/update-playwright-for-e2e-testing

Conversation

@pikann

@pikann pikann commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The e2e-tests workflow was failing at Install Playwright browsers in every matrix job (chromium, firefox, webkit, mobile-chrome, mobile-safari), so no tests ran. ubuntu-latest now resolves to Ubuntu 26.04, which Playwright 1.58.2 doesn't support:

Error: ERROR: Playwright does not support chromium on ubuntu26.04-x64

(failed run)

This PR upgrades @playwright/test from ^1.58.2 to ^1.64.1, which lists Ubuntu 26.04 as officially supported. The workflow keeps ubuntu-latest; the alternative of pinning ubuntu-24.04 was dropped in favour of this.

Changes

  • apps/e2e/package.json, apps/e2e/bun.lock: bump @playwright/test to ^1.64.1.
  • Fix type errors the new typings introduced in the e2e specs:
    • realtime/event-authorization.spec.ts, realtime/iam-changes.spec.ts: the Playwright type is no longer exported, so use PlaywrightWorkerArgs["playwright"].
    • iam/list-scoping.spec.ts: annotate response as APIResponse to break an implicit-any circularity.
    • security/git-webhook.spec.ts: type deliveries with optional headers: Record<string, string>.

Verification

  • tsc --noEmit in apps/e2e is clean.
  • playwright test --list discovers all 12000 tests.
  • Not run: the specs themselves (they need the e2e docker stack) and the workflow on CI. Please re-trigger e2e-tests on this branch and check that the browser install step passes on 26.04 and that the Docker build and stack start behave there too.

🤖 Generated with Claude Code

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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 on ubuntu-latest (26.04). The new lock entries check out: the @playwright/[email protected] / [email protected] / [email protected] sha512 integrities match the published npm tarballs, and dropping the fsevents entry is correct — 1.64.1's published manifest no longer declares it as an optional dependency.
  • type Playwright removed from the realtime specs (event-authorization.spec.ts, iam-changes.spec.ts) — annotate the fixture as PlaywrightWorkerArgs["playwright"], which is exactly the declared type of the playwright fixture.
  • Implicit-any cleanups (iam/list-scoping.spec.ts, security/git-webhook.spec.ts) — explicit APIResponse / deliveries annotations.

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.

Pullfrog  | View workflow run | Using deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

@pikann
pikann merged commit 1dc34c9 into master Oct 31, 2026
2 checks passed
@pikann
pikann deleted the feature/update-playwright-for-e2e-testing branch October 31, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant