Merge pull request #3700 from alphagov/fix-template-list-item-focus-style

Fix template list item focus style
This commit is contained in:
Tom Byers
2020-10-30 15:58:35 +00:00
committed by GitHub
5 changed files with 128 additions and 93 deletions

View File

@@ -188,7 +188,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, .message-name a')
template_links = page.select('#template-list .govuk-label a, .template-list-item a')
assert len(template_links) == len(expected_templates)