From 7f091b3595426eebccffb8e01ca39e845689b57a Mon Sep 17 00:00:00 2001 From: elbywan Date: Mon, 21 Nov 2022 12:10:34 +0100 Subject: [PATCH] attempt to force playwright @ 1.27.1 see: https://github.com/microsoft/playwright/issues/18928 --- apps/ledger-live-desktop/package.json | 4 +-- pnpm-lock.yaml | 31 ++++++++++--------- .../composites/test-desktop/action.yml | 2 +- .../update-snapshots-desktop/action.yml | 2 +- 4 files changed, 20 insertions(+), 19 deletions(-) diff --git a/apps/ledger-live-desktop/package.json b/apps/ledger-live-desktop/package.json index 313683e70bf..262883944f1 100644 --- a/apps/ledger-live-desktop/package.json +++ b/apps/ledger-live-desktop/package.json @@ -165,7 +165,7 @@ "@bunchtogether/vite-plugin-flow": "^1.0.2", "@mapbox/node-pre-gyp": "^1.0.8", "@octokit/rest": "^18.12.0", - "@playwright/test": "1.22.2", + "@playwright/test": "1.27.1", "@sentry/cli": "^2.5.2", "@storybook/addon-actions": "^6.3.12", "@storybook/addon-essentials": "^6.3.12", @@ -225,7 +225,7 @@ "listr-verbose-renderer": "^0.6.0", "native-modules-tools": "workspace:*", "nyc": "^15.1.0", - "playwright": "1.22.2", + "playwright": "1.27.1", "prebuild-install": "^7.0.0", "prettier": "^1.19.1", "react-refresh": "^0.11.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d903d5ded59..f9c7292ee7c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -168,7 +168,7 @@ importers: '@ledgerhq/types-live': workspace:^ '@mapbox/node-pre-gyp': ^1.0.8 '@octokit/rest': ^18.12.0 - '@playwright/test': 1.22.2 + '@playwright/test': 1.27.1 '@polkadot/react-identicon': 0.89.2 '@sentry/cli': ^2.5.2 '@sentry/electron': ^4.0.0 @@ -264,7 +264,7 @@ importers: native-modules-tools: workspace:* nyc: ^15.1.0 openpgp: ^4.10.10 - playwright: 1.22.2 + playwright: 1.27.1 prando: ^5.1.2 prebuild-install: ^7.0.0 prettier: ^1.19.1 @@ -443,7 +443,7 @@ importers: '@bunchtogether/vite-plugin-flow': 1.0.2 '@mapbox/node-pre-gyp': 1.0.9 '@octokit/rest': 18.12.0 - '@playwright/test': 1.22.2 + '@playwright/test': 1.27.1 '@sentry/cli': 2.5.2 '@storybook/addon-actions': 6.4.22_k2mvpji5i2ojml6m4ftklg47pa '@storybook/addon-essentials': 6.4.22_fiuzcodionxowgn5urbocdplem @@ -503,7 +503,7 @@ importers: listr-verbose-renderer: 0.6.0 native-modules-tools: link:../../tools/native-modules-tools nyc: 15.1.0 - playwright: 1.22.2 + playwright: 1.27.1 prebuild-install: 7.1.0 prettier: 1.19.1 react-refresh: 0.11.0 @@ -12955,13 +12955,13 @@ packages: - utf-8-validate dev: true - /@playwright/test/1.22.2: - resolution: {integrity: sha512-cCl96BEBGPtptFz7C2FOSN3PrTnJ3rPpENe+gYCMx4GNNDlN4tmo2D89y13feGKTMMAIVrXfSQ/UmaQKLy1XLA==} + /@playwright/test/1.27.1: + resolution: {integrity: sha512-mrL2q0an/7tVqniQQF6RBL2saskjljXzqNcCOVMUjRIgE6Y38nCNaP+Dc2FBW06bcpD3tqIws/HT9qiMHbNU0A==} engines: {node: '>=14'} hasBin: true dependencies: - '@types/node': 17.0.32 - playwright-core: 1.22.2 + '@types/node': 18.11.7 + playwright-core: 1.27.1 dev: true /@pmmmwh/react-refresh-webpack-plugin/0.5.7_a3gyllrqvxpec3fpybsrposvju: @@ -24315,7 +24315,7 @@ packages: mkdirp: 0.5.6 move-concurrently: 1.0.1 p-map: 3.0.0 - promise-inflight: 1.0.1 + promise-inflight: 1.0.1_bluebird@3.7.2 rimraf: 2.7.1 ssri: 7.1.1 unique-filename: 1.1.1 @@ -36963,7 +36963,7 @@ packages: pretty-format: 28.1.3 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.7.0_tkjtzjn6uycmzwu4x5vlfpspl4 + ts-node: 10.7.0_33lso24kgdvwdhve7eirdtgycu transitivePeerDependencies: - metro - supports-color @@ -43826,19 +43826,19 @@ packages: - utf-8-validate dev: true - /playwright-core/1.22.2: - resolution: {integrity: sha512-w/hc/Ld0RM4pmsNeE6aL/fPNWw8BWit2tg+TfqJ3+p59c6s3B6C8mXvXrIPmfQEobkcFDc+4KirNzOQ+uBSP1Q==} + /playwright-core/1.27.1: + resolution: {integrity: sha512-9EmeXDncC2Pmp/z+teoVYlvmPWUC6ejSSYZUln7YaP89Z6lpAaiaAnqroUt/BoLo8tn7WYShcfaCh+xofZa44Q==} engines: {node: '>=14'} hasBin: true dev: true - /playwright/1.22.2: - resolution: {integrity: sha512-hUTpg7LytIl3/O4t0AQJS1V6hWsaSY5uZ7w1oCC8r3a1AQN5d6otIdCkiB3cbzgQkcMaRxisinjMFMVqZkybdQ==} + /playwright/1.27.1: + resolution: {integrity: sha512-xXYZ7m36yTtC+oFgqH0eTgullGztKSRMb4yuwLPl8IYSmgBM88QiB+3IWb1mRIC9/NNwcgbG0RwtFlg+EAFQHQ==} engines: {node: '>=14'} hasBin: true requiresBuild: true dependencies: - playwright-core: 1.22.2 + playwright-core: 1.27.1 dev: true /please-upgrade-node/3.2.0: @@ -45994,6 +45994,7 @@ packages: peerDependenciesMeta: bluebird: optional: true + dev: true /promise-inflight/1.0.1_bluebird@3.7.2: resolution: {integrity: sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==} diff --git a/tools/actions/composites/test-desktop/action.yml b/tools/actions/composites/test-desktop/action.yml index 394f9b78af0..71b2ecf51b7 100644 --- a/tools/actions/composites/test-desktop/action.yml +++ b/tools/actions/composites/test-desktop/action.yml @@ -15,7 +15,7 @@ runs: run: pnpm i --filter="ledger-live-desktop..." --filter="ledger-live" --frozen-lockfile --unsafe-perm shell: bash - name: Install playwright dependencies - run: npx playwright install --with-deps chromium + run: npx playwright@1.27.1 install --with-deps chromium shell: bash - name: Build dependencies env: diff --git a/tools/actions/composites/update-snapshots-desktop/action.yml b/tools/actions/composites/update-snapshots-desktop/action.yml index 528590c543e..255646d1e4e 100644 --- a/tools/actions/composites/update-snapshots-desktop/action.yml +++ b/tools/actions/composites/update-snapshots-desktop/action.yml @@ -15,7 +15,7 @@ runs: run: pnpm i --filter="ledger-live-desktop..." --filter="ledger-live" --frozen-lockfile --unsafe-perm shell: bash - name: Install playwright dependencies - run: npx playwright install --with-deps chromium + run: npx playwright@1.27.1 install --with-deps chromium shell: bash - name: Build dependencies env: