08ea5fbe98
添加用户管理视图、API和状态管理文件
26 lines
661 B
Bash
Executable File
26 lines
661 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "📊 生成测试报告..."
|
|
|
|
# 生成HTML报告
|
|
if [ -d "playwright-report" ]; then
|
|
echo "✅ HTML报告已生成: playwright-report/index.html"
|
|
else
|
|
echo "⚠️ HTML报告不存在,请先运行测试"
|
|
fi
|
|
|
|
# 生成JSON报告
|
|
if [ -f "test-results/results.json" ]; then
|
|
echo "✅ JSON报告已生成: test-results/results.json"
|
|
else
|
|
echo "⚠️ JSON报告不存在,请先运行测试"
|
|
fi
|
|
|
|
# 生成JUnit报告
|
|
if [ -f "test-results/junit.xml" ]; then
|
|
echo "✅ JUnit报告已生成: test-results/junit.xml"
|
|
else
|
|
echo "⚠️ JUnit报告不存在,请先运行测试"
|
|
fi
|
|
|
|
echo "📊 测试报告生成完成!" |