captureAtMillis

Milliseconds of the test clock after which this fixture is captured with the clock frozen, or null — the normal case — to be captured once Compose is idle.

For content that is never idle: an animation that runs for as long as it is composed, such as a spinner turning on a frame loop. Waiting for idle never returns for it, so the capture stops the clock, sets the content and advances by exactly this much instead, which gives the same picture on every run. See @ViddikScreenshot(captureAtMillis).