Skip to content

Commit 34fe873

Browse files
author
Andrea Barbasso
committed
[DEV-1727] add missing cookies to cypress initialization
1 parent 856f219 commit 34fe873

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cypress/support/e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ before(() => {
5757
beforeEach(() => {
5858
// Pre-agree to all Klaro cookies by setting the klaro-anonymous cookie
5959
// This just ensures it doesn't get in the way of matching other objects in the page.
60-
cy.setCookie('klaro-anonymous', '{%22authentication%22:true%2C%22preferences%22:true%2C%22acknowledgement%22:true%2C%22google-analytics%22:true%2C%22google-recaptcha%22:true}');
60+
cy.setCookie('klaro-anonymous', '{%22authentication%22:true%2C%22preferences%22:true%2C%22acknowledgement%22:true%2C%22google-analytics%22:true%2C%22google-recaptcha%22:true%2C%22plumX%22:true%2C%22altmetric%22:true%2C%22dimensions%22:true}');
6161

6262
// Remove any CSRF cookies saved from prior tests
6363
cy.clearCookie(DSPACE_XSRF_COOKIE);

0 commit comments

Comments
 (0)