vendredi 28 août 2020

How to Login only once before each fixture in testcafe

I want to run e2e test and for that I want to login only once (before each and every fixture ) in my test framework. I read that I can do it with Role but I do not know how I can deal with all the fixtures across the framework

Moreover, I do login using httpauth, before httpauth I have to enter my email, so is there any way I can handle httpauth via Role or any other way (I want to login only once until all my fixtures gets run)

Thanks in advance!!

Aucun commentaire:

Enregistrer un commentaire