Open SubramanyamPalla opened 4 months ago
I'm sorry I don't understand your issue. Do you have a full example? Can you update this repo to show the problem? Tip: you can always search my blog posts and examples for more posts related to cookies https://cypress.tips/search
Hi @bahmutov
We have handled cookie pop up in our project as per the below setup, When the site loads, the pop up will close but when the user navigates to the next page ( like Signin page) the cookiespop up is reappearing. Due to that issue, we are seeing many automation failures.
I've tried using the cy.setCookie('CookieName','CookieValue'), unable to configure this one in globally. At present i've updated this value at every spec beforeEach hook but still have the issue.
https://kittygiraudel.com/2020/03/15/preventing-cookie-banners-with-cypress/