Closed
Description
As mentioned here using command cy.clearCookie('nameOfCookie')
we should be able to delete cookie no matter what.. but apparently since then behaviour has changed..
Didn't find an official way to clear the whitelist so tried setting defaults back to undefined or empty array - no effect whatsoever..
Cypress.Cookies.defaults({
whitelist: [] / undefined
});
Cypress v 3.5.0
.
Any other ideas how to remove the cookie which was whitelisted before?? Thx