Autoplay rules differ between browsers and change without much notice. We built a small test page to keep track.
Controlling time and randomness
The full suite runs in under three minutes. Anything slower gets split, parallelised, or moved to a nightly job.
- One behaviour per test
- Freeze the clock and seed randomness
- Name fixtures after real situations
- Keep the main suite under three minutes