Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

Tests: the Assistant start-page scenario scrolls to Add agent before clicking it, so it passes with an agent installed (#12354) (#12397)

Ahmad Khan7ecb3934a6bd
diff --git a/crates/ui-egui/tests/scenarios/agent_chat_home_page.json b/crates/ui-egui/tests/scenarios/agent_chat_home_page.json
index 19128c3fcb..2b2267e19f 100644
--- a/crates/ui-egui/tests/scenarios/agent_chat_home_page.json
+++ b/crates/ui-egui/tests/scenarios/agent_chat_home_page.json
@@ -6,6 +6,7 @@
{"expect": {"home": true, "prefs": {"dialog": "Assistant"}}},
{"until": {"not_shown": "Looking for agents…"}},
{"expect": {"shown": "Add agent…"}},
- {"click": {"handle": "prefs:ai_add"}},
+ {"note": "An installed agent's card pushes Add agent below the visible page (#12354): the widget step scrolls it into view before clicking."},
+ {"widget": "Add agent…"},
{"until": {"shown_handles": ["ai_add:add"], "shown": "Add agent"}}
]