diff --git a/cypress/integration/common/steps.js b/cypress/integration/common/steps.js index b65bc96ce..6ccde03f4 100644 --- a/cypress/integration/common/steps.js +++ b/cypress/integration/common/steps.js @@ -303,6 +303,7 @@ When('open the notification menu and click on the first item', () => { }) Then('see {int} unread notifications in the top menu', count => { + cy.find('.notifications-menu').should('contain', count) }) Then('I get to the post page of {string}', path => { diff --git a/webapp/layouts/default.vue b/webapp/layouts/default.vue index 991662350..77aa32b2b 100644 --- a/webapp/layouts/default.vue +++ b/webapp/layouts/default.vue @@ -31,6 +31,27 @@ />