From 47cf1ade6f456fac1fe400d27c158cc42f4850b8 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 8 Oct 2026 18:38:10 +0000 Subject: [PATCH] Fix #341: the test window is tall enough to show the By Date rows Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01912WaK6Rmew3wxZuPyX7E8 --- crates/ui-egui/src/tests_panels.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ui-egui/src/tests_panels.rs b/crates/ui-egui/src/tests_panels.rs index c6074831a..e133d7345 100644 --- a/crates/ui-egui/src/tests_panels.rs +++ b/crates/ui-egui/src/tests_panels.rs @@ -204,7 +204,8 @@ fn sidebar_sections_collapse_and_remember_it() { /// Photos even when another source (here Recently Deleted, which is empty) was open (issue #341). #[test] fn date_and_keyword_rows_show_their_photos_from_any_source() { - let mut h = demo([1400.0, 900.0], json!({"view": "photoGrid", "leftPanel": true})); + // tall enough that the By Date rows are on screen below the other sections + let mut h = demo([1400.0, 2000.0], json!({"view": "photoGrid", "leftPanel": true})); let first = h.app.session.visible_cloned()[0]; let year = h.app.session.catalog.photo(first).and_then(|p| p.captured.clone()).expect("demo photo date")[..4].to_string(); // (Keywords rows go through the same helper, `browse_all_photos`)