From 554ea2408dd35cc92ae81729108568e41347909b Mon Sep 17 00:00:00 2001 From: LingandRX Date: Mon, 17 Mar 2025 23:03:47 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BF=9D=E5=AD=98=20Playwright=20?= =?UTF-8?q?=E6=8A=A5=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 .gitlab-ci.yml 文件中,将 playwright-report 目录添加到 artifacts 路径 - 这样可以确保测试报告在 CI/CD 流程中被正确保存和显示 --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9e54d4a..dddd2a2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,6 +21,7 @@ playwright_tests: artifacts: paths: - test-results/ + - playwright-report/ expire_in: 1 week tags: - test