mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-24 18:18:12 -06:00
Folder listings arrive from background threads that Headless::busy() does not track, so a fixed number of frames was not always enough under full-suite load. Two tests failed intermittently and passed alone: kept_local_root_stays_while_browsing_below_and_elsewhere and local_folder_tree_expands_and_browses. They now wait for the expected widget (wait_for_widget, test-only) and use their temporary folders as kept roots. The kept-root test hides Home (in the test's in-memory session) so the tree does not depend on the user's real folders. local_location_can_be_hidden_and_restored now hides a kept root, reached via "All Photographs". It no longer covers hiding a browsed temporary folder: hiding a folder beneath Home expands the whole parent tree and pushes the restore button out of view. That UI bug is not fixed here. Fixture changes split from a327b98 (T0 thumbnail work), plus follow-ups. Co-authored-by: Codex <noreply@openai.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>