Open eGoudi opened 4 years ago
Hi @eGoudi, was this issue meant for this repo (fac18/safe-space)?
We did start using Cypress for testing but have no particular expertise about cookie management in relation to that, and I can't see the relevance of your post to our project?
Hi, I'm working on a web project. I use cypress to do my tests.
I have the following features:
So I am able to run the tests in a file (.feature).
For example: when I run the tests which is in 01TestCaseprofileAdminRightAccess.feature The scenarios are executed without problem.
And then if I want to launch the tests which are in 02TestCaseprofileAdminRightAccess.feature the browser is displayed and crashes (no test scenario is executed).
So I have to delete cookies by hand so that cypress can run the tests.
List of cookies:
So my question is: Is there a way to tell Cypress to delete all cookies from the domains auth0, SSO, .com?
I have seen clearCookies () and even clearCookies ({domain: null}) and I added them each at the end of the scenario believing that it would solve the problem but nothing.