[UXP-10] e2e test fixed

This commit is contained in:
Davide Negretti
2022-09-15 10:40:59 +02:00
parent b02826d24d
commit 183653112e

View File

@@ -24,7 +24,7 @@ import 'cypress-axe';
beforeEach(() => {
// Pre-agree to all Klaro cookies by setting the klaro-anonymous cookie
// This just ensures it doesn't get in the way of matching other objects in the page.
cy.setCookie('klaro-anonymous', '{%22authentication%22:true%2C%22preferences%22:true%2C%22acknowledgement%22:true%2C%22google-analytics%22:true}');
cy.setCookie('klaro-anonymous', '{%22authentication%22:true%2C%22preferences%22:true%2C%22acknowledgement%22:true%2C%22google-analytics%22:true%2C%22registration-password-recovery%22:true}');
});
// For better stability between tests, we visit "about:blank" (i.e. blank page) after each test.