修复内容: - E2E测试命令执行方式:将 python -m uv run 改为 uv run - HTML渲染器:添加 & 字符的HTML转义 - Presentation尺寸验证:添加尺寸值类型验证 - PPTX验证器:修复文本框检测兼容性 - 验证结果格式化:修复提示信息显示 - Mock配置:修复表格渲染等测试的Mock配置 测试结果: - 修复前: 264 通过, 42 失败, 1 错误 - 修复后: 297 通过, 9 失败, 1 错误 剩余9个失败为待实现的功能增强(验证器模板变量验证)
72 lines
1.5 KiB
YAML
72 lines
1.5 KiB
YAML
metadata:
|
|
size: "16:9"
|
|
|
|
slides:
|
|
# 文本元素幻灯片
|
|
- background:
|
|
color: "#ffffff"
|
|
elements:
|
|
- type: text
|
|
box: [1, 1, 8, 1]
|
|
content: "Full Features Test"
|
|
font:
|
|
size: 44
|
|
bold: true
|
|
color: "#333333"
|
|
align: center
|
|
|
|
- type: text
|
|
box: [1, 2.5, 8, 0.5]
|
|
content: "Testing all element types"
|
|
font:
|
|
size: 18
|
|
italic: true
|
|
color: "#666666"
|
|
align: center
|
|
|
|
# 图片元素幻灯片
|
|
- elements:
|
|
- type: image
|
|
box: [1, 1, 4, 3]
|
|
src: "../images/test_image.png"
|
|
|
|
# 形状元素幻灯片
|
|
- elements:
|
|
- type: shape
|
|
box: [1, 1, 2, 1]
|
|
shape: rectangle
|
|
fill: "#4a90e2"
|
|
line:
|
|
color: "#000000"
|
|
width: 2
|
|
|
|
- type: shape
|
|
box: [4, 1, 2, 1]
|
|
shape: ellipse
|
|
fill: "#e24a4a"
|
|
line:
|
|
color: "#000000"
|
|
width: 1
|
|
|
|
- type: shape
|
|
box: [7, 1, 2, 1]
|
|
shape: rounded_rectangle
|
|
fill: "#4ae290"
|
|
line:
|
|
color: "#000000"
|
|
width: 2
|
|
|
|
# 表格元素幻灯片
|
|
- elements:
|
|
- type: table
|
|
position: [1, 1]
|
|
col_widths: [2, 2, 2]
|
|
data:
|
|
- ["Header 1", "Header 2", "Header 3"]
|
|
- ["Data 1", "Data 2", "Data 3"]
|
|
- ["Data 4", "Data 5", "Data 6"]
|
|
style:
|
|
font_size: 14
|
|
header_bg: "#4a90e2"
|
|
header_color: "#ffffff"
|