diff --git a/src/open_inwoner/cms/cases/tests/test_htmx.py b/src/open_inwoner/cms/cases/tests/test_htmx.py index 5f4c3531a6..b968d61fe1 100644 --- a/src/open_inwoner/cms/cases/tests/test_htmx.py +++ b/src/open_inwoner/cms/cases/tests/test_htmx.py @@ -594,7 +594,7 @@ def mock_upload(request, context): upload_form = page.locator("#document-upload") file_input = upload_form.get_by_label("Sleep of selecteer bestanden") submit_button = upload_form.get_by_role("button", name=_("Upload documenten")) - notification_list = page.get_by_role("alert").get_by_role("list") + notification_list = page.locator(".notification").get_by_role("list") notification_list_items = notification_list.get_by_role("listitem") file_list = page.get_by_role("list").last file_list_items = file_list.get_by_role("listitem") diff --git a/src/open_inwoner/components/templates/components/Form/Error.html b/src/open_inwoner/components/templates/components/Form/Error.html index 8d90046f0d..d426cee805 100644 --- a/src/open_inwoner/components/templates/components/Form/Error.html +++ b/src/open_inwoner/components/templates/components/Form/Error.html @@ -4,7 +4,7 @@
{% icon icon="warning_amber" icon_position="before" outlined=True %} -
+
diff --git a/src/open_inwoner/components/templates/components/Notification/Notification.html b/src/open_inwoner/components/templates/components/Notification/Notification.html index cea1fa2d00..0955a3508f 100644 --- a/src/open_inwoner/components/templates/components/Notification/Notification.html +++ b/src/open_inwoner/components/templates/components/Notification/Notification.html @@ -1,12 +1,19 @@ {% load i18n utils button_tags icon_tags button_tags icon_tags %} -