mardi 23 décembre 2014

afterEach not waiting to complete before continuing

I use afterEach to logout, but my tests try to login before afterEach completes logging out.


I'm trying to avoid the use of sleep statements (really slows things down).


How can I get a test to wait for the previous beforeEach to finish?


Aucun commentaire:

Enregistrer un commentaire