From 70ba5fe75f22fb261fd5e12e1d05e5d03b63378e Mon Sep 17 00:00:00 2001 From: Bau Nguyen Date: Thu, 25 Apr 2024 15:11:42 +0100 Subject: [PATCH] add test for cookies page --- src/app/views/cookies.njk | 24 +++++----- test/end-to-end/cypress/cookies-spec-cy.js | 51 ++++++++++++++++++++++ 2 files changed, 63 insertions(+), 12 deletions(-) create mode 100644 test/end-to-end/cypress/cookies-spec-cy.js diff --git a/src/app/views/cookies.njk b/src/app/views/cookies.njk index 5f2d2bbb..1276f135 100644 --- a/src/app/views/cookies.njk +++ b/src/app/views/cookies.njk @@ -1,11 +1,11 @@ {% extends '_layouts/omis-base.njk' %} {% block body_main_content %} -

Cookies

+

Cookies

-

GOV.UK puts small files (known as ‘cookies’) onto your computer to collect information about how you browse the site.

+

GOV.UK puts small files (known as ‘cookies’) onto your computer to collect information about how you browse the site.

-

Cookies are used to:

+

Cookies are used to: