-
Notifications
You must be signed in to change notification settings - Fork 18
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
Added the test cases for the status filter in the subscriptions. #161
base: main
Are you sure you want to change the base?
Conversation
…ions. (#38) * [MM-112]: added the test cases for the status filter in the subscriptions. * Fixed the review fixes Co-authored-by: Raghav Aggarwal <[email protected]> --------- Co-authored-by: Raghav Aggarwal <[email protected]>
Thanks @arush-vashishtha this all looks accurate to me. Sorry for the delay on this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arush-vashishtha Thanks! Overall looks good except for few comments/typo correction. In addition, Please update the step/expected format to:
**Step 1**
<steps>
**Expected**
<expected>
...
**Step 8**
<steps>
**Expected**
<expected>
name: "Creating subscriptions for Jira with filter applied on Status field." | ||
status: Active | ||
priority: Normal | ||
folder: Jira-subscriptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should change to:
folder: Jira-subscriptions | |
folder: Jira subscriptions |
**Step 5** | ||
|
||
1. After step 4, edit the filter field and click on `Save Subscription` in the `Jira subscriptions` page on MM. | ||
2. Trigger the event for the desired subsciption and for the updated filter on Jira. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. Trigger the event for the desired subsciption and for the updated filter on Jira. | |
2. Trigger the event for the desired subscription and for the updated filter on Jira. |
|
||
The filter field should be visible to the user only after selecting the `Project` and the dropdown options should populate with the desired options in the Jira subscription page on MM. | ||
After step 2, the user should receive the notification for the subscribed event in the desired channel or DM/GM on MM. | ||
After step 3, the user should not receive the notification for the subscribed event with `Status Type` other than the desired `Status Type` in the desried channel or DM/GM on MM. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After step 3, the user should not receive the notification for the subscribed event with `Status Type` other than the desired `Status Type` in the desried channel or DM/GM on MM. | |
After step 3, the user should not receive the notification for the subscribed event with `Status Type` other than the desired `Status Type` in the desired channel or DM/GM on MM. |
After step 4, the field should be pre-filled for the desired subscription in the `Jira subscriptions` page on MM. | ||
After step 5, the user should be able to edit the desired subscription on MM. | ||
After step 6, the filter field should be visible to the user only after selecting the `Project` and the dropdown options should populate with the desired options in the `Jira subscription` page on MM. | ||
After step 7, the user should not receive the notification for the subscribed event with the desired `Status Type` in the desried channel or DM/GM on MM. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After step 7, the user should not receive the notification for the subscribed event with the desired `Status Type` in the desried channel or DM/GM on MM. | |
After step 7, the user should not receive the notification for the subscribed event with the desired `Status Type` in the desired channel or DM/GM on MM. |
After step 5, the user should be able to edit the desired subscription on MM. | ||
After step 6, the filter field should be visible to the user only after selecting the `Project` and the dropdown options should populate with the desired options in the `Jira subscription` page on MM. | ||
After step 7, the user should not receive the notification for the subscribed event with the desired `Status Type` in the desried channel or DM/GM on MM. | ||
After step 8, the user should receive the notification for the subscribed event with `Status Type` other than the desired `Status Type` in the desried channel or DM/GM on MM. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After step 8, the user should receive the notification for the subscribed event with `Status Type` other than the desired `Status Type` in the desried channel or DM/GM on MM. | |
After step 8, the user should receive the notification for the subscribed event with `Status Type` other than the desired `Status Type` in the desired channel or DM/GM on MM. |
|
||
**Step 1** | ||
|
||
1. Connect you MM account to your Jira account. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Connect you MM account to your Jira account. | |
1. Connect your MM account to your Jira account. |
|
||
**Step 6** | ||
|
||
1. Connect you MM account to your Jira account. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Connect you MM account to your Jira account. | |
1. Connect your MM account to your Jira account. |
Summary
This PR consists the test cases for the following scenarios,