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

Added the test cases for the status filter in the subscriptions. #161

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arush-vashishtha
Copy link
Contributor

Summary

This PR consists the test cases for the following scenarios,

  • Subscriptions with filter to included status type.
  • Subscriptions with filter to excluded status type.
  • Editing subscription with added filter.

…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]>
@lindalumitchell lindalumitchell requested review from lindalumitchell and removed request for lindalumitchell February 15, 2024 04:33
@lindalumitchell lindalumitchell added the 2: QA Review Requires review by a QA tester label Apr 30, 2024
@DHaussermann DHaussermann self-requested a review May 3, 2024 16:30
@DHaussermann
Copy link
Contributor

Thanks @arush-vashishtha this all looks accurate to me.
The script is fine. I will approve for merge once I confirm if we need any further validation of the Zephyr test data.

Sorry for the delay on this.

Copy link
Member

@saturninoabril saturninoabril left a 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should change to:

Suggested change
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. Connect you MM account to your Jira account.
1. Connect your MM account to your Jira account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2: QA Review Requires review by a QA tester
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants