-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MI-3653]: Test cases of message sync of MS Teams (#7)
* [MI-3653]: Test cases of message sync in MS Teams * [MI-3653]: Added the test cases for message sync * [MI-3653]: Fixed the review comments * [MI-3653]: Removed the extra files of slash commands * [MI-3653]: Fixed the folders in the test cases * [MI-3653]: Added the test case of order of posts * [MI-3653]: Added the correct name of the plugin as review fixes * [MI-3653]: Fixed the folder name of the plugin
- Loading branch information
1 parent
ad7db5a
commit 386e20f
Showing
5 changed files
with
221 additions
and
0 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
data/test-cases/plugins/ms-teams-sync/message-sync/MM_to_Teams.md
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,42 @@ | ||
--- | ||
# (Required) Ensure all values are filled up | ||
name: "Message sync from MM to MS Teams" | ||
status: Active | ||
priority: Normal | ||
folder: Message sync | ||
authors: "@AayushChaudhary0001" | ||
team_ownership: | ||
- Change Team Name | ||
priority_p1_to_p4: P2 - Core Functions (Do core functions work?) | ||
|
||
# (Optional) | ||
location: null | ||
component: null | ||
tags: [] | ||
labels: [] | ||
tested_by_contributor: null | ||
|
||
# (Optional) Test type and tools | ||
cypress: null | ||
detox: null | ||
mmctl: null | ||
playwright: null | ||
rainforest: [] | ||
manual_test_environments: [] | ||
|
||
# Do not change | ||
id: null | ||
key: null | ||
created_on: null | ||
last_updated: null | ||
case_hashed: null | ||
steps_hashed: null | ||
--- | ||
|
||
**Step 1** | ||
|
||
1. Enter any text message, emoji, GIF, link, image, etc. in any already linked channel or in any DM/GM in MM. | ||
|
||
**Expected** | ||
|
||
The same message posted on MM should be visible on the linked channel in MS Teams or DM/GM. |
48 changes: 48 additions & 0 deletions
48
data/test-cases/plugins/ms-teams-sync/message-sync/Message_deleted.md
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,48 @@ | ||
--- | ||
# (Required) Ensure all values are filled up | ||
name: "Message deleted from MS MS Teams to MM" | ||
status: Active | ||
priority: Normal | ||
folder: Message sync | ||
authors: "@AayushChaudhary0001" | ||
team_ownership: | ||
- Change Team Name | ||
priority_p1_to_p4: P2 - Core Functions (Do core functions work?) | ||
|
||
# (Optional) | ||
location: null | ||
component: null | ||
tags: [] | ||
labels: [] | ||
tested_by_contributor: null | ||
|
||
# (Optional) Test type and tools | ||
cypress: null | ||
detox: null | ||
mmctl: null | ||
playwright: null | ||
rainforest: [] | ||
manual_test_environments: [] | ||
|
||
# Do not change | ||
id: null | ||
key: null | ||
created_on: null | ||
last_updated: null | ||
case_hashed: null | ||
steps_hashed: null | ||
--- | ||
|
||
**Step 1** | ||
|
||
1. Delete the desired message from the linked channel or DM/GM in MS Teams. | ||
2. Go back to the linked channel or DM/GM in MM. | ||
|
||
**Step 2** | ||
|
||
1. After completing step 1, click on the undo option in MS Teams presented to the user. | ||
2. Go back to the linked channel or DM/GM in MM and refresh the page. | ||
|
||
**Expected** | ||
|
||
The same message should also be deleted from the linked channel on MM. After step 2, the message should reappear to the user in the linked channel in MM. |
47 changes: 47 additions & 0 deletions
47
data/test-cases/plugins/ms-teams-sync/message-sync/Non-connected_user.md
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,47 @@ | ||
--- | ||
# (Required) Ensure all values are filled up | ||
name: "Message from non-connected user" | ||
status: Active | ||
priority: Normal | ||
folder: Message sync | ||
authors: "@AayushChaudhary0001" | ||
team_ownership: | ||
- Change Team Name | ||
priority_p1_to_p4: P2 - Core Functions (Do core functions work?) | ||
|
||
# (Optional) | ||
location: null | ||
component: null | ||
tags: [] | ||
labels: [] | ||
tested_by_contributor: null | ||
|
||
# (Optional) Test type and tools | ||
cypress: null | ||
detox: null | ||
mmctl: null | ||
playwright: null | ||
rainforest: [] | ||
manual_test_environments: [] | ||
|
||
# Do not change | ||
id: null | ||
key: null | ||
created_on: null | ||
last_updated: null | ||
case_hashed: null | ||
steps_hashed: null | ||
--- | ||
|
||
**Step 1** | ||
|
||
1. Enter the desired message a already linked MM channel from a non-connected account. | ||
|
||
**Step 2** | ||
|
||
1. Connect the bot-account. | ||
2. Enter the desired message a already linked MM channel by the account which is not already connected. | ||
|
||
**Expected** | ||
|
||
The message should not be reflected on the linked MS Teams channel. After step 2, the message should be reflected by the bot account with the original user's name in the message in the linked channel in MS Teams. |
42 changes: 42 additions & 0 deletions
42
data/test-cases/plugins/ms-teams-sync/message-sync/Order_of_posts.md
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,42 @@ | ||
--- | ||
# (Required) Ensure all values are filled up | ||
name: "Order of posts from MS Teams to MM" | ||
status: Active | ||
priority: Normal | ||
folder: Message sync | ||
authors: "@AayushChaudhary0001" | ||
team_ownership: | ||
- Change Team Name | ||
priority_p1_to_p4: P2 - Core Functions (Do core functions work?) | ||
|
||
# (Optional) | ||
location: null | ||
component: null | ||
tags: [] | ||
labels: [] | ||
tested_by_contributor: null | ||
|
||
# (Optional) Test type and tools | ||
cypress: null | ||
detox: null | ||
mmctl: null | ||
playwright: null | ||
rainforest: [] | ||
manual_test_environments: [] | ||
|
||
# Do not change | ||
id: null | ||
key: null | ||
created_on: null | ||
last_updated: null | ||
case_hashed: null | ||
steps_hashed: null | ||
--- | ||
|
||
**Step 1** | ||
|
||
1. Enter multiple messages in the linked channel or in DM/GM in MS Teams. | ||
|
||
**Expected** | ||
|
||
The messages should be delivered on MM in the same order as they were sent on MS Teams. |
42 changes: 42 additions & 0 deletions
42
data/test-cases/plugins/ms-teams-sync/message-sync/Teams_to_MM.md
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,42 @@ | ||
--- | ||
# (Required) Ensure all values are filled up | ||
name: "Message sync from MS Teams to MM" | ||
status: Active | ||
priority: Normal | ||
folder: Message sync | ||
authors: "@AayushChaudhary0001" | ||
team_ownership: | ||
- Change Team Name | ||
priority_p1_to_p4: P2 - Core Functions (Do core functions work?) | ||
|
||
# (Optional) | ||
location: null | ||
component: null | ||
tags: [] | ||
labels: [] | ||
tested_by_contributor: null | ||
|
||
# (Optional) Test type and tools | ||
cypress: null | ||
detox: null | ||
mmctl: null | ||
playwright: null | ||
rainforest: [] | ||
manual_test_environments: [] | ||
|
||
# Do not change | ||
id: null | ||
key: null | ||
created_on: null | ||
last_updated: null | ||
case_hashed: null | ||
steps_hashed: null | ||
--- | ||
|
||
**Step 1** | ||
|
||
1. Enter any text message, emoji, GIF, link, image, etc. a already linked channel or in any DM/GM in MS Teams. | ||
|
||
**Expected** | ||
|
||
The same message posted on MS Teams should be visible in the linked channel in MM or DM/GM. |