From b002d55991102b2d098ddb09eaa3ac45d361c673 Mon Sep 17 00:00:00 2001 From: Ricky-7-Yan <2314530442@qq.com> Date: Sun, 6 Sep 2026 09:03:12 +0800 Subject: [PATCH] fix(frontend): make Playwright server command portable (#5185) --- frontend/playwright.config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/playwright.config.ts b/frontend/playwright.config.ts index 3f5afebe1..0560dfdfb 100644 --- a/frontend/playwright.config.ts +++ b/frontend/playwright.config.ts @@ -28,8 +28,7 @@ export default defineConfig({ webServer: skipWebServer ? undefined : { - command: - "./node_modules/.bin/next build && ./node_modules/.bin/next start", + command: "pnpm exec next build && pnpm exec next start", url: baseURL, reuseExistingServer: !process.env.CI, timeout: 120_000,