diff --git a/cypress/integration/common/steps.js b/cypress/integration/common/steps.js index 287058f84..dcea9fff5 100644 --- a/cypress/integration/common/steps.js +++ b/cypress/integration/common/steps.js @@ -388,7 +388,7 @@ Then("I can login successfully with password {string}", password => { When("open the notification menu and click on the first item", () => { cy.get(".notifications-menu").invoke('show').click(); // "invoke('show')" because of the delay for show the menu - cy.get('[data-test="notification-base-card"]') + cy.get(".notification .base-card") .first() .click({ force: true diff --git a/webapp/components/Notification/Notification.vue b/webapp/components/Notification/Notification.vue index 7d6902924..bae604a09 100644 --- a/webapp/components/Notification/Notification.vue +++ b/webapp/components/Notification/Notification.vue @@ -16,7 +16,7 @@ }}