From eacbdf9bb5e89b0b114ed4b2794497ae6782857f Mon Sep 17 00:00:00 2001 From: zuomeng wang Date: Fri, 25 Nov 2022 12:25:48 +0000 Subject: [PATCH] Update playwright (#535) --- .github/workflows/playwright.yml | 9 +-------- package.json | 2 +- pnpm-lock.yaml | 14 +++++++------- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 6b815b4a9b..55246811c3 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -34,11 +34,4 @@ jobs: run: npx playwright install --with-deps - name: Run Playwright tests - run: pnpm dlx playwright test - - - uses: actions/upload-artifact@v3 - if: always() - with: - name: playwright-report - path: playwright-report/ - retention-days: 30 + run: pnpm run test:e2e diff --git a/package.json b/package.json index 84342f92fe..3bf30b441b 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "test:e2e": "playwright test" }, "devDependencies": { - "@playwright/test": "^1.27.1", + "@playwright/test": "^1.28.1", "@types/node": "18.7.18", "eslint": "8.22.0", "eslint-config-next": "12.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 99663574a3..0ce771dfcd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,7 +4,7 @@ importers: .: specifiers: - '@playwright/test': ^1.27.1 + '@playwright/test': ^1.28.1 '@types/node': 18.7.18 eslint: 8.22.0 eslint-config-next: 12.3.1 @@ -12,7 +12,7 @@ importers: eslint-plugin-prettier: ^4.2.1 prettier: ^2.7.1 devDependencies: - '@playwright/test': 1.27.1 + '@playwright/test': 1.28.1 '@types/node': 18.7.18 eslint: 8.22.0 eslint-config-next: 12.3.1_eslint@8.22.0 @@ -857,13 +857,13 @@ packages: fastq: 1.13.0 dev: true - /@playwright/test/1.27.1: - resolution: {integrity: sha512-mrL2q0an/7tVqniQQF6RBL2saskjljXzqNcCOVMUjRIgE6Y38nCNaP+Dc2FBW06bcpD3tqIws/HT9qiMHbNU0A==} + /@playwright/test/1.28.1: + resolution: {integrity: sha512-xN6spdqrNlwSn9KabIhqfZR7IWjPpFK1835tFNgjrlysaSezuX8PYUwaz38V/yI8TJLG9PkAMEXoHRXYXlpTPQ==} engines: {node: '>=14'} hasBin: true dependencies: '@types/node': 18.7.18 - playwright-core: 1.27.1 + playwright-core: 1.28.1 dev: true /@popperjs/core/2.11.6: @@ -2590,8 +2590,8 @@ packages: engines: {node: '>=8.6'} dev: true - /playwright-core/1.27.1: - resolution: {integrity: sha512-9EmeXDncC2Pmp/z+teoVYlvmPWUC6ejSSYZUln7YaP89Z6lpAaiaAnqroUt/BoLo8tn7WYShcfaCh+xofZa44Q==} + /playwright-core/1.28.1: + resolution: {integrity: sha512-3PixLnGPno0E8rSBJjtwqTwJe3Yw72QwBBBxNoukIj3lEeBNXwbNiKrNuB1oyQgTBw5QHUhNO3SteEtHaMK6ag==} engines: {node: '>=14'} hasBin: true dev: true