diff --git a/cypress/integration/common/steps.js b/cypress/integration/common/steps.js index e3db43e14..386035ea2 100644 --- a/cypress/integration/common/steps.js +++ b/cypress/integration/common/steps.js @@ -357,7 +357,7 @@ When("mention {string} in the text", mention => { }); Then("the notification gets marked as read", () => { - cy.get(".post.createdAt") + cy.get(".notifications-menu-popover .notification") .first() .should("have.class", "read"); }); diff --git a/webapp/components/notifications/Notification/Notification.vue b/webapp/components/notifications/Notification/Notification.vue index 31b61be40..33f06d041 100644 --- a/webapp/components/notifications/Notification/Notification.vue +++ b/webapp/components/notifications/Notification/Notification.vue @@ -1,5 +1,5 @@