From 66b12090a74c4262a6d741c383c28f191bba1062 Mon Sep 17 00:00:00 2001 From: roschaefer Date: Fri, 30 Aug 2019 02:13:58 +0200 Subject: [PATCH] Fix cypress tests --- cypress/integration/common/steps.js | 2 +- webapp/components/notifications/Notification/Notification.vue | 2 +- .../notifications/NotificationMenu/NotificationMenu.vue | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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 @@