From 878bd241f30dc1313ad9095a044ee6ce2eb2eb4c Mon Sep 17 00:00:00 2001 From: Zhihe Li Date: Fri, 29 May 2026 19:23:04 -0400 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Update=20playwright=20to?= =?UTF-8?q?=20newest=20version=20(#3290)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 🎸 Update playwright to newest version * fix: 🐛 Fix cache dependency key --- .github/workflows/a11y-tests.yaml | 2 +- .github/workflows/build-admin-ui.yaml | 8 +++--- .github/workflows/monorepo-validate.yaml | 8 +++--- .github/workflows/test-e2e-admin-ui.yaml | 2 +- .github/workflows/test-e2e-desktop.yaml | 2 +- e2e-tests/package.json | 2 +- pnpm-lock.yaml | 33 ++++++++++++------------ 7 files changed, 28 insertions(+), 29 deletions(-) diff --git a/.github/workflows/a11y-tests.yaml b/.github/workflows/a11y-tests.yaml index 8cee9be9e..bc3ca52ef 100644 --- a/.github/workflows/a11y-tests.yaml +++ b/.github/workflows/a11y-tests.yaml @@ -23,7 +23,7 @@ jobs: - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 with: cache: true - cache-dependency-path: '**/pnpm-lock.yaml' + cache_dependency_path: '**/pnpm-lock.yaml' run_install: false - run: pnpm install - name: Run a11y tests diff --git a/.github/workflows/build-admin-ui.yaml b/.github/workflows/build-admin-ui.yaml index b4697169c..4b94a9ef6 100644 --- a/.github/workflows/build-admin-ui.yaml +++ b/.github/workflows/build-admin-ui.yaml @@ -18,7 +18,7 @@ jobs: - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 with: cache: true - cache-dependency-path: '**/pnpm-lock.yaml' + cache_dependency_path: '**/pnpm-lock.yaml' run_install: false - run: pnpm install --frozen-lockfile build-admin-ui-oss: @@ -35,7 +35,7 @@ jobs: with: run_install: false cache: true - cache-dependency-path: '**/pnpm-lock.yaml' + cache_dependency_path: '**/pnpm-lock.yaml' - run: pnpm install --offline - run: pnpm run build:ui:admin:oss - name: Upload artifact admin-ui @@ -62,7 +62,7 @@ jobs: with: run_install: false cache: true - cache-dependency-path: '**/pnpm-lock.yaml' + cache_dependency_path: '**/pnpm-lock.yaml' - run: pnpm install --offline - run: pnpm run build:ui:admin:enterprise - name: Upload artifact enterprise admin UI @@ -84,7 +84,7 @@ jobs: with: run_install: false cache: true - cache-dependency-path: '**/pnpm-lock.yaml' + cache_dependency_path: '**/pnpm-lock.yaml' - run: pnpm install --offline - run: pnpm run build:ui:admin:hcp - name: Upload artifact HCP admin UI diff --git a/.github/workflows/monorepo-validate.yaml b/.github/workflows/monorepo-validate.yaml index b8bf6c6c9..6ce4375e4 100644 --- a/.github/workflows/monorepo-validate.yaml +++ b/.github/workflows/monorepo-validate.yaml @@ -13,7 +13,7 @@ jobs: - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 with: cache: true - cache-dependency-path: '**/pnpm-lock.yaml' + cache_dependency_path: '**/pnpm-lock.yaml' run_install: false - run: pnpm install --frozen-lockfile @@ -30,7 +30,7 @@ jobs: with: run_install: false cache: true - cache-dependency-path: '**/pnpm-lock.yaml' + cache_dependency_path: '**/pnpm-lock.yaml' - run: pnpm install --offline - run: pnpm run compliance:licenses @@ -48,7 +48,7 @@ jobs: with: run_install: false cache: true - cache-dependency-path: '**/pnpm-lock.yaml' + cache_dependency_path: '**/pnpm-lock.yaml' - run: pnpm install --offline - run: pnpm lint @@ -69,6 +69,6 @@ jobs: with: run_install: false cache: true - cache-dependency-path: '**/pnpm-lock.yaml' + cache_dependency_path: '**/pnpm-lock.yaml' - run: pnpm install --offline - run: pnpm test diff --git a/.github/workflows/test-e2e-admin-ui.yaml b/.github/workflows/test-e2e-admin-ui.yaml index 473d338cc..031d00402 100644 --- a/.github/workflows/test-e2e-admin-ui.yaml +++ b/.github/workflows/test-e2e-admin-ui.yaml @@ -65,7 +65,7 @@ jobs: uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 with: cache: true - cache-dependency-path: | + cache_dependency_path: | pnpm-lock.yaml ui/desktop/electron-app/pnpm-lock.yaml run_install: false diff --git a/.github/workflows/test-e2e-desktop.yaml b/.github/workflows/test-e2e-desktop.yaml index 89ce71ac3..16181d368 100644 --- a/.github/workflows/test-e2e-desktop.yaml +++ b/.github/workflows/test-e2e-desktop.yaml @@ -41,7 +41,7 @@ jobs: uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 with: cache: true - cache-dependency-path: | + cache_dependency_path: | pnpm-lock.yaml ui/desktop/electron-app/pnpm-lock.yaml run_install: false diff --git a/e2e-tests/package.json b/e2e-tests/package.json index 0e9305308..0a20201c3 100644 --- a/e2e-tests/package.json +++ b/e2e-tests/package.json @@ -33,7 +33,7 @@ "@babel/eslint-parser": "^7.21.3", "@eslint/js": "^9.18.0", "@openapitools/openapi-generator-cli": "^2.32.0", - "@playwright/test": "^1.56.1", + "@playwright/test": "^1.60.0", "concurrently": "^9.1.0", "dotenv": "^16.4.5", "eslint": "^9.18.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3360390d9..314fa9985 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -762,8 +762,8 @@ importers: specifier: ^2.32.0 version: 2.32.0(encoding@0.1.13) '@playwright/test': - specifier: ^1.56.1 - version: 1.56.1 + specifier: ^1.60.0 + version: 1.60.0 concurrently: specifier: ^9.1.0 version: 9.1.0 @@ -2879,8 +2879,8 @@ packages: resolution: {integrity: sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==} engines: {node: '>= 10.0.0'} - '@playwright/test@1.56.1': - resolution: {integrity: sha512-vSMYtL/zOcFpvJCW71Q/OEGQb7KYBPAdKh35WNSkaZA75JlAO8ED8UN6GUNTm3drWomcbcqRPFqQbLae8yBTdg==} + '@playwright/test@1.60.0': + resolution: {integrity: sha512-O71yZIbAh/PxDMNGns37GHBIfrVkEVyn+AXyIa5dOTfb4/xNvRWV+Vv/NMbNCtODB/pO7vLlF2OTmMVLhmr7Ag==} engines: {node: '>=18'} hasBin: true @@ -7612,13 +7612,13 @@ packages: resolution: {integrity: sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==} engines: {node: '>=8'} - playwright-core@1.56.1: - resolution: {integrity: sha512-hutraynyn31F+Bifme+Ps9Vq59hKuUCz7H1kDOcBs+2oGguKkWTU50bBWrtz34OUWmIwpBTWDxaRPXrIXkgvmQ==} + playwright-core@1.60.0: + resolution: {integrity: sha512-9bW6zvX/m0lEbgTKJ6YppOKx8H3VOPBMOCFh2irXFOT4BbHgrx5hPjwJYLT40Lu+4qtD36qKc/Hn56StUW57IA==} engines: {node: '>=18'} hasBin: true - playwright@1.56.1: - resolution: {integrity: sha512-aFi5B0WovBHTEvpM3DzXTUaeN6eN0qWnTkKx4NQaH4Wvcmc153PdaY2UBdSYKaGYw+UyWXSVyxDUg5DoPEttjw==} + playwright@1.60.0: + resolution: {integrity: sha512-hheHdokM8cdqCb0lcE3s+zT4t4W+vvjpGxsZlDnikarzx8tSzMebh3UiFtgqwFwnTnjYQcsyMF8ei2mCO/tpeA==} engines: {node: '>=18'} hasBin: true @@ -10365,7 +10365,7 @@ snapshots: make-fetch-happen: 10.2.1 nopt: 6.0.0 proc-log: 2.0.1 - semver: 7.7.4 + semver: 7.8.1 tar: 7.5.11 which: 2.0.2 transitivePeerDependencies: @@ -11497,7 +11497,7 @@ snapshots: '@npmcli/fs@2.1.2': dependencies: '@gar/promisify': 1.1.3 - semver: 7.7.4 + semver: 7.8.1 '@npmcli/move-file@2.0.1': dependencies: @@ -11624,9 +11624,9 @@ snapshots: '@parcel/watcher-win32-x64': 2.5.1 optional: true - '@playwright/test@1.56.1': + '@playwright/test@1.60.0': dependencies: - playwright: 1.56.1 + playwright: 1.60.0 '@pnpm/config.env-replace@1.1.0': {} @@ -17652,11 +17652,11 @@ snapshots: dependencies: find-up: 3.0.0 - playwright-core@1.56.1: {} + playwright-core@1.60.0: {} - playwright@1.56.1: + playwright@1.60.0: dependencies: - playwright-core: 1.56.1 + playwright-core: 1.60.0 optionalDependencies: fsevents: 2.3.2 @@ -18295,8 +18295,7 @@ snapshots: semver@7.7.4: {} - semver@7.8.1: - optional: true + semver@7.8.1: {} send@0.19.0: dependencies: