diff --git a/src/open_inwoner/accounts/tests/test_action_views.py b/src/open_inwoner/accounts/tests/test_action_views.py index 4b8b7c4f41..ad090df9b9 100644 --- a/src/open_inwoner/accounts/tests/test_action_views.py +++ b/src/open_inwoner/accounts/tests/test_action_views.py @@ -227,6 +227,12 @@ def test_action_history(self): self.assertEqual(response.status_code, 200) self.assertContains(response, self.action.name) + def test_action_history_breadcrumbs(self): + response = self.app.get(self.history_url, user=self.user) + crumbs = response.pyquery(".breadcrumbs__list-item") + self.assertIn(_("Mijn profiel"), crumbs[1].text_content()) + self.assertIn(_("Mijn acties"), crumbs[2].text_content()) + def test_action_history_not_your_action(self): other_user = UserFactory() self.app.get(self.history_url, user=other_user, status=404) diff --git a/src/open_inwoner/components/templates/components/Action/Actions.html b/src/open_inwoner/components/templates/components/Action/Actions.html index d3489fa4b7..435d94e00b 100644 --- a/src/open_inwoner/components/templates/components/Action/Actions.html +++ b/src/open_inwoner/components/templates/components/Action/Actions.html @@ -26,7 +26,12 @@ {% button icon="edit" text=_("Bewerken") href=action_url icon_outlined=True transparent=True %}