Skip to content

Commit

Permalink
desktop notification test case
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserfaraazkhan committed Oct 20, 2023
1 parent fc37602 commit a3837c1
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 4 deletions.
3 changes: 2 additions & 1 deletion data/key-and-path.json
Original file line number Diff line number Diff line change
Expand Up @@ -6065,5 +6065,6 @@
{ "key": "MM-T5454", "path": "plugins/gitlab/slash-commands-and-setup", "id": 103256601 },
{ "key": "MM-T5455", "path": "plugins/jira/jira-server/general-slash-commands", "id": 104976805 },
{ "key": "MM-T5456", "path": "plugins/jira/jira-server/general-slash-commands", "id": 104976806 },
{ "key": "MM-T5457", "path": "plugins/jira/jira-server/jira-subscriptions", "id": 104976810 }
{ "key": "MM-T5457", "path": "plugins/jira/jira-server/jira-subscriptions", "id": 104976810 },
{ "key": "MM-T5458", "path": "channels/settings", "id": 105205910 }
]
1 change: 1 addition & 0 deletions data/test-by-folder.json
Original file line number Diff line number Diff line change
Expand Up @@ -1699,6 +1699,7 @@
"Custom Theme - Sidebar Styles",
"Deprecate? Changes to Settings are not saved when user does not click on Save button",
"Display: Click to open threads",
"Notification sound modal selection should reset when settings canceled",
"Settings Display Theme - Settings View"
]
},
Expand Down
6 changes: 5 additions & 1 deletion data/test-cases-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5319,7 +5319,11 @@
"name": "Settings Display Theme - Settings View",
"file": "channels/settings/MM-T3855.md"
},
{ "name": "Display: Click to open threads", "file": "channels/settings/MM-T4379.md" }
{ "name": "Display: Click to open threads", "file": "channels/settings/MM-T4379.md" },
{
"name": "Notification sound modal selection should reset when settings canceled",
"file": "channels/settings/MM-T5458.md"
}
]
},
{
Expand Down
1 change: 1 addition & 0 deletions data/test-cases-slugs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1454,6 +1454,7 @@
"channels/settings/mm-t3853",
"channels/settings/mm-t3855",
"channels/settings/mm-t4379",
"channels/settings/mm-t5458",
"channels/sidebar/mm-t3412",
"channels/sidebar/mm-t5311",
"channels/sidebar/mm-t5312",
Expand Down
4 changes: 4 additions & 0 deletions data/test-cases-toc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12593,6 +12593,10 @@
"name": "Deprecate? Changes to Settings are not saved when user does not click on Save button",
"slug": "channels/settings/mm-t305"
},
"channels/settings/mm-t5458": {
"name": "Notification sound modal selection should reset when settings canceled",
"slug": "channels/settings/mm-t5458"
},
"channels/settings/mm-t4379": {
"name": "Display: Click to open threads",
"slug": "channels/settings/mm-t4379"
Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/custom-emoji/MM-T2184.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ manual_test_environments: []
id: 5444784
key: MM-T2184
created_on: "2020-05-20T06:05:09Z"
last_updated: "2023-10-19T15:49:16Z"
case_hashed: f3e36b48f080ac9a481db5ad14faa2995d3a8fe6a167ca6fafa5c0e5effd230ff32b012958d2727a2feee57933250196
last_updated: "2023-10-19T07:50:09Z"
case_hashed: 7980546c6c854cdfe8c7606f3e4ef4af13e4b1eaf7b7b9756af3e446e385e5a632d48fb2bc543b042d435e6effba9c06
steps_hashed: 87c95e320aad7a8f7b3cbcf18c87f3ecc70c95367d48357b43fe1e8a734bf9e4fbff8d7d655ca811d8b9a24476ba7784
---

Expand Down
65 changes: 65 additions & 0 deletions data/test-cases/channels/settings/MM-T5458.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
# (Required) Ensure all values are filled up
name: "Notification sound modal selection should reset when settings canceled"
status: Active
priority: Normal
folder: Settings
authors: "@yasserfaraazkhan"
team_ownership:
- ICU
priority_p1_to_p4: P2 - Core Functions (Do core functions work?)

# (Optional)
location: null
component: null
tags: []
labels: []
tested_by_contributor: ""

# (Optional) Test type and tools
cypress: null
detox: null
mmctl: null
playwright: null
rainforest: []
manual_test_environments: []

# Do not change
id: 105205910
key: MM-T5458
created_on: "2023-10-20T11:16:41Z"
last_updated: "2023-10-20T16:46:40Z"
case_hashed: 153b619264d73ddffc174acbc211bedd6b9b10a3f578b769960c52c98ee2a824169d2c783ac39c849577fb44418b19dc
steps_hashed: 9b661da10eba6f90f9c93bb6095d9a92d754e051edf0f0fcc78e2a50210f9146f28eaf6b4c67a73777d28f77bea2e48f
---

<!-- (Auto-generated) Based on frontmatter's "key" and "name" -->

## MM-T5458: Notification sound modal selection should reset when settings canceled

---

**Step 1**

prerequisite:

1. In System Console > Calls , set `Enable call ringing (Beta)` to true

Steps:

1. Login to mattermost.
2. Open the Settings and Click on `Edit` button of Desktop Notifications .
3. Scroll to `Notification sound` and change the Sound to `Down`.
4. Cancel the settings.
5. Verify the `Desktop Notification` edit mode is closed.
6. Click on Desktop Notifications setting `Edit` button.
7. Verify the Notification sound value is not `Down`.

Notification sound for incoming calls

1. Open the Settings and Click on `Edit` button of Desktop Notifications .
2. Scroll to `Notification sound for incoming calls` and change the Sound to `Cheerful`.
3. Cancel the settings.
4. Verify the `Desktop Notification` edit mode is closed.
5. Click on Desktop Notifications setting `Edit` button.
6. Verify the Notification sound for incoming calls value is not `Cheerful`.

0 comments on commit a3837c1

Please sign in to comment.