mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-12 00:49:14 -06:00
The dialog's own controls develop the preview on a worker (#5964), so after the scope tone drags its last frame could land after the test recorded previewRevision and bump it during the hover check that must not re-render. A settle() helper waits until previewPending is false; the fixture and the drag test call it before taking a baseline. With a 20 ms delay added to the worker, the old test failed 9 of 10 runs with the reviewer's assertion; with settle() all 21 tests passed 10 of 10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>