Fixing tests

This commit is contained in:
Jonathan Bobel
2023-08-14 15:29:10 -04:00
parent ffafc16430
commit ff33c7c7f9
4 changed files with 5 additions and 5 deletions

View File

@@ -177,7 +177,7 @@ def test_should_show_page_for_choosing_a_template(
for index, expected_link in enumerate(expected_nav_links):
assert links_in_page[index].text.strip() == expected_link
template_links = page.select('#template-list .govuk-label a, .template-list-item a')
template_links = page.select('#template-list a, .template-list-item a')
assert len(template_links) == len(expected_templates)