From c4d3dbf9985e492d1f32b934252884ae92f53e8d Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 16 Nov 2026 15:30:01 +0000 Subject: [PATCH 1/2] build(e2e): upgrade Playwright to 1.65.1 for Ubuntu 26.04 runners ubuntu-latest now resolves to Ubuntu 26.04, and Playwright 1.59.1 refuses to install browsers there ("Playwright does not support chromium on ubuntu26.04-x64"), so e2e-tests:required fails before any test runs. Playwright supports Ubuntu 26.04 since 1.63. Upgrade @playwright/test to ^1.65.1 (lockfile: the three Playwright packages only), and install the browsers the e2e projects use with their OS packages in CI before running the tests. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VP2vTHJDxWCtmbSkf3682e --- .github/workflows/tests.yaml | 6 ++++++ package.json | 2 +- pnpm-lock.yaml | 34 ++++++++++++++++------------------ 3 files changed, 23 insertions(+), 19 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 167999331..5e9835310 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -187,6 +187,12 @@ jobs: - name: Build test canister run: | ./scripts/generate-wasm.sh test_canister + # Install the browsers the e2e projects use together with their OS packages, so that + # a new runner image (ubuntu-latest moves between Ubuntu releases) cannot leave them + # without the system libraries they need. + - name: 'Install Playwright browsers' + run: | + pnpm exec playwright install --with-deps chromium firefox - name: Run e2e tests run: | pnpm run test:e2e diff --git a/package.json b/package.json index 6a7cb90a0..d7245e26f 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "@nx/devkit": "19.8.3", "@nx/js": "19.8.3", "@nx/workspace": "19.8.3", - "@playwright/test": "^1.55.1", + "@playwright/test": "^1.65.1", "@types/node": "22.7.4", "@typescript-eslint/eslint-plugin": "8.23.0", "@typescript-eslint/parser": "8.23.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 61a286ab1..6ef9ee2a5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,8 +51,8 @@ importers: specifier: 19.8.3 version: 19.8.3 '@playwright/test': - specifier: ^1.55.1 - version: 1.59.1 + specifier: ^1.65.1 + version: 1.65.1 '@types/node': specifier: 22.7.4 version: 22.7.4 @@ -2475,9 +2475,9 @@ packages: resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} - '@playwright/test@1.59.1': - resolution: {integrity: sha512-PG6q63nQg5c9rIi4/Z5lR5IVF7yU5MqmKaPOe0HSc0O2cX1fPi96sUQu5j7eo4gKCkB2AnNGoWt7y4/Xx3Kcqg==} - engines: {node: '>=18'} + '@playwright/test@1.65.1': + resolution: {integrity: sha512-y+NCIRm2LvY4slUVWvGh1nujJ8RF/hEisIsq2mtUPgdQC4L701bq5hZGMhrpeXjACvwvO9tj5dJqhvM6TP9lbw==} + engines: {node: '>=20'} hasBin: true '@rollup/pluginutils@5.3.0': @@ -5542,9 +5542,9 @@ packages: engines: {node: '>=18'} hasBin: true - playwright-core@1.59.1: - resolution: {integrity: sha512-HBV/RJg81z5BiiZ9yPzIiClYV/QMsDCKUyogwH9p3MCP6IYjUFu/MActgYAvK0oWyV9NlwM3GLBjADyWgydVyg==} - engines: {node: '>=18'} + playwright-core@1.65.1: + resolution: {integrity: sha512-hqPpz7blSMPxWVdoeE1yiBSzXsKiVOd2k+kjCvmUywD2GPO2Dd9HfcWnq9NN0GHbNZDFgZ9JfBFr+X5/BLo0qw==} + engines: {node: '>=20'} hasBin: true playwright@1.55.1: @@ -5552,9 +5552,9 @@ packages: engines: {node: '>=18'} hasBin: true - playwright@1.59.1: - resolution: {integrity: sha512-C8oWjPR3F81yljW9o5OxcWzfh6avkVwDD2VYdwIGqTkl+OGFISgypqzfu7dOe4QNLL2aqcWBmI3PMtLIK233lw==} - engines: {node: '>=18'} + playwright@1.65.1: + resolution: {integrity: sha512-vJ1FuoOrNwOKHUIVEvSt3jT1L+wjjDpwhwIstKtfvTh8XIG4FG4bIFuvNdMxi81LGfAhUgUZleVFaOLY4RIUUw==} + engines: {node: '>=20'} hasBin: true points-on-curve@0.2.0: @@ -9217,9 +9217,9 @@ snapshots: '@pkgr/core@0.1.1': {} - '@playwright/test@1.59.1': + '@playwright/test@1.65.1': dependencies: - playwright: 1.59.1 + playwright: 1.65.1 '@rollup/pluginutils@5.3.0(rollup@4.60.0)': dependencies: @@ -13087,7 +13087,7 @@ snapshots: playwright-core@1.55.1: {} - playwright-core@1.59.1: {} + playwright-core@1.65.1: {} playwright@1.55.1: dependencies: @@ -13095,11 +13095,9 @@ snapshots: optionalDependencies: fsevents: 2.3.2 - playwright@1.59.1: + playwright@1.65.1: dependencies: - playwright-core: 1.59.1 - optionalDependencies: - fsevents: 2.3.2 + playwright-core: 1.65.1 points-on-curve@0.2.0: {} From fa325e5899dbeb527743b2dea34addfc7aae131e Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 16 Nov 2026 15:40:33 +0000 Subject: [PATCH 2/2] build(e2e): pin Playwright to ~1.64.1, the last line tested on Node 20 Playwright 1.65.0 no longer tests on Node.js 20 ("Use Node.js 22, 24 or 26"), and the repository pins Node 20 (.nvmrc, engines.node ^20), which the e2e job uses through setup-node. 1.64.1 already supports Ubuntu 26.04 (since 1.63) and does not drop Node 20, so pin ~1.64.1 until the repository moves to Node 22. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VP2vTHJDxWCtmbSkf3682e --- package.json | 2 +- pnpm-lock.yaml | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index d7245e26f..be39fb631 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "@nx/devkit": "19.8.3", "@nx/js": "19.8.3", "@nx/workspace": "19.8.3", - "@playwright/test": "^1.65.1", + "@playwright/test": "~1.64.1", "@types/node": "22.7.4", "@typescript-eslint/eslint-plugin": "8.23.0", "@typescript-eslint/parser": "8.23.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6ef9ee2a5..ab4207e99 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,8 +51,8 @@ importers: specifier: 19.8.3 version: 19.8.3 '@playwright/test': - specifier: ^1.65.1 - version: 1.65.1 + specifier: ~1.64.1 + version: 1.64.1 '@types/node': specifier: 22.7.4 version: 22.7.4 @@ -2475,8 +2475,8 @@ packages: resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} - '@playwright/test@1.65.1': - resolution: {integrity: sha512-y+NCIRm2LvY4slUVWvGh1nujJ8RF/hEisIsq2mtUPgdQC4L701bq5hZGMhrpeXjACvwvO9tj5dJqhvM6TP9lbw==} + '@playwright/test@1.64.1': + resolution: {integrity: sha512-IaYGml/nSOiZWROfPtuIL7neuu9qDOZ3TNvNljUIrhDMxiGTgPjzj/g9p9RxpS2tSepPDRY+UwAaEeiKtUvIAg==} engines: {node: '>=20'} hasBin: true @@ -5542,8 +5542,8 @@ packages: engines: {node: '>=18'} hasBin: true - playwright-core@1.65.1: - resolution: {integrity: sha512-hqPpz7blSMPxWVdoeE1yiBSzXsKiVOd2k+kjCvmUywD2GPO2Dd9HfcWnq9NN0GHbNZDFgZ9JfBFr+X5/BLo0qw==} + playwright-core@1.64.1: + resolution: {integrity: sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ==} engines: {node: '>=20'} hasBin: true @@ -5552,8 +5552,8 @@ packages: engines: {node: '>=18'} hasBin: true - playwright@1.65.1: - resolution: {integrity: sha512-vJ1FuoOrNwOKHUIVEvSt3jT1L+wjjDpwhwIstKtfvTh8XIG4FG4bIFuvNdMxi81LGfAhUgUZleVFaOLY4RIUUw==} + playwright@1.64.1: + resolution: {integrity: sha512-HCrVhHr5QQuwYoswEUGTb7gGp522yflbv/ST8nF4sFWGuLjQCt17Q/EubpGGSNKYn1tsTCPZxqHhHCfVURu7UA==} engines: {node: '>=20'} hasBin: true @@ -9217,9 +9217,9 @@ snapshots: '@pkgr/core@0.1.1': {} - '@playwright/test@1.65.1': + '@playwright/test@1.64.1': dependencies: - playwright: 1.65.1 + playwright: 1.64.1 '@rollup/pluginutils@5.3.0(rollup@4.60.0)': dependencies: @@ -13087,7 +13087,7 @@ snapshots: playwright-core@1.55.1: {} - playwright-core@1.65.1: {} + playwright-core@1.64.1: {} playwright@1.55.1: dependencies: @@ -13095,9 +13095,9 @@ snapshots: optionalDependencies: fsevents: 2.3.2 - playwright@1.65.1: + playwright@1.64.1: dependencies: - playwright-core: 1.65.1 + playwright-core: 1.64.1 points-on-curve@0.2.0: {}