mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-11 16:31:32 -06:00
Stabilize sidebar month-name test fixture (#3859)
Inject an empty local folder list so asynchronous host discovery cannot move rows between queued clicks. Preserve both clicks and all accessibility assertions. Fixes #3858 Co-authored-by: FredApps <FredApps@users.noreply.github.com>
This commit is contained in:
@@ -51,7 +51,8 @@ fn a_month_triangle_names_its_year() {
|
||||
for (id, captured) in ids.into_iter().zip(["2025-03-05T10:00:00", "2026-03-05T10:00:00"]) {
|
||||
session.catalog.apply(lightcraft_catalog::Op::SetCaptured { id, captured: Some(captured.into()) }).expect("the capture time is set");
|
||||
}
|
||||
let mut app = LightcraftApp::new(session, Services { png: None, ..Default::default() });
|
||||
// Keep host-folder discovery from moving rows between a queued click and its frame (#3858).
|
||||
let mut app = LightcraftApp::new(session, Services { png: None, local_places: Some(Vec::new()), ..Default::default() });
|
||||
app.headless_host = true;
|
||||
app.ui.left_panel = true;
|
||||
app.ui.view = ViewMode::PhotoGrid;
|
||||
|
||||
Reference in New Issue
Block a user