DEV Community

Discussion on: Clicking Stuff in E2E tests - smooth scrolling, Electron flags, and Cypress

Collapse
 
silasotoko profile image
SilasOtoko

The bit about launching the browser with the reduced motion setting was very helpful! I had also come to the same conclusion that using prefers-reduced-motion would be a good way to handle the issue with transitions but I had no idea how to make the Cypress testing browser use the setting. Thank you!

Now I can go back and remove all those cy.wait() calls.