mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Merge pull request #3786 from alphagov/remove-link
Remove a link from using-notify page
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
<ul class="list list-bullet">
|
<ul class="list list-bullet">
|
||||||
<li>headings</li>
|
<li>headings</li>
|
||||||
<li>bullets</li>
|
<li>bullets</li>
|
||||||
<li><a class="govuk-link govuk-link--no-visited-state" href="https://design-system.service.gov.uk/components/inset-text/">inset text</a></li>
|
<li>inset text</li>
|
||||||
<li>horizontal rules</li>
|
<li>horizontal rules</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|||||||
@@ -342,7 +342,7 @@ def test_font_preload(
|
|||||||
|
|
||||||
preload_tags = page.select('link[rel=preload][as=font][type="font/woff2"][crossorigin]')
|
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:
|
for element in preload_tags:
|
||||||
assert element['href'].startswith('https://static.example.com/fonts/')
|
assert element['href'].startswith('https://static.example.com/fonts/')
|
||||||
|
|||||||
Reference in New Issue
Block a user