Replace link with button in index notifications

This commit is contained in:
cyrillefr
2025-04-16 09:54:38 +02:00
parent 75ed7ae3ef
commit ddd34d5cd0
2 changed files with 5 additions and 5 deletions

View File

@@ -74,7 +74,7 @@ describe "Notifications" do
click_notifications_icon
expect(page).to have_css(".notification", count: 2)
click_link "Mark all as read"
click_button "Mark all as read"
expect(page).to have_css(".notification", count: 0)
end