diff --git a/.github/actions/install-cache-deps/action.yml b/.github/actions/install-cache-deps/action.yml index 4857b651a..a5cc0809f 100644 --- a/.github/actions/install-cache-deps/action.yml +++ b/.github/actions/install-cache-deps/action.yml @@ -54,7 +54,7 @@ runs: shell: bash working-directory: ${{ inputs.WORKSPACE_ROOT }} id: playwright-version - run: echo 'PLAYWRIGHT_VERSION=$(cat package.json | jq -r '.dependencies.playwright' || 'latest')' >> $GITHUB_ENV + run: echo 'PLAYWRIGHT_VERSION=$(cat package.json | jq -r '.dependencies.["@playwright/test"]' || 'latest')' >> $GITHUB_ENV - uses: actions/cache@v4 if: ${{ inputs.BROWSER_BINARIES }} diff --git a/_ci/backstop/package.json b/_ci/backstop/package.json index 497a5b1d0..c84081ebb 100644 --- a/_ci/backstop/package.json +++ b/_ci/backstop/package.json @@ -28,6 +28,7 @@ "cors": "^2.8.5", "http-server": "^14.1.1", "patch-package": "^8.0.0", + "@playwright/test": "1.42.1", "pm2": "^5.3.1", "super-simple-web-server": "github:dgrebb/super-simple-web-server#0.0.2" }, diff --git a/_ci/backstop/pnpm-lock.yaml b/_ci/backstop/pnpm-lock.yaml index 0ae140798..54892e957 100644 --- a/_ci/backstop/pnpm-lock.yaml +++ b/_ci/backstop/pnpm-lock.yaml @@ -27,6 +27,11 @@ dependencies: specifier: github:dgrebb/super-simple-web-server#0.0.2 version: github.com/dgrebb/super-simple-web-server/0959327559e888460db4d65d7f049c61ff3ce19b +devDependencies: + '@playwright/test': + specifier: ^1.42.1 + version: 1.42.1 + packages: /@babel/code-frame@7.23.5: @@ -88,6 +93,14 @@ packages: uuid: 3.4.0 dev: false + /@playwright/test@1.42.1: + resolution: {integrity: sha512-Gq9rmS54mjBL/7/MvBaNOBwbfnh7beHvS6oS4srqXFcQHpQCV1+c8JXWE8VLPyRDhgS3H8x8A7hztqI9VnwrAQ==} + engines: {node: '>=16'} + hasBin: true + dependencies: + playwright: 1.42.1 + dev: true + /@pm2/agent@2.0.3: resolution: {integrity: sha512-xkqqCoTf5VsciMqN0vb9jthW7olVAi4KRFNddCc7ZkeJZ3i8QwZANr4NSH2H5DvseRFHq7MiPspRY/EWAFWWTg==} dependencies: @@ -1015,7 +1028,6 @@ packages: engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] requiresBuild: true - dev: false optional: true /fsevents@2.3.3: @@ -1800,6 +1812,12 @@ packages: hasBin: true dev: false + /playwright-core@1.42.1: + resolution: {integrity: sha512-mxz6zclokgrke9p1vtdy/COWBH+eOZgYUVVU34C73M+4j4HLlQJHtfcqiqqxpP0o8HhMkflvfbquLX5dg6wlfA==} + engines: {node: '>=16'} + hasBin: true + dev: true + /playwright@1.41.2: resolution: {integrity: sha512-v0bOa6H2GJChDL8pAeLa/LZC4feoAMbSQm1/jF/ySsWWoaNItvrMP7GEkvEEFyCTUYKMxjQKaTSg5up7nR6/8A==} engines: {node: '>=16'} @@ -1810,6 +1828,16 @@ packages: fsevents: 2.3.2 dev: false + /playwright@1.42.1: + resolution: {integrity: sha512-PgwB03s2DZBcNRoW+1w9E+VkLBxweib6KTXM0M3tkiT4jVxKSi6PmVJ591J+0u10LUrgxB7dLRbiJqO5s2QPMg==} + engines: {node: '>=16'} + hasBin: true + dependencies: + playwright-core: 1.42.1 + optionalDependencies: + fsevents: 2.3.2 + dev: true + /pm2-axon-rpc@0.7.1: resolution: {integrity: sha512-FbLvW60w+vEyvMjP/xom2UPhUN/2bVpdtLfKJeYM3gwzYhoTEEChCOICfFzxkxuoEleOlnpjie+n1nue91bDQw==} engines: {node: '>=5'}