Commit b94630c6 authored by Cai Wei's avatar Cai Wei

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

parent b31bc893
Pipeline #1333 failed
...@@ -71,6 +71,14 @@ REM 创建报告目录 ...@@ -71,6 +71,14 @@ REM 创建报告目录
if not exist "cypress\reports" mkdir cypress\reports if not exist "cypress\reports" mkdir cypress\reports
if not exist "public\reports" mkdir public\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 运行测试 REM 运行测试
if defined SPEC_FILES ( if defined SPEC_FILES (
echo Running specified test scripts... echo Running specified test scripts...
......
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