diff --git a/design_references/sample_design.svg b/design_references/sample_design.svg index df82085..c9ea5a4 100644 --- a/design_references/sample_design.svg +++ b/design_references/sample_design.svg @@ -1,30 +1,29 @@ - + - + - - + + - - + + - + - + - - - + + - + @@ -35,16 +34,16 @@ - + - + - + diff --git a/reports/test_report_20251031_175343.html b/reports/test_report_20251031_175343.html new file mode 100644 index 0000000..4ab342c --- /dev/null +++ b/reports/test_report_20251031_175343.html @@ -0,0 +1,347 @@ + + + + + + UI测试报告 + + + +
+
+

🤖 UI测试报告

+

生成时间: 2025-10-31 17:53:43

+
+ +
+

📊 测试概览

+
+
+

18

+

总元素数

+
+
+

1

+

发现问题

+
+
+

88.6%

+

视觉相似度

+
+
+

100%

+

性能评分

+
+
+ + +
+

视觉相似度进度:

+
+
+
+

89.0% 相似度

+
+ +
+ +
+

📱 XML布局分析

+
+
+

1

+

可点击元素

+
+
+

0

+

文本元素

+
+
+

9

+

最大层级深度

+
+
+ + +

🔍 发现的问题:

+ +
+ android.widget.Button: 可点击元素缺少content-desc + + (位置: 333,1518) + +
+ + + +
+ +
+

👁️ 视觉比对分析

+ +
+
+

88.6%

+

相似度得分

+
+
+

1

+

差异区域数量

+
+
+

244545.0

+

差异面积(像素)

+
+
+ + +
+ ⚠️ 视觉差异较大 (11.4%),建议检查UI实现 + 未通过阈值检查 +
+ + +
+ +
+

⚡ 性能数据

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
操作类型执行时间(秒)时间戳状态
screenshot0.27720251031_175354 + + 快速 + +
xml_analysis0.05220251031_175356 + + 快速 + +
screenshot0.32020251031_175404 + + 快速 + +
xml_analysis0.03020251031_175426 + + 快速 + +
screenshot0.27420251031_175426 + + 快速 + +
screenshot0.25820251031_175503 + + 快速 + +
+ +
+ +
+

📋 建议和总结

+ +
+ 🔧 发现 1 个布局问题,建议优化可访问性和用户体验 +
+ + + +
+ 🎨 视觉差异超过10%,建议检查UI实现是否符合设计要求 +
+ + + + + + + +
+ ✅ 测试完成,详细数据已记录。建议定期进行UI测试以确保应用质量。 +
+
+
+ + + \ No newline at end of file diff --git a/reports/test_report_20251031_174221.html b/reports/test_report_20251031_180108.html similarity index 89% rename from reports/test_report_20251031_174221.html rename to reports/test_report_20251031_180108.html index cd291b0..535ad47 100644 --- a/reports/test_report_20251031_174221.html +++ b/reports/test_report_20251031_180108.html @@ -140,7 +140,7 @@

🤖 UI测试报告

-

生成时间: 2025-10-31 17:42:21

+

生成时间: 2025-10-31 18:01:08

@@ -155,7 +155,7 @@

发现问题

-

88.6%

+

85.1%

视觉相似度

@@ -168,9 +168,9 @@

视觉相似度进度:

-
+
-

89.0% 相似度

+

85.0% 相似度

@@ -211,7 +211,7 @@
-

88.6%

+

85.1%

相似度得分

@@ -219,14 +219,14 @@

差异区域数量

-

244545.0

+

213605.0

差异面积(像素)

- ⚠️ 视觉差异较大 (11.4%),建议检查UI实现 + ⚠️ 视觉差异较大 (14.9%),建议检查UI实现 未通过阈值检查
@@ -247,32 +247,10 @@ - - xml_analysis - 0.069 - 20251031_174305 - - - 快速 - - - - screenshot - 0.334 - 20251031_174305 - - - 快速 - - - - - - screenshot - 0.278 - 20251031_174305 + 0.289 + 20251031_180116 快速 @@ -282,8 +260,19 @@ xml_analysis - 0.055 - 20251031_174306 + 0.058 + 20251031_180148 + + + 快速 + + + + + + screenshot + 0.223 + 20251031_180148 快速 diff --git a/screenshots/screenshot_20251031_174424.png b/screenshots/screenshot_20251031_174424.png deleted file mode 100644 index e91573f..0000000 Binary files a/screenshots/screenshot_20251031_174424.png and /dev/null differ diff --git a/screenshots/screenshot_20251031_175503.png b/screenshots/screenshot_20251031_175503.png new file mode 100644 index 0000000..d561978 Binary files /dev/null and b/screenshots/screenshot_20251031_175503.png differ diff --git a/screenshots/screenshot_20251031_180116.png b/screenshots/screenshot_20251031_180116.png new file mode 100644 index 0000000..fc0d3c4 Binary files /dev/null and b/screenshots/screenshot_20251031_180116.png differ diff --git a/screenshots/screenshot_20251031_180148.png b/screenshots/screenshot_20251031_180148.png new file mode 100644 index 0000000..fc0d3c4 Binary files /dev/null and b/screenshots/screenshot_20251031_180148.png differ diff --git a/visual_comparisons/comparison_20251031_174425.png b/visual_comparisons/comparison_20251031_174425.png deleted file mode 100644 index 8dbface..0000000 Binary files a/visual_comparisons/comparison_20251031_174425.png and /dev/null differ diff --git a/visual_comparisons/comparison_20251031_175404.png b/visual_comparisons/comparison_20251031_175404.png new file mode 100644 index 0000000..3f6795d Binary files /dev/null and b/visual_comparisons/comparison_20251031_175404.png differ diff --git a/visual_comparisons/comparison_20251031_180116.png b/visual_comparisons/comparison_20251031_180116.png new file mode 100644 index 0000000..4f4cc1e Binary files /dev/null and b/visual_comparisons/comparison_20251031_180116.png differ diff --git a/xml_layouts/layout_20251031_174424.xml b/xml_layouts/layout_20251031_175426.xml similarity index 100% rename from xml_layouts/layout_20251031_174424.xml rename to xml_layouts/layout_20251031_175426.xml diff --git a/xml_layouts/layout_20251031_180148.xml b/xml_layouts/layout_20251031_180148.xml new file mode 100644 index 0000000..65ddd54 --- /dev/null +++ b/xml_layouts/layout_20251031_180148.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file