Build XCEditor menu and status shell widgets
This commit is contained in:
@@ -14,7 +14,9 @@ Layout:
|
||||
- `shared/`: shared host wrapper, scenario registry, shared theme
|
||||
- `shell/workspace_shell_compose/`: split/tab/panel shell compose only
|
||||
- `shell/menu_bar_basic/`: menu bar open/close/hover/dispatch only
|
||||
- `shell/context_menu_basic/`: context menu root/submenu/dismiss/dispatch only
|
||||
- `shell/panel_frame_basic/`: panel frame layout/state/hit-test only
|
||||
- `shell/status_bar_basic/`: status bar slot/segment/hit-test only
|
||||
- `shell/tab_strip_basic/`: tab strip layout/state/hit-test/close/navigation only
|
||||
- `state/panel_session_flow/`: panel session state flow only
|
||||
- `state/layout_persistence/`: layout save/load/reset only
|
||||
@@ -32,11 +34,21 @@ Scenarios:
|
||||
Executable: `XCUIEditorMenuBarBasicValidation.exe`
|
||||
Scope: menu bar open/close, hover, dismiss, menu command dispatch only
|
||||
|
||||
- `editor.shell.context_menu_basic`
|
||||
Build target: `editor_ui_context_menu_basic_validation`
|
||||
Executable: `XCUIEditorContextMenuBasicValidation.exe`
|
||||
Scope: context menu root anchor, submenu hover, outside/Esc dismiss, command dispatch only
|
||||
|
||||
- `editor.shell.panel_frame_basic`
|
||||
Build target: `editor_ui_panel_frame_basic_validation`
|
||||
Executable: `XCUIEditorPanelFrameBasicValidation.exe`
|
||||
Scope: panel frame header/body/footer layout, focus/active/hover chrome, pin/close hit target only
|
||||
|
||||
- `editor.shell.status_bar_basic`
|
||||
Build target: `editor_ui_status_bar_basic_validation`
|
||||
Executable: `XCUIEditorStatusBarBasicValidation.exe`
|
||||
Scope: status bar slot layout, hover/active segment hit target, separator layout only
|
||||
|
||||
- `editor.shell.tab_strip_basic`
|
||||
Build target: `editor_ui_tab_strip_basic_validation`
|
||||
Executable: `XCUIEditorTabStripBasicValidation.exe`
|
||||
@@ -63,6 +75,11 @@ Run:
|
||||
cmake --build build --config Debug --target editor_ui_integration_tests
|
||||
```
|
||||
|
||||
Auto capture:
|
||||
|
||||
- Set `XCUI_AUTO_CAPTURE_ON_STARTUP=1` before launching a validation executable to force a first-frame screenshot into that scenario's `captures/` directory.
|
||||
- Manual validation still uses `F12`; startup auto capture is only for deterministic self-check / automation.
|
||||
|
||||
Selected controls:
|
||||
|
||||
- `shell/workspace_shell_compose/`
|
||||
@@ -71,9 +88,15 @@ Selected controls:
|
||||
- `shell/menu_bar_basic/`
|
||||
Click `File / Window / Layout`, move the mouse across menu items, click outside the menu or press `Esc`, press `F12`.
|
||||
|
||||
- `shell/context_menu_basic/`
|
||||
Right click inside `Context Target`, hover `Workspace Tools`, click actions, click outside the menu or press `Esc`, press `F12`.
|
||||
|
||||
- `shell/panel_frame_basic/`
|
||||
Move the mouse over the preview panel, click `Body / Pin / Close`, toggle `Active / Focus / Closable / Footer`, press `F12`.
|
||||
|
||||
- `shell/status_bar_basic/`
|
||||
Move the mouse across leading/trailing segments, click interactive segments, toggle focus/active, press `F12`.
|
||||
|
||||
- `shell/tab_strip_basic/`
|
||||
Click `Document A / B / C`, click `X` on closable tabs, click content to focus, press `Left / Right / Home / End`, press `Reset`, press `F12`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user