jeudi 23 janvier 2020

How to save local storage cypress react

Hi sorry for my bad English.

I making any test in my project using cypress, but today I find one problem after "it("call login",() => ... The cypress clear my local storage deleted my auth, in the next request my auth is undefined because a deleted local storage

One method for get my auth is in login but after this "it("call login",() => ..., my local storage is deleted, how save a local storage after it

Aucun commentaire:

Enregistrer un commentaire