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 no webhook added on the Github side and overwritten subscriptions on MM. #153

Open
wants to merge 2 commits 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,

  • Creating subscription to a repository or organization with no webhook added on the Github side for the repository or organization.
  • Overwriting the existing subscriptions in a channel or DM/GM on MM.

…tions on MM. (#28)

* [MM-57]: Added the test cases for no webhook and overwritten subscriptions on MM.

* [MM-57]: Fixed the comments by Aayush.

* [MM-57]: Fixed the comments by Raghav.
@arush-vashishtha
Copy link
Contributor Author

@DHaussermann @saturninoabril Can you please have a look at this?

@lindalumitchell lindalumitchell added the 2: QA Review Requires review by a QA tester label Apr 30, 2024
@DHaussermann DHaussermann self-requested a review May 6, 2024 18:42
@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.

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.

Thanks @arush-vashishtha, LGTM except for few suggestions.

@@ -0,0 +1,42 @@
---
# (Required) Ensure all values are filled up
name: "Overwrite the existing subscriptions to a github repo or organization in MM channel"
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
name: "Overwrite the existing subscriptions to a github repo or organization in MM channel"
name: "Overwrite the existing subscriptions to a GitHub repo or organization"

@@ -0,0 +1,42 @@
---
# (Required) Ensure all values are filled up
name: "An ephemeral post in the chat when the webhook is not found on the github side."
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
name: "An ephemeral post in the chat when the webhook is not found on the github side."
name: "An ephemeral message when no webhook found in GitHub"


**Expected**

The user will get an ephemeral message regarding `no webhook was found for the desired repository or organization` along with the successfull subscription message in the desired 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
The user will get an ephemeral message regarding `no webhook was found for the desired repository or organization` along with the successfull subscription message in the desired channel or DM/GM on MM.
The user will get an ephemeral message regarding `no webhook was found for the desired repository or organization` along with the successful subscription message in the desired channel or DM/GM on MM.

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