DEV Community

Discussion on: Await, do not make your E2E tests sleep ⏳

Collapse
 
ramospedro profile image
Pedro

Great tips!

I've seen this kind of "fixed wait" in practice and it's not pretty.

Before we know it, we're facing a magical 15 seconds wait in a lot of different places.
This makes the test suite take more time than it should, thus leading to drag and wasting money on CI machines.

Collapse
 
noriste profile image
Stefano Magni

Sorry to hear about that, you end up hating E2E testing because of some bad practices 😓
BTW: thank you 😊