mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Try to fix intermitent failing Cypress test for notification
This commit is contained in:
parent
1543aa4510
commit
cee0a27b14
@ -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 => {
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user