-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65246da
commit eac72e9
Showing
10 changed files
with
188 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
--- | ||
# (Required) Ensure all values are filled up | ||
name: "Enable Desktop notification on Window/Mac/Ubuntu Desktop app" | ||
status: Active | ||
priority: Normal | ||
folder: Notifications Banner | ||
authors: "@yasserfaraazkhan" | ||
team_ownership: | ||
- ICU | ||
priority_p1_to_p4: P3 - Deep Functions (Do extensive scenarios work?) | ||
|
||
# (Optional) | ||
location: Notifications | ||
component: null | ||
tags: [] | ||
labels: [] | ||
tested_by_contributor: "" | ||
|
||
# (Optional) Test type and tools | ||
cypress: N/A | ||
detox: N/A | ||
mmctl: N/A | ||
playwright: N/A | ||
rainforest: [] | ||
manual_test_environments: [] | ||
|
||
# Do not change | ||
id: 195498645 | ||
key: MM-T5641 | ||
created_on: "2024-10-22T08:32:05Z" | ||
last_updated: "2024-10-22T14:02:04Z" | ||
case_hashed: 3b877cce34f8ee712d2006cae7bc6f9102eea877550b3aed0371e0f536f83175c09ff9112501d19deef635ef4b95b08c | ||
steps_hashed: 48b72a767dcde9d94ad926b1a767b5729b28a6152d051b6f1b3f0fedb81de4f423a843aa0d8a32474d5d914ad3d9a31a | ||
--- | ||
|
||
<!-- (Auto-generated) Based on frontmatter's "key" and "name" --> | ||
|
||
## MM-T5641: Enable Desktop notification on Window/Mac/Ubuntu Desktop app | ||
|
||
--- | ||
|
||
**Step 1** | ||
|
||
### Scenario: User Enables the desktop notifications | ||
|
||
Steps: | ||
|
||
1. Log into User's account. | ||
2. Verify desktop app shows the global blue banner with message "We need your permission to show desktop notifications." and the button "Enable desktop notification". | ||
3. Open Settings modal. Expand "Desktop and mobile notification section". | ||
4. In Notifications section, there should be a message "Desktop notifications aren’t enabled" and the button "Enable desktop notification". | ||
5. Click on "Enable desktop notification". | ||
6. Verify a confirmation pop up is shown with message `Mattermost(<Instance link>) would like to send you notifications.`. | ||
7. **Allow** the notifications permissions. | ||
8. Receive a notification ping from another user. | ||
9. Verify the notification pops up and also can be seen in the Notification tray or Notification centre on WINDOWS and MAC. | ||
10. Verify the Global banner is not visible anymore. | ||
11. Open Settings modal. Expand "Desktop and mobile notification section". | ||
12. Verify "Desktop notifications aren’t enabled" message is not visible anymore. | ||
|
||
### Scenario: User Denies the desktop notifications on WINDOWS / MAC / Ubuntu OS | ||
|
||
Steps: | ||
|
||
1. Log into User's account. | ||
2. Verify desktop app shows the global blue banner with message "We need your permission to show desktop notifications." and the button "Enable desktop notification". | ||
3. Open Settings modal. Expand "Desktop and mobile notification section". | ||
4. In Notifications section, there should be a message "Desktop notifications aren’t enabled" and the button "Enable desktop notification". | ||
5. Click on "Enable desktop notification". | ||
6. Verify a confirmation pop up is shown with message `Mattermost(<Instance link>) would like to send you notifications.`. | ||
7. **Deny** the notifications permissions. | ||
8. Receive a notification ping from another user. | ||
9. Verify the notification pop-up is not seen. | ||
10. Verify the Global banner is not visible anymore. | ||
11. Open Settings modal. | ||
12. Verify a Alert tag is visible, saying "Permission required". | ||
13. Expand "Desktop and mobile notification" section. | ||
14. Verify "Desktop notifications permission was denied" message is visible. A buttons with text "Enable desktop notifications" and "How to enable notifications" are visible. | ||
|
||
### Scenario: User Denies the desktop notifications on Browsers Chrome/Safari/Firefox/Edge | ||
|
||
Steps: | ||
|
||
1. In addition to above scenario, the only change to **Step 12** is that we will not see "Enable desktop notifications" button. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
# (Required) Ensure all values are filled up | ||
name: "Enable/Disable notification on Mobile app" | ||
status: Active | ||
priority: Normal | ||
folder: Notifications Banner | ||
authors: "@yasserfaraazkhan" | ||
team_ownership: | ||
- ICU | ||
priority_p1_to_p4: P3 - Deep Functions (Do extensive scenarios work?) | ||
|
||
# (Optional) | ||
location: Notifications | ||
component: null | ||
tags: [] | ||
labels: [] | ||
tested_by_contributor: "" | ||
|
||
# (Optional) Test type and tools | ||
cypress: N/A | ||
detox: N/A | ||
mmctl: N/A | ||
playwright: N/A | ||
rainforest: [] | ||
manual_test_environments: [] | ||
|
||
# Do not change | ||
id: 195498646 | ||
key: MM-T5642 | ||
created_on: "2024-10-22T08:32:05Z" | ||
last_updated: "2024-10-22T14:02:05Z" | ||
case_hashed: 37453bdaddd7ef05b1a04430111dccb23559d76c15677e0ef63bfa2fcfbf0735b616ae15437c2015b9c6319201a87a3e | ||
steps_hashed: 2efae7e549b335e54029efd3f47bc3af28f3444c6c45438e7b52d5700e017b2d0761220b5d6e79cd9be8e70cfb18ff7e | ||
--- | ||
|
||
<!-- (Auto-generated) Based on frontmatter's "key" and "name" --> | ||
|
||
## MM-T5642: Enable/Disable notification on Mobile app | ||
|
||
--- | ||
|
||
**Step 1** | ||
|
||
### Scenario: Enable notifications on mobile. | ||
|
||
Steps: | ||
|
||
1. Log into User's account on Mobile app. | ||
2. Deny the Notifications permission. | ||
3. Verify the banner is shown on the Channel list screen saying `Notifications disabled` and a `Settings` button. | ||
4. Click on Settings button. | ||
5. Verify the Settings page is opened. There should be an alert tag saying `Permission required`. | ||
6. Click on Notifications option. | ||
7. Verify a banner is shown with message `Notifications are not enabled`. | ||
8. Verify a button with text `Enable notifications` is visible. | ||
9. Click on the Enable notifications button. | ||
10. Allow the Notifications. | ||
11. Receive a message from other user. | ||
12. Verify push notification are received on the mobile. |