From 2d036ef2dd35c4e1e5cba55c2e35ec9839e93212 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 6 Jan 2026 15:11:10 +0800 Subject: [PATCH 1/3] fix: update Rsbuild e2e scripts --- tests/rspack/rsbuild.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/rspack/rsbuild.ts b/tests/rspack/rsbuild.ts index 4860991..eaf1158 100644 --- a/tests/rspack/rsbuild.ts +++ b/tests/rspack/rsbuild.ts @@ -8,9 +8,8 @@ export async function test(options: RunOptions) { branch: process.env.RSBUILD_REF ?? 'main', beforeTest: async () => { cd('./e2e'); - await $`pnpm playwright install chromium`; cd('..'); }, - test: ['e2e:rspack'], + test: ['e2e'], }); } From 2ca48074308361b088a4e2e65de584413b0b4712 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 6 Jan 2026 15:12:25 +0800 Subject: [PATCH 2/3] fix --- tests/rspack/rsbuild.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/rspack/rsbuild.ts b/tests/rspack/rsbuild.ts index eaf1158..45a827a 100644 --- a/tests/rspack/rsbuild.ts +++ b/tests/rspack/rsbuild.ts @@ -6,10 +6,6 @@ export async function test(options: RunOptions) { ...options, repo: 'web-infra-dev/rsbuild', branch: process.env.RSBUILD_REF ?? 'main', - beforeTest: async () => { - cd('./e2e'); - cd('..'); - }, test: ['e2e'], }); } From 58e04d0c65458732036146c35b19684161572daa Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 6 Jan 2026 15:12:46 +0800 Subject: [PATCH 3/3] fix --- tests/rspack/rsbuild.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rspack/rsbuild.ts b/tests/rspack/rsbuild.ts index 45a827a..487c50c 100644 --- a/tests/rspack/rsbuild.ts +++ b/tests/rspack/rsbuild.ts @@ -1,5 +1,5 @@ import type { RunOptions } from '../../types'; -import { $, cd, runInRepo } from '../../utils'; +import { runInRepo } from '../../utils'; export async function test(options: RunOptions) { await runInRepo({