DEV Community

Discussion on: E2E Testing of excel file downloads with cypress

Collapse
abhimassive profile image
Abhi

Anti-pattern, and very bad practice to arbitrarily wait for cy.wait(2000);
What if its a large file of 20MB or you are on a slow internet connection?
Will you wait for 60 seconds then?