From f3ed52610130bf2dcf2d85ffe945f7c5336431fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BF=94?= Date: Sun, 29 Mar 2026 11:05:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DE2E=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E6=89=A7=E8=A1=8C=E8=B7=AF=E5=BE=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 问题根本原因: - CI配置中的命令执行路径不一致 - 'npx playwright install' 和 'npm run test:tier:standard' 在根目录执行 - 但测试配置文件在 e2e/ 目录下 修复方案: - 所有E2E测试相关命令都在 e2e/ 目录下执行 - 使用 'cd e2e && npx playwright install' - 使用 'cd e2e && npm run test:standard' 验证: - 命令路径正确 - 测试配置文件可访问 Ralph Loop #6 完成 --- .woodpecker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 95e74c9..51b6583 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -150,8 +150,8 @@ steps: commands: - npm ci - cd e2e && npm ci - - npx playwright install chromium --with-deps - - npm run test:tier:standard + - cd e2e && npx playwright install chromium --with-deps + - cd e2e && npm run test:standard when: event: - push