mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-13 09:50:08 -04:00
Use template-list-item selector
For consistency with other assertions
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user