M5: tests main added build Annotation with no pop-up; settle comes from tests/it support (#2137)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0175FWj4xFhMhSH3UpMU8DSC
This commit is contained in:
mtlcl410andClaude Opus 5.5 committed 2026-10-25 13:26:34 +08:00
1 parent 0a7fb530bd
commit 8af2c338e0
3 files changed
+3 -1

No files matched your search

+1
View File
@@ -2547,6 +2547,7 @@ mod tests {
fill_sign: false,
no_rotate: true,
points: Vec::new(),
popup: None,
};
let rect = note.rect.map(f64::from);
for rotation in [0u16, 90, 180, 270, 45] {
+1
View File
@@ -2547,6 +2547,7 @@ mod tests {
fill_sign: false,
no_rotate,
points: Vec::new(),
popup: None,
};
let page = PageInfo { width: 140.0, height: 200.0, label: String::new(), crop: [0.0, 0.0, 200.0, 140.0], rotation: 90 };
let xf = PageXform { rect: Rect::from_min_size(Pos2::ZERO, vec2(140.0, 200.0)), rot: 0, pw: 140.0, ph: 200.0 };
+1 -1
View File
@@ -2741,7 +2741,7 @@ fn a_double_click_opens_a_notes_pop_up_which_drags_and_closes() {
app
});
h.run_steps(4);
settle(&mut h);
crate::support::settle(&mut h);
click_pt(&mut h, (60.0, 160.0));
field(&h, "Add a comment").type_text("Please check");
h.run_steps(2);