From 5593c6e8b3fe40d0f6b3a6205f23ab0c673540d1 Mon Sep 17 00:00:00 2001 From: Bar Borer Date: Tue, 3 Nov 2026 03:57:05 +0200 Subject: [PATCH] Tests: give the key box test's comp a frame rate, so its keys stay on whole seconds Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/panels/timeline/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/panels/timeline/tests.rs b/crates/ui-egui/src/panels/timeline/tests.rs index a6e2a97a9..9db6288bc 100644 --- a/crates/ui-egui/src/panels/timeline/tests.rs +++ b/crates/ui-egui/src/panels/timeline/tests.rs @@ -652,7 +652,7 @@ fn a_keys_glyph_rect_is_what_it_draws() { #[test] fn keys_in_box_walks_the_rows_and_tests_each_glyph() { let mut s = effectcraft_engine::Session::default(); - s.execute("comp.new", json!({"name": "C", "width": 64, "height": 64, "duration": 4})).unwrap(); + s.execute("comp.new", json!({"name": "C", "width": 64, "height": 64, "duration": 4, "frameRate": 30})).unwrap(); let mut layers = vec![]; for name in ["A", "B"] { let id = s.execute("layer.newSolid", json!({"name": name, "color": "#fff"})).unwrap()["layer"].as_u64().unwrap();