From e32fc7c606f74d3e536132fca6921aab1ab6d358 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 14 Apr 2021 10:11:42 +0100 Subject: [PATCH] Use template-list-item selector For consistency with other assertions --- tests/app/main/views/test_template_folders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/main/views/test_template_folders.py b/tests/app/main/views/test_template_folders.py index 89f4076f5..1b67611f4 100644 --- a/tests/app/main/views/test_template_folders.py +++ b/tests/app/main/views/test_template_folders.py @@ -533,7 +533,7 @@ def test_template_id_is_searchable_for_services_with_api_keys( normalize_spaces(item.text) for item in page.select( # Text which should be hidden from all users - r'#template-list .govuk-\!-display-none' + r'.template-list-item .govuk-\!-display-none' ) ] == [ template_2["id"],