forked from 1b-agent/opencadstudio-upstream
test: pin the MCP tool schema and context menu height after Count
Count adds automation actions to the MCP tool surface and a Count row to the idle context menu; update the pinned digest and the expected height. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
9b0c726cad
commit
ecda4b95dc
2 files changed
+3
-3
No files matched your search
@@ -1076,8 +1076,8 @@ mod tests {
|
||||
assert_eq!(menu.default_row_y(), MENU_PAD_TOP);
|
||||
let menu = build_context_menu(&idle_ctx(false), None);
|
||||
assert_eq!(menu.default_row_y(), MENU_PAD_TOP);
|
||||
// 10 items + 3 submenu headers + 6 separators, plus panel padding.
|
||||
let expected = MENU_PAD_TOP * 2.0 + 13.0 * MENU_ROW_H + 6.0 * MENU_SEP_H;
|
||||
// 11 items + 3 submenu headers + 6 separators, plus panel padding.
|
||||
let expected = MENU_PAD_TOP * 2.0 + 14.0 * MENU_ROW_H + 6.0 * MENU_SEP_H;
|
||||
assert_eq!(menu.height(), expected);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user