Fix unit tests for changes to the pill component.

This commit is contained in:
Rebecca Law
2020-09-04 14:32:07 +01:00
committed by Tom Byers
parent 452e253e2c
commit 7cae303104
7 changed files with 21 additions and 20 deletions

View File

@@ -429,7 +429,7 @@ def test_should_show_templates_folder_page(
**expected_parent_link_args[index]
)
links_in_page = page.select('.pill a')
links_in_page = page.select('.pill a:not(.pill-item--selected)')
assert len(links_in_page) == len(expected_nav_links)