bigtest
bigtest copied to clipboard
Disable animations using prefers-reduced-motion CSS
Animations slow down tests and can lead to flakiness. In attempt to avoid problems caused by animations lead developers trying to stub out the animation library. This can complicate the testing harness by requiring special builds for tests. We can avoid the need for stubbing by using prefers-reduced-motion to disable animations when running tests.
Here are some resources on the topic for future consideration