Notifications can be a little sporadic and incorrect, if you play around with a number of accounts you will notice incorrect names, duplicate notifications and missing notifications.
Heads up that these tests are flaky and you will have to play around a bit.
Prerequisites
You will need 3 different google accounts
Enable google drive notifications
Test 1
Create a doc using the slash command, allow anyone to comment and publish to channel.
Add some content to the document using the google account
Using account 2 add a comment
Using account 3 add another comment
Expected result: You get a notification for each comment
Actual result: I got a duplicate notification for the second comment but nothing for the first
Test 2
Create a doc using the slash command, allow anyone to comment and publish to channel.
Add some content to the document using the google account
Using account 2 add a comment
When you receive the Mattermost notification click the "Reply to comment" button and complete the form.
Add another comment from account 2
Expected result: You get a notification for the last comment
Actual result: Instead of the notification being the last comment it will contain the content from your "reply to comment" form
Test 3
Create a doc using the slash command, allow anyone to comment and publish to channel.
Add some content to the document using the google account
Open the document using incognito and comment using an anonymous account
Comment using account 2
Expected Result: You receive 2 notifications
Actual result: I didn't get a notification for the anonymous comment. Sometimes the names on the notifications are incorrect.
Spent some time debugging this and it looks like Google Drive activity api just sends the wrong comment a lot of the time. It's extremely flaky. @darkLord19 Did you notice this as well?
Notifications can be a little sporadic and incorrect, if you play around with a number of accounts you will notice incorrect names, duplicate notifications and missing notifications.
Heads up that these tests are flaky and you will have to play around a bit.
Prerequisites
You will need 3 different google accounts Enable google drive notifications
Test 1
Expected result: You get a notification for each comment Actual result: I got a duplicate notification for the second comment but nothing for the first
Test 2
Expected result: You get a notification for the last comment Actual result: Instead of the notification being the last comment it will contain the content from your "reply to comment" form
Test 3
Expected Result: You receive 2 notifications Actual result: I didn't get a notification for the anonymous comment. Sometimes the names on the notifications are incorrect.
I also randomly got this panic when doing test 3: