Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unset default tags until a choice has been made #110

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Cypress tests
  • Loading branch information
jberghoef committed Jun 8, 2022
commit 85d21543f18270271040aedd688edef38c0f28d9
2 changes: 1 addition & 1 deletion cypress/e2e/cookie_consent.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe("Cookie consent", () => {
cy.getCookie("wtm").should(
"have.property",
"value",
"necessary:true|preferences:unset|statistics:pending|marketing:unset"
"necessary:unset|preferences:unset|statistics:pending|marketing:unset"
);
});

Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/sandbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ describe("The website", () => {
cy.getCookie("wtm").should(
"have.property",
"value",
"necessary:true|preferences:unset|statistics:pending|marketing:unset"
"necessary:unset|preferences:unset|statistics:pending|marketing:unset"
);

cy.get("body")
Expand Down
6 changes: 3 additions & 3 deletions cypress/e2e/tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe("Necessary tags", () => {
cy.getCookie("wtm").should(
"have.property",
"value",
"necessary:true|preferences:unset|statistics:pending|marketing:unset"
"necessary:unset|preferences:unset|statistics:pending|marketing:unset"
);

cy.setCookie("wtm", "necessary:false|preferences:false|statistics:false|marketing:false");
Expand All @@ -37,7 +37,7 @@ describe("Necessary tags", () => {
cy.getCookie("wtm").should(
"have.property",
"value",
"necessary:true|preferences:false|statistics:false|marketing:false"
"necessary:unset|preferences:false|statistics:false|marketing:false"
);

cy.setCookie("wtm", "necessary:unset|preferences:false|statistics:false|marketing:false");
Expand All @@ -51,7 +51,7 @@ describe("Necessary tags", () => {
cy.getCookie("wtm").should(
"have.property",
"value",
"necessary:true|preferences:false|statistics:false|marketing:false"
"necessary:unset|preferences:false|statistics:false|marketing:false"
);
});

Expand Down