Skip to content

fix(e2e): pin @playwright/test to 1.61.1 to match nixpkgs browsers - #347

Merged
jinglemansweep merged 1 commit into
mainfrom
fix/pin-playwright-nix
Jul 24, 2026
Merged

fix(e2e): pin @playwright/test to 1.61.1 to match nixpkgs browsers#347
jinglemansweep merged 1 commit into
mainfrom
fix/pin-playwright-nix

Conversation

@jinglemansweep

Copy link
Copy Markdown
Contributor

Summary

Pin @playwright/test to exact 1.61.1 to match the browser binaries provided by nixpkgs, and disable future Renovate updates for this package.

Problem

Renovate PR #340 bumped @playwright/test from 1.61.1 to 1.62.0 (the caret ^1.61.1 allowed the minor bump). On this NixOS system, Playwright browser binaries are managed by nixpkgs (playwright.browsers), which provides Playwright 1.61.1 with browser revision 1228. Playwright 1.62.0 expects revision 1234, which doesn't exist in the Nix store path (PLAYWRIGHT_BROWSERS_PATH), causing:

Error: browserType.launch: Executable doesn't exist at
/nix/store/.../chromium_headless_shell-1234/chrome-headless-shell-linux64/chrome-headless-shell

Changes

  • package.json: "@playwright/test": "^1.61.1" -> "1.61.1" (exact pin, no caret)
  • package-lock.json: downgraded @playwright/test, playwright, playwright-core from 1.62.0 to 1.61.1
  • renovate.json: added packageRules entry to disable updates for @playwright/test

Verification

  • npx playwright test --list — 41 tests collected, browser binary found
  • npx tsc --noEmit — clean
  • npx tsc -p e2e/tsconfig.json --noEmit — clean
  • pre-commit — all green

Playwright browser binaries on this NixOS system are managed by
nixpkgs playwright.browsers (currently 1.61.1, browser revision
1228). Renovate bumped @playwright/test to 1.62.0 (revision 1234)
which has no matching browser binary in the Nix store.

Pin to exact 1.61.1 (no caret) and disable Renovate updates for
this package via renovate.json packageRules.
@jinglemansweep
jinglemansweep enabled auto-merge July 24, 2026 23:20
@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@jinglemansweep
jinglemansweep merged commit 41dd92e into main Jul 24, 2026
5 checks passed
@jinglemansweep
jinglemansweep deleted the fix/pin-playwright-nix branch July 24, 2026 23:22
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