-
Sub-task
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
False
-
-
False
-
None
-
Unset
-
-
Since teams and users are implemented in the backend, ensure all the test cases are working:
user->incident
- Given user subscribes to incident -> user receives message when incident status is changed.
- Given user subscribes to multiple incidents -> user receives message when status is changed only on subscribed incidents
- Given several users subscribed to the same incident -> all users subscribed get messages when status is changed
- User unsubscribes from incident -> message is no longer sent to user when status is updated for that incident
user->product
- Given user subscribes to product -> user receives message when one or more is declared for product.
- Given user subscribes to multiple products -> user receives multiple messages for incidents declared for the different subscribed products.
- Given several users subscribed to the same product -> all users subscribed get messages when incident is declared
- User unsubscribes from product -> message is no longer sent to user when incident is declared
We check similarly for team->incident and team->product
I am ok with the current tests in this mr. We can create a separate card for test coverage for notification subscriptions once the email component is completed.