diff --git a/data/test-cases/plugins/github/notifications/Mentions_and_Assigns_notifications.md b/data/test-cases/plugins/github/notifications/Mentions_and_Assigns_notifications.md new file mode 100644 index 000000000..64a13c28f --- /dev/null +++ b/data/test-cases/plugins/github/notifications/Mentions_and_Assigns_notifications.md @@ -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. \ No newline at end of file diff --git a/data/test-cases/plugins/github/sidebar-and-rhs/Labels_milestones_in_RHS.md b/data/test-cases/plugins/github/sidebar-and-rhs/Labels_milestones_in_RHS.md new file mode 100644 index 000000000..934f90ca2 --- /dev/null +++ b/data/test-cases/plugins/github/sidebar-and-rhs/Labels_milestones_in_RHS.md @@ -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. \ No newline at end of file