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..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.55.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 61a286ab1..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.55.1 - version: 1.59.1 + specifier: ~1.64.1 + version: 1.64.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.64.1': + resolution: {integrity: sha512-IaYGml/nSOiZWROfPtuIL7neuu9qDOZ3TNvNljUIrhDMxiGTgPjzj/g9p9RxpS2tSepPDRY+UwAaEeiKtUvIAg==} + 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.64.1: + resolution: {integrity: sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ==} + 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.64.1: + resolution: {integrity: sha512-HCrVhHr5QQuwYoswEUGTb7gGp522yflbv/ST8nF4sFWGuLjQCt17Q/EubpGGSNKYn1tsTCPZxqHhHCfVURu7UA==} + 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.64.1': dependencies: - playwright: 1.59.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.59.1: {} + playwright-core@1.64.1: {} playwright@1.55.1: dependencies: @@ -13095,11 +13095,9 @@ snapshots: optionalDependencies: fsevents: 2.3.2 - playwright@1.59.1: + playwright@1.64.1: dependencies: - playwright-core: 1.59.1 - optionalDependencies: - fsevents: 2.3.2 + playwright-core: 1.64.1 points-on-curve@0.2.0: {}