Skip to content

Commit

Permalink
[MI-3653]: Test cases of message sync of MS Teams (#7)
Browse files Browse the repository at this point in the history
* [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
AayushChaudhary0001 authored Nov 20, 2023
1 parent ad7db5a commit 386e20f
Show file tree
Hide file tree
Showing 5 changed files with 221 additions and 0 deletions.
42 changes: 42 additions & 0 deletions data/test-cases/plugins/ms-teams-sync/message-sync/MM_to_Teams.md
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.
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.
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.
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 data/test-cases/plugins/ms-teams-sync/message-sync/Teams_to_MM.md
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.

0 comments on commit 386e20f

Please sign in to comment.