Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MM-130]: Added the test cases for the mentions and labels/ milestones displayed in RHS. #40

Open
wants to merge 2 commits into
base: notification_and_labels/milestones
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
# (Required) Ensure all values are filled up
name: "Getting DM notifications on MM for mentioning and assigning the user on Github."
status: Active
priority: Normal
folder: Notifications
authors: "@arush-vashishtha"
team_ownership: []
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. Connect your MM account to your Github account and create a weebhook to a desired repository/organization on MM.
2. Mention the connected user in the `Pull Request` of the desired repository on `Github` from an different account.
3. Navigate to the DM chat of Github on MM.

**Step 2**

1. Connect your MM account to your Github account and create a weebhook to a desired repository/organization on MM.
2. Mention the connected user in the `Issues` of the desired repository on `Github` from an different account.
3. Navigate to the DM chat of Github on MM.

**Step 3**

1. Connect your MM account to your Github account and create a weebhook to a desired repository/organization on MM.
2. Assign any desired `Pull Request` to the connected user from a different user.
3. Navigate to the DM chat of Github on MM.

**Step 4**

1. Connect your MM account to your Github account and create a weebhook to a desired repository/organization on MM.
2. Assign any desired `Issue` to the connected user from a different user.
3. Navigate to the DM chat of Github on MM.

**Expected**

The user should get the notification on MM regarding the mention in the `Pull Request` in the desired repository on Github.
After step 2, the user should get the notification on MM regarding the mention in the `Issue` in the desired repository on Github.
After step 3, the user should get the notification on MM regarding the assignment of the `Pull Request` in the desired repository on Github.
After Step 4, the user should get the notification on MM regarding the assignment of the `Issue` in the desired repository on Github.
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
# (Required) Ensure all values are filled up
name: "Added Labels/Milestones on the PRs/issues are displayed with proper UI on MM"
status: Active
priority: Normal
folder: Notifications
authors: "@arush-vashishtha"
team_ownership: []
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. Connect your MM account to your Github account.
2. Create and add `Labels` on a PR/issue in any desired repository on Github.
3. Navigate to MM and open the RHS for the `Pull Request` or `Issues` respectively on MM.

**Step 2**

1. Connect your MM account to your Github account.
2. Create and add `Milestones` on a PR/issue in any desired repository on Github.
3. Navigate to MM and open the RHS for the `Pull Request` or `Issues` respectively on MM.

**Step 3**

1. After step 1, Navigate to Github and update the added `Labels` on the desired PR/issue in the desried repository.
2. Navigate to MM and open the RHS for the `Pull Request` or `Issues` respectively on MM.


**Step 4**

1. After step 2, Navigate to Github and update the added `Milestones` on the desired PR/issue in the desried repository.
2. Navigate to MM and open the RHS for the `Pull Request` or `Issues` respectively on MM.

**Expected**

The user should be able verify all the added `Labels` on the desired open `Pull Request` or `Issue` with proper UI of the contents of the PR or issue in the RHS of Github on MM.
After step 2, The user should be able verify all the added `Milestones` on the desired open `Pull Request` or `Issue` with proper UI of the contents of the PR or issues in the RHS of Github on MM.
After step 3, the user should be able to verify the updated `Labels` on the PR or issue in the RHS of Github on MM.
After step 4, the user should be able to verify the updated `Milestones` on the PR or issues in the RHS og Github on MM.