ci: 保存 Playwright 报告
- 在 .gitlab-ci.yml 文件中,将 playwright-report 目录添加到 artifacts 路径 - 这样可以确保测试报告在 CI/CD 流程中被正确保存和显示
This commit is contained in:
parent
88eae96f63
commit
554ea2408d
@ -21,6 +21,7 @@ playwright_tests:
|
||||
artifacts:
|
||||
paths:
|
||||
- test-results/
|
||||
- playwright-report/
|
||||
expire_in: 1 week
|
||||
tags:
|
||||
- test
|
||||
|
||||
Reference in New Issue
Block a user