Commit b94630c6 authored by Cai Wei's avatar Cai Wei

feat(*): 更新每次测试历史文件

parent b31bc893
Pipeline #1333 failed
......@@ -71,6 +71,14 @@ REM 创建报告目录
if not exist "cypress\reports" mkdir cypress\reports
if not exist "public\reports" mkdir public\reports
REM 清理旧的报告文件
echo Cleaning up old report files...
del /q "cypress\reports\*.json" 2>nul
del /q "cypress\reports\*.html" 2>nul
del /q "public\reports\*.json" 2>nul
del /q "public\reports\*.html" 2>nul
echo Old report files cleaned up.
REM 运行测试
if defined SPEC_FILES (
echo Running specified test scripts...
......@@ -97,4 +105,4 @@ echo All reports generated!
echo View summary report: public/reports/summary-report.html
echo View detailed report: public/reports/merged-report.html
echo Test execution finished
echo Test execution finished
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment