diff --git a/cypress/integration/common/steps.js b/cypress/integration/common/steps.js index d712ee9b1..a25200667 100644 --- a/cypress/integration/common/steps.js +++ b/cypress/integration/common/steps.js @@ -351,10 +351,12 @@ When("I log in with the following credentials:", table => { }); When("open the notification menu and click on the first item", () => { - cy.get(".notifications-menu").click(); + cy.get(".notifications-menu").invoke('show').click(); // "invoke('show')" because of the delay for show the menu cy.get(".notification-mention-post") .first() - .click(); + .click({ + force: true + }); }); Then("see {int} unread notifications in the top menu", count => { diff --git a/cypress/integration/notifications/Mentions.feature b/cypress/integration/notifications/Mentions.feature index d3c123863..7523e3d05 100644 --- a/cypress/integration/notifications/Mentions.feature +++ b/cypress/integration/notifications/Mentions.feature @@ -1,4 +1,4 @@ -Feature: Notifications for a mentions +Feature: Notification for a mention As a user I want to be notified if sb. mentions me in a post or comment In order join conversations about or related to me