Clear all browser cookies.
Cypress automatically clears all cookies before each test to prevent state from being shared across tests when test isolation is enabled. You shouldn't need to use this command unless you're using it to clear all cookies inside a single test or test isolation is disabled.
cy.clearAllCookies() // Clear all cookies
Pass in an options object to change the default behavior of
|Displays the command in the Command log
|Time to wait for
cy.clearAllCookies() to resolve before timing out
cy.clearAllCookies()requires being chained off of
cy.clearAllCookies()cannot have any assertions chained.
cy.clearAllCookies()should never time out.
cy.clearAllCookies() is asynchronous it is technically possible for
there to be a timeout while talking to the internal Cypress automation APIs. But
for practical purposes it should never happen.