From 8e7c02069e9f53c750a73f125ae3238c53a8d28c Mon Sep 17 00:00:00 2001 From: Jesse Mazzella Date: Sat, 4 Nov 2023 17:20:35 -0700 Subject: [PATCH] chore: bump Playwright to v1.39.0 (#7201) --- .circleci/config.yml | 4 ++-- .github/workflows/e2e-couchdb.yml | 6 +++--- .github/workflows/e2e-pr.yml | 8 ++++---- package.json | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3dfa1d6569..3e9f440d65 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 executors: pw-focal-development: docker: - - image: mcr.microsoft.com/playwright:v1.36.2-focal + - image: mcr.microsoft.com/playwright:v1.39.0-focal environment: NODE_ENV: development # Needed to ensure 'dist' folder created and devDependencies installed PERCY_POSTINSTALL_BROWSER: 'true' # Needed to store the percy browser in cache deps @@ -162,7 +162,7 @@ jobs: steps: - build_and_install: node-version: <> - - run: npx playwright@1.36.2 install #Necessary for bare ubuntu machine + - run: npx playwright@1.39.0 install #Necessary for bare ubuntu machine - run: | export $(cat src/plugins/persistence/couch/.env.ci | xargs) docker-compose -f src/plugins/persistence/couch/couchdb-compose.yaml up --detach diff --git a/.github/workflows/e2e-couchdb.yml b/.github/workflows/e2e-couchdb.yml index ebec186142..07b62013b4 100644 --- a/.github/workflows/e2e-couchdb.yml +++ b/.github/workflows/e2e-couchdb.yml @@ -27,7 +27,7 @@ jobs: key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} restore-keys: | ${{ runner.os }}-node- - + - run: npm install --cache ~/.npm --no-audit --progress=false - name: Login to DockerHub @@ -36,8 +36,8 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - - run: npx playwright@1.36.2 install + + - run: npx playwright@1.39.0 install - name: Start CouchDB Docker Container and Init with Setup Scripts run: | diff --git a/.github/workflows/e2e-pr.yml b/.github/workflows/e2e-pr.yml index 0958207767..25deadb4f6 100644 --- a/.github/workflows/e2e-pr.yml +++ b/.github/workflows/e2e-pr.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 'lts/hydrogen' - + - name: Cache NPM dependencies uses: actions/cache@v3 with: @@ -32,8 +32,8 @@ jobs: key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} restore-keys: | ${{ runner.os }}-node- - - - run: npx playwright@1.36.2 install + + - run: npx playwright@1.39.0 install - run: npx playwright install chrome-beta - run: npm install --cache ~/.npm --no-audit --progress=false - run: npm run test:e2e:full -- --max-failures=40 @@ -65,4 +65,4 @@ jobs: }); } catch (error) { core.warning(`Failed to remove ' + labelToRemove + ' label: ${error.message}`); - } \ No newline at end of file + } diff --git a/package.json b/package.json index 82ba77ca3f..337dc5511b 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "@deploysentinel/playwright": "0.3.4", "@percy/cli": "1.26.0", "@percy/playwright": "1.0.4", - "@playwright/test": "1.36.2", + "@playwright/test": "1.39.0", "@types/eventemitter3": "1.2.0", "@types/jasmine": "4.3.4", "@types/lodash": "4.14.192",