mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 02:23:19 -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)
|
normalize_spaces(item.text)
|
||||||
for item in page.select(
|
for item in page.select(
|
||||||
# Text which should be hidden from all users
|
# Text which should be hidden from all users
|
||||||
r'#template-list .govuk-\!-display-none'
|
r'.template-list-item .govuk-\!-display-none'
|
||||||
)
|
)
|
||||||
] == [
|
] == [
|
||||||
template_2["id"],
|
template_2["id"],
|
||||||
|
|||||||
Reference in New Issue
Block a user