From 2bf9f07f0ae3422ae96074f6bb58e29367718f50 Mon Sep 17 00:00:00 2001 From: Oscar Duignan <100650+oscarduignan@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:09:17 +0000 Subject: [PATCH] PLATUI-3352: add initial failing acceptance tests --- lib/browser-tests/puppeteer-helpers.js | 2 + lib/jest-helpers.js | 21 +- .../__tests__/2024-12-adams-polyfill.js.txt | 119 ++++++ .../accessible-autocomplete.browser.test.js | 345 ++++++++++++++++++ 4 files changed, 482 insertions(+), 5 deletions(-) create mode 100644 src/components/accessible-autocomplete/__tests__/2024-12-adams-polyfill.js.txt create mode 100644 src/components/accessible-autocomplete/accessible-autocomplete.browser.test.js diff --git a/lib/browser-tests/puppeteer-helpers.js b/lib/browser-tests/puppeteer-helpers.js index f8c83db3..6fa5e2a4 100644 --- a/lib/browser-tests/puppeteer-helpers.js +++ b/lib/browser-tests/puppeteer-helpers.js @@ -41,6 +41,7 @@ export function withHmrcStylesAndScripts(body) {
+ ${preloadGovukFonts} @@ -49,6 +50,7 @@ export function withHmrcStylesAndScripts(body) { ${body} +