119602: Update e2e cookieContent

This commit is contained in:
Andreas Awouters
2025-05-06 10:05:16 +02:00
parent bcd9bfd607
commit 25d6809e1c

View File

@@ -56,7 +56,7 @@ before(() => {
beforeEach(() => { beforeEach(() => {
// Pre-agree to all Orejime cookies by setting the orejime-* cookies // Pre-agree to all Orejime cookies by setting the orejime-* cookies
// This just ensures it doesn't get in the way of matching other objects in the page. // This just ensures it doesn't get in the way of matching other objects in the page.
const cookieContent = '{"authentication":true,"preferences":true,"acknowledgement":true,"google-analytics":true,"accessibility":true}'; const cookieContent = '{"authentication":true,"preferences":true,"acknowledgement":true,"google-analytics":true,"matomo":true,"google-recaptcha":true,"accessibility":true}';
cy.setCookie('orejime-anonymous', cookieContent); cy.setCookie('orejime-anonymous', cookieContent);
cy.setCookie(`orejime-${Cypress.env('DSPACE_TEST_ADMIN_USER_UUID')}`, cookieContent); cy.setCookie(`orejime-${Cypress.env('DSPACE_TEST_ADMIN_USER_UUID')}`, cookieContent);
cy.setCookie(`orejime-${Cypress.env('DSPACE_TEST_SUBMIT_USER_UUID')}`, cookieContent); cy.setCookie(`orejime-${Cypress.env('DSPACE_TEST_SUBMIT_USER_UUID')}`, cookieContent);