Files
photocraft/crates
fjamespriceandClaude Opus 5.5 bdf2e6cb31 test(camera-raw): wait for the proxy worker before recording a revision
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>
2026-10-19 23:02:04 -04:00
..
…
…