{
  "test": "consent",
  "title": "Consent wall",
  "data_version": "1.0.0",
  "seed": 20261102,
  "page": "/access/consent/",
  "needs": "Needs cookies",
  "difficulty": "Medium",
  "what_it_tests": "Articles that redirect to a consent form until you post it and keep the cookie, and a page whose text sits under a cookie banner.",
  "expect": {
    "cookie": {
      "name": "nw_consent",
      "value": "yes"
    },
    "without_cookie": {
      "status": 302,
      "location": "/access/consent/ask/?next=<the page you asked for>"
    },
    "form": {
      "action": "/access/consent/ask/",
      "method": "POST",
      "fields": {
        "choice": "accept",
        "next": "the page to go back to"
      }
    },
    "on_accept": {
      "status": 303,
      "location": "the next field",
      "sets_cookie": "nw_consent"
    },
    "modal_page": {
      "url": "/access/consent/modal/",
      "note": "Not behind the wall. The text is in the HTML; script lays a cookie banner over it."
    }
  },
  "records": [
    {
      "url": "/access/consent/content/1/",
      "title": "Opening hours over the holidays",
      "code": "CONSENT-1",
      "body": "Opening hours over the holidays. Starting this week, every order follows the same rule, and the full details sit in the leaflet at the till."
    },
    {
      "url": "/access/consent/content/2/",
      "title": "The new returns window",
      "code": "CONSENT-2",
      "body": "The new returns window. From next month, every product follows the same rule, and the full details sit in the leaflet at the till."
    },
    {
      "url": "/access/consent/content/3/",
      "title": "Our repair service, explained",
      "code": "CONSENT-3",
      "body": "Our repair service, explained. From next month, every store follows the same rule, and the full details sit in the leaflet at the till."
    },
    {
      "url": "/access/consent/modal/",
      "title": "Winter opening times",
      "code": "CONSENT-MODAL",
      "body": "Every store opens at nine and closes at six from the first of December to the end of February."
    }
  ]
}
