Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
481a336
Add technical planning for VIBE-241: Cookie Policy
github-actions[bot] Nov 21, 2025
c27d5b3
Add technical planning documentation for VIBE-241
github-actions[bot] Nov 21, 2025
1dbb803
Add technical planning for VIBE-241
github-actions[bot] Nov 22, 2025
a773f2d
Add technical planning documentation for VIBE-241
github-actions[bot] Nov 22, 2025
eca9b87
docs: Add technical plan for VIBE-241 - Cookie Policy
github-actions[bot] Nov 22, 2025
ce25bb1
Add technical planning for VIBE-241 Cookie Policy
github-actions[bot] Nov 22, 2025
355b26e
Add cookies policy page and content in English and Welsh
NatashaAlker Dec 1, 2025
f0ad35d
Update page footer
NatashaAlker Dec 1, 2025
1499340
Add analytic and performance cookies
NatashaAlker Dec 1, 2025
be7d512
Add tests
NatashaAlker Dec 1, 2025
e6d4f6b
Update task list
NatashaAlker Dec 1, 2025
ebefd22
Merge branch 'master' into feature/VIBE-241-cookie-policy
NatashaAlker Dec 1, 2025
7a7f24e
Claude's code review
NatashaAlker Dec 1, 2025
78b5c42
Merge branch 'feature/VIBE-241-cookie-policy' of github.com:hmcts/cat…
NatashaAlker Dec 1, 2025
a4be933
Fix some e2e test failures
NatashaAlker Dec 1, 2025
170c3d7
Fix faiing e2e test for cookie page table contents
NatashaAlker Dec 3, 2025
cd90152
Remove non functional welsh url and make language toggling consistent…
NatashaAlker Dec 3, 2025
9aba200
Fix failing e2e tests
NatashaAlker Dec 3, 2025
40f7c51
Update cookie-policy url and fix failing e2e test
NatashaAlker Dec 3, 2025
72a5bc3
Remove duplicate docs
NatashaAlker Dec 5, 2025
3635eff
Merge branch 'master' into feature/VIBE-241-cookie-policy
NatashaAlker Dec 5, 2025
b0a29d8
Fiz dependency scan issue
NatashaAlker Dec 5, 2025
6988194
refactor: consolidate cookie policy E2E tests into journey flows
ashwini-mv Dec 23, 2025
74e8f81
Merge master into feature/VIBE-241-cookie-policy
junaidiqbalmoj Dec 24, 2025
e7ba7da
Merge branch 'master' into feature/VIBE-241-cookie-policy
junaidiqbalmoj Dec 24, 2025
3daa3f4
fix end to end test
junaidiqbalmoj Dec 24, 2025
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
fix end to end test
  • Loading branch information
junaidiqbalmoj committed Dec 24, 2025
commit 3daa3f4d9451bd27b4958f2d513ef14b85e8d15b
9 changes: 7 additions & 2 deletions e2e-tests/tests/page-structure.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ test.describe("Page Structure - VIBE-149", () => {
const sameTablLinks = [
{ text: "Help", href: "https://www.gov.uk/help" },
{ text: "Privacy policy", href: "https://www.gov.uk/help/privacy-notice" },
{ text: "Cookies", href: "/cookie-preferences" },
{ text: "Contact us", href: "https://www.gov.uk/contact" },
{ text: "Terms and conditions", href: "https://www.gov.uk/help/terms-conditions" },
{ text: "Welsh", href: "https://www.gov.uk/cymraeg" },
Expand All @@ -97,6 +96,12 @@ test.describe("Page Structure - VIBE-149", () => {
expect(targetAttr).not.toBe("_blank");
}

// Cookie policy should open in new tab
const cookiePolicyLink = page.locator('.govuk-footer__link[href="/cookie-policy"]').first();
await expect(cookiePolicyLink).toBeVisible({ timeout: 5000 });
await expect(cookiePolicyLink).toHaveAttribute("target", "_blank");
await expect(cookiePolicyLink).toHaveAttribute("rel", "noopener noreferrer");

// Accessibility statement should open in new tab
const accessibilityLink = page.locator('.govuk-footer__link[href="/accessibility-statement"]').first();
await expect(accessibilityLink).toBeVisible({ timeout: 5000 });
Expand Down Expand Up @@ -160,7 +165,7 @@ test.describe("Page Structure - VIBE-149", () => {
await expect(signInLink).toHaveText("Mewngofnodi");

// Verify footer links are in Welsh
const cookiesLink = page.locator('.govuk-footer__link[href="/cookie-preferences"]');
const cookiesLink = page.locator('.govuk-footer__link[href="/cookie-policy"]');
await expect(cookiesLink).toHaveText("Cwcis");

// Click language toggle to switch back to English
Expand Down
Loading