-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicated notifications are possibly created in Cypress #2230
Comments
Or the reason could be the |
Having investigated more in detail, I have noticed that those two notifications are different ones. Just difference in period.
Also, I have noticed that it's related to the force change of |
So this means this is not a bug, and it's the picky situation which only happens in Cypress. |
However, I will link this issue to the PR #2227 since I have added code to check notifications count there. |
Problem
In this Cypress test, we can see the two notifications are same.
Actually, it is not allowed to create duplicated notification and we do this by comparing its hash.
I guess the reason might be the duplicated notification is created before the Vuex module
notifications
is cloned from the IndexedDB after login.Solution
Fix it.
The text was updated successfully, but these errors were encountered: