Adjust test instruction

This commit is contained in:
Katie Smith
2021-02-04 15:21:29 +00:00
parent 1fdfd453f7
commit 3ee16ecdbe

View File

@@ -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/')