mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-22 18:22:19 +00:00
test(timeline): avoid overlapping harness borrows in multi-drop regression
This commit is contained in:
1 parent
bd906d3ee9
commit
a9f4d92d5a
1 file changed
+2
-1
@@ -248,7 +248,8 @@ fn multiple_selected_footage_dropped_on_empty_timeline_asks_how_to_create_comps(
|
||||
let mut h = Harness::builder().with_size(vec2(1600.0, 1000.0)).build_eframe(|_| EffectcraftApp::new(s));
|
||||
h.run_steps(3);
|
||||
let from = rect(&h, &format!("project.item.{first}.name")).center();
|
||||
drag(&mut h, from, rect(&h, "panel.Timeline").center(), Modifiers::NONE);
|
||||
let to = rect(&h, "panel.Timeline").center();
|
||||
drag(&mut h, from, to, Modifiers::NONE);
|
||||
assert_eq!(h.state().dialog, Some(effectcraft_ui_egui::Dialog::Form));
|
||||
assert!(h.state().auto.find("form.field.single").is_some());
|
||||
assert!(h.state().session.active_comp().is_none(), "no composition until the user chooses");
|
||||
|
||||
Reference in new issue
Block a user