Files
FreeCADWasmDev/web/manual/scenarios/ch04-partdesign.json
2026-11-13 11:58:57 +08:00

107 lines
1.8 KiB
JSON

{
"schema": "freecad-web-manual/scenario/v1",
"chapter": "ch04",
"workflow": "partdesign-body-pad",
"title": "PartDesign Body、草图与 Pad",
"actions": [
{
"type": "goto",
"url": "/partdesign.html"
},
{
"type": "wait",
"ms": 1200
},
{
"type": "click",
"role": "button",
"name": "新建文档",
"exact": true
},
{
"type": "wait",
"ms": 2200
},
{
"type": "click",
"role": "button",
"name": "新建 Body",
"exact": true
},
{
"type": "wait",
"ms": 2200
},
{
"type": "click",
"role": "button",
"name": "创建草图",
"exact": true
},
{
"type": "wait",
"ms": 1400
},
{
"type": "click",
"role": "button",
"name": "矩形",
"exact": true
},
{
"type": "wait",
"ms": 1500
},
{
"type": "shot",
"name": "01-sketch",
"selector": "canvas"
},
{
"type": "click",
"role": "button",
"name": "Pad",
"exact": true
},
{
"type": "wait",
"ms": 900
},
{
"type": "select",
"selector": "select[aria-label=\"Feature Profile\"]",
"label": "Sketch1"
},
{
"type": "fill",
"selector": "input[aria-label=\"Feature Length\"]",
"value": 10
},
{
"type": "shot",
"name": "02-pad-task",
"selector": "fieldset:has-text(\"创建 Pad\")"
},
{
"type": "click",
"role": "button",
"name": "创建 Pad",
"exact": true
},
{
"type": "wait",
"ms": 2800
},
{
"type": "shot",
"name": "03-pad-result",
"selector": "canvas"
},
{
"type": "assertAnyText",
"selector": "body",
"contains": "Pad"
}
]
}