New Document test: fold Advanced Options without motion, so the check runs after the fold ends

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David MannandClaude Opus 5.5 committed 2026-11-29 13:00:39 +01:00
1 parent a959117beb
commit 8d09ceca38
1 file changed
+2 -1
@@ -750,7 +750,8 @@ fn advanced_options_folds_color_profile_and_pixel_aspect_and_keeps_the_profile()
let _ = NewDocumentDialog::new(Bind::bound(&mut options)).profiles(two_mode_profiles()).show(ui);
*shared.borrow_mut() = options;
});
fixture.room(Vec2::new(1400.0, 1000.0)).idle(30);
// Without motion the fold finishes at once, rather than mid-animation when the assertions run.
fixture.motion(MotionMode::Off).room(Vec2::new(1400.0, 1000.0)).settle();
let background = fixture.by_label("Background Contents").expect("the Background Contents field").rect;
let tree = fixture.tree();
let advanced =