Skip to content

Commit

Permalink
Update consent cookie name in cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dynamictulip committed Dec 20, 2024
1 parent 6f8dd1d commit f7cf20d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('Cookie page and consent tests', () => {
cy.getCookie('_ga').should('exist');

//check mandatory cookies exist after saving
cy.getCookie('.FindInformationAcademiesTrust.CookieConsent').should('exist');
cy.getCookie('.FindInformationAcademiesTrusts.CookieConsent').should('exist');
cy.getCookie('ASLBSA').should('exist');
cy.getCookie('ASLBSACORS').should('exist');
cy.getCookie('.FindInformationAcademiesTrusts.Antiforgery').should('exist');
Expand All @@ -55,7 +55,7 @@ describe('Cookie page and consent tests', () => {
cy.getCookie('_ga').should('not.exist');

//check mandatory cookies do not exist after saving
cy.getCookie('.FindInformationAcademiesTrust.CookieConsent').should('exist');
cy.getCookie('.FindInformationAcademiesTrusts.CookieConsent').should('exist');
cy.getCookie('ASLBSA').should('exist');
cy.getCookie('ASLBSACORS').should('exist');
cy.getCookie('.FindInformationAcademiesTrusts.Antiforgery').should('exist');
Expand Down

0 comments on commit f7cf20d

Please sign in to comment.