bigtest icon indicating copy to clipboard operation
bigtest copied to clipboard

Disable animations using prefers-reduced-motion CSS

Open taras opened this issue 5 years ago • 0 comments

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

taras avatar Aug 04 '20 21:08 taras