From e468c69956d15f5c34536ddf9abf53b1843dd787 Mon Sep 17 00:00:00 2001 From: David Newell Date: Wed, 22 Nov 2023 17:31:57 +0000 Subject: [PATCH] use test-runner version --- .github/workflows/storybook-chromatic.yml | 2 +- Dockerfile.playwright | 2 +- package.json | 2 +- pnpm-lock.yaml | 33 +++++++++-------------- 4 files changed, 16 insertions(+), 23 deletions(-) diff --git a/.github/workflows/storybook-chromatic.yml b/.github/workflows/storybook-chromatic.yml index d5370fe23902a..cdf2ba0504a51 100644 --- a/.github/workflows/storybook-chromatic.yml +++ b/.github/workflows/storybook-chromatic.yml @@ -54,7 +54,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 container: - image: mcr.microsoft.com/playwright:v1.40.0 # Same as @storybook/test-runner@0.13's dependency + image: mcr.microsoft.com/playwright:v1.32.2 # Same as @storybook/test-runner@0.15.2's dependency strategy: fail-fast: false matrix: diff --git a/Dockerfile.playwright b/Dockerfile.playwright index 9f5de7d5193bf..e911be228f55c 100644 --- a/Dockerfile.playwright +++ b/Dockerfile.playwright @@ -3,7 +3,7 @@ # We do this to ensure our reference images for visual regression tests are the same during development and in CI. # -FROM mcr.microsoft.com/playwright:v1.40.0 +FROM mcr.microsoft.com/playwright:v1.32.2 WORKDIR /work diff --git a/package.json b/package.json index 310958059336e..150482b948cec 100644 --- a/package.json +++ b/package.json @@ -182,7 +182,7 @@ "@babel/preset-typescript": "^7.22.5", "@babel/runtime": "^7.22.10", "@cypress/webpack-preprocessor": "^5.17.1", - "@playwright/test": "1.40.0", + "@playwright/test": "1.32.2", "@sentry/types": "7.22.0", "@storybook/addon-a11y": "^7.5.1", "@storybook/addon-actions": "^7.5.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bb609c8bb2645..7eb9cdbe5835d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -355,8 +355,8 @@ devDependencies: specifier: ^5.17.1 version: 5.17.1(@babel/core@7.22.10)(@babel/preset-env@7.22.10)(babel-loader@8.3.0)(webpack@5.88.2) '@playwright/test': - specifier: 1.40.0 - version: 1.40.0 + specifier: 1.32.2 + version: 1.32.2 '@sentry/types': specifier: 7.22.0 version: 7.22.0 @@ -3374,12 +3374,15 @@ packages: tslib: 2.6.2 dev: true - /@playwright/test@1.40.0: - resolution: {integrity: sha512-PdW+kn4eV99iP5gxWNSDQCbhMaDVej+RXL5xr6t04nbKLCBwYtA046t7ofoczHOm8u6c+45hpDKQVZqtqwkeQg==} - engines: {node: '>=16'} + /@playwright/test@1.32.2: + resolution: {integrity: sha512-nhaTSDpEdTTttdkDE8Z6K3icuG1DVRxrl98Qq0Lfc63SS9a2sjc9+x8ezysh7MzCKz6Y+nArml3/mmt+gqRmQQ==} + engines: {node: '>=14'} hasBin: true dependencies: - playwright: 1.40.0 + '@types/node': 18.18.4 + playwright-core: 1.32.2 + optionalDependencies: + fsevents: 2.3.2 dev: true /@pmmmwh/react-refresh-webpack-plugin@0.5.11(react-refresh@0.11.0)(webpack@5.88.2): @@ -13188,7 +13191,7 @@ packages: jest-process-manager: 0.3.1 jest-runner: 29.7.0 nyc: 15.1.0 - playwright-core: 1.29.2 + playwright-core: 1.32.2 rimraf: 3.0.2 uuid: 8.3.2 transitivePeerDependencies: @@ -15413,9 +15416,9 @@ packages: hasBin: true dev: true - /playwright-core@1.40.0: - resolution: {integrity: sha512-fvKewVJpGeca8t0ipM56jkVSU6Eo0RmFvQ/MaCQNDYm+sdvKkMBBWTE1FdeMqIdumRaXXjZChWHvIzCGM/tA/Q==} - engines: {node: '>=16'} + /playwright-core@1.32.2: + resolution: {integrity: sha512-zD7aonO+07kOTthsrCR3YCVnDcqSHIJpdFUtZEMOb6//1Rc7/6mZDRdw+nlzcQiQltOOsiqI3rrSyn/SlyjnJQ==} + engines: {node: '>=14'} hasBin: true dev: true @@ -15428,16 +15431,6 @@ packages: playwright-core: 1.29.2 dev: true - /playwright@1.40.0: - resolution: {integrity: sha512-gyHAgQjiDf1m34Xpwzaqb76KgfzYrhK7iih+2IzcOCoZWr/8ZqmdBw+t0RU85ZmfJMgtgAiNtBQ/KS2325INXw==} - engines: {node: '>=16'} - hasBin: true - dependencies: - playwright-core: 1.40.0 - optionalDependencies: - fsevents: 2.3.2 - dev: true - /please-upgrade-node@3.2.0: resolution: {integrity: sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==} dependencies: