mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-11 12:54:57 +00:00
HU1: document screen-mode and document-grid tests
Add purpose descriptions only. All nine CI gates passed; existing test assertions remain unchanged.
This commit is contained in:
1 parent
775ba1c6ad
commit
18c47868dc
1 file changed
+2
@@ -3366,6 +3366,7 @@ mod tests {
|
||||
assert!(menu_ids("Type").contains(&"list.define"));
|
||||
}
|
||||
|
||||
/// Checks that screen-mode menu checkmarks follow the current Normal or Preview mode.
|
||||
#[test]
|
||||
fn screen_mode_shows_the_current_mode() {
|
||||
let mut app = DesignApp::new(designcraft_engine::Session::new(), crate::Services::default());
|
||||
@@ -3783,6 +3784,7 @@ mod tests {
|
||||
assert!(!bars[0].intersects(bars[1]), "each pane keeps its own bar: {bars:?}");
|
||||
}
|
||||
|
||||
/// Checks the document-grid menu label, shortcut, checkmark and repeated toggle behavior.
|
||||
#[test]
|
||||
fn show_document_grid_toggles_from_the_grids_and_guides_menu() {
|
||||
let mut app = crate::DesignApp::new(designcraft_engine::Session::new(), crate::Services::default());
|
||||
|
||||
Reference in new issue
Block a user