From 2f18e4b2f0f4e58be827ced98aa91b55744b562d Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Fri, 18 Sep 2020 09:44:46 +0100 Subject: [PATCH] Update test helper that generates checkboxes It was using GOVUK Elements HTML and we have since moved to GOVUK Frontend. --- tests/javascripts/support/helpers/html.js | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/tests/javascripts/support/helpers/html.js b/tests/javascripts/support/helpers/html.js index 441feb08c..dacc0f930 100644 --- a/tests/javascripts/support/helpers/html.js +++ b/tests/javascripts/support/helpers/html.js @@ -39,16 +39,14 @@ function templatesAndFoldersCheckboxes (hierarchy) { hierarchy.forEach((node, idx) => { result += ` -
-
- - -
-

- - ${node.label} - -

+
+ + + + ${node.label} + ${node.meta}
`;