feat(web): object picker in workbench shell, verify sketch panel on stage
workbench.html routes Sketcher desktop commands to the standalone sketcher probe, which had no document, so Sketcher_EditSketch always failed with "The selected live document does not exist in this runtime". The shell also only exposed an object selection table for BIM, so no command could receive a selected sketch. - workbench shell: add a generic document object list (details .workbench-object-picker) that writes both the shell selection and the command payload selection for every module - ch03: document the working session path (NewSketch creates workbench_document/Sketch, then EditSketch on that selection) with two stage screenshots, plus the measured layout (panel left 284 vs stage left 260, zero horizontal overflow) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
94
web/manual/data/capture/ch03-sketch-workbench-stage.json
Normal file
94
web/manual/data/capture/ch03-sketch-workbench-stage.json
Normal file
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"schema": "freecad-web-manual/capture/v1",
|
||||
"generatedAt": "2026-11-22T22:48:44.343Z",
|
||||
"chapter": "ch03",
|
||||
"workflow": "sketch-workbench-stage",
|
||||
"scenario": "manual/scenarios/ch03-sketcher-workbench.json",
|
||||
"origin": "http://127.0.0.1:5183",
|
||||
"ok": true,
|
||||
"trace": [
|
||||
{
|
||||
"at": "2026-11-22T22:48:29.354Z",
|
||||
"action": "goto",
|
||||
"url": "/workbench.html?module=Sketcher&command=Sketcher_NewSketch"
|
||||
},
|
||||
{
|
||||
"at": "2026-11-22T22:48:29.538Z",
|
||||
"action": "waitFor",
|
||||
"selector": "textarea[aria-label=\"命令 JSON 参数\"]",
|
||||
"text": null
|
||||
},
|
||||
{
|
||||
"at": "2026-11-22T22:48:32.610Z",
|
||||
"action": "click",
|
||||
"selector": "执行选中命令"
|
||||
},
|
||||
{
|
||||
"at": "2026-11-22T22:48:37.646Z",
|
||||
"action": "click",
|
||||
"selector": "aside button.command"
|
||||
},
|
||||
{
|
||||
"at": "2026-11-22T22:48:38.852Z",
|
||||
"action": "eval"
|
||||
},
|
||||
{
|
||||
"at": "2026-11-22T22:48:39.496Z",
|
||||
"action": "click",
|
||||
"selector": "执行选中命令"
|
||||
},
|
||||
{
|
||||
"at": "2026-11-22T22:48:40.658Z",
|
||||
"action": "waitFor",
|
||||
"selector": "fieldset[aria-label=\"Sketch drawing\"]",
|
||||
"text": null
|
||||
},
|
||||
{
|
||||
"at": "2026-11-22T22:48:43.162Z",
|
||||
"action": "assertVisible",
|
||||
"selector": "section[aria-label=\"Sketch edit session\"]"
|
||||
},
|
||||
{
|
||||
"at": "2026-11-22T22:48:44.055Z",
|
||||
"action": "shot",
|
||||
"name": "01-sketch-stage-panel",
|
||||
"bytes": 257327
|
||||
},
|
||||
{
|
||||
"at": "2026-11-22T22:48:44.057Z",
|
||||
"action": "eval"
|
||||
},
|
||||
{
|
||||
"at": "2026-11-22T22:48:44.336Z",
|
||||
"action": "shot",
|
||||
"name": "02-sketch-panel-full",
|
||||
"bytes": 518511
|
||||
},
|
||||
{
|
||||
"at": "2026-11-22T22:48:44.343Z",
|
||||
"action": "assertAnyText",
|
||||
"selector": "main.stage",
|
||||
"contains": "Sketch"
|
||||
}
|
||||
],
|
||||
"shots": [
|
||||
{
|
||||
"id": "ch03/sketch-workbench-stage/01-sketch-stage-panel",
|
||||
"file": "manual/assets/ch03/sketch-workbench-stage/01-sketch-stage-panel.png",
|
||||
"bytes": 257327,
|
||||
"sha256": "a35b9c01a52e760c480ee0977966657c45af083314c49bb811ac61f82de83d51",
|
||||
"fullPage": false,
|
||||
"selector": "main.stage"
|
||||
},
|
||||
{
|
||||
"id": "ch03/sketch-workbench-stage/02-sketch-panel-full",
|
||||
"file": "manual/assets/ch03/sketch-workbench-stage/02-sketch-panel-full.png",
|
||||
"bytes": 518511,
|
||||
"sha256": "cc44f1cfa0d0c75d11dcb0b4f0817a8e4edcac3bc3f1bc215b2de4d7984264ec",
|
||||
"fullPage": true,
|
||||
"selector": null
|
||||
}
|
||||
],
|
||||
"pageErrors": [],
|
||||
"consoleErrors": []
|
||||
}
|
||||
Reference in New Issue
Block a user