From 1fdfd453f7034fa9065af7ed69b08f4b8ab8d663 Mon Sep 17 00:00:00 2001 From: Katie Smith Date: Thu, 4 Feb 2021 15:17:36 +0000 Subject: [PATCH 1/2] Remove a link from using-notify page This stops the 'inset text' linking to the design system on the 'edit-and-format-messages' page. The link has been removed to avoid confusion - someone thought they needed to use the design system code in order to create inset text in templates. --- app/templates/views/guidance/edit-and-format-messages.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/guidance/edit-and-format-messages.html b/app/templates/views/guidance/edit-and-format-messages.html index f6d29db8d..599c502c8 100644 --- a/app/templates/views/guidance/edit-and-format-messages.html +++ b/app/templates/views/guidance/edit-and-format-messages.html @@ -30,7 +30,7 @@ From 3ee16ecdbec4686271fd72126bcbc04ce17a621e Mon Sep 17 00:00:00 2001 From: Katie Smith Date: Thu, 4 Feb 2021 15:21:29 +0000 Subject: [PATCH 2/2] Adjust test instruction --- tests/app/main/views/test_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index 3615b1c65..c4b0dcc5d 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -342,7 +342,7 @@ def test_font_preload( preload_tags = page.select('link[rel=preload][as=font][type="font/woff2"][crossorigin]') - assert len(preload_tags) == 4, 'Run `npm build` to copy fonts into app/static/fonts/' + assert len(preload_tags) == 4, 'Run `npm run build` to copy fonts into app/static/fonts/' for element in preload_tags: assert element['href'].startswith('https://static.example.com/fonts/')