Skip to content

Commit

Permalink
[MI-3516]: Added test cases for critical PRs of Jira release 4.0.0 (#2)
Browse files Browse the repository at this point in the history
* [MI-3516]: Added the extra test cases in this PR

* [MI-3516]: Added an extra test cases in this PR

* [MI-3516]: Added an extra test cases in this PR

* [MI-3516]:Fixed review comments

* [MI-3516]:Fixed a review comments

* [MI-3516] Review fix

Co-authored-by: kshitij katiyar <[email protected]>

---------

Co-authored-by: kshitij katiyar <[email protected]>
  • Loading branch information
AayushChaudhary0001 and Kshitij-Katiyar authored Sep 18, 2023
1 parent 588ea71 commit ab15394
Show file tree
Hide file tree
Showing 6 changed files with 262 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# (Required) Ensure all values are filled up
name: "Disconnect API changed to POST method"
status: Active
priority: Medium
folder: Install and Uninstall
authors: "@AayushChaudhary0001"
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. Run the /jira connect command.
2. Click on the allow button.
3. Copy the link of disconnect button.
4. Paste it on the postman search bar through the GET method

**Expected**

The link should not be found working through the GET method.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# (Required) Ensure all values are filled up
name: "Disconnect API changed to POST method testing in browser"
status: Active
priority: Medium
folder: Install and Uninstall
authors: "@AayushChaudhary0001"
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. Run the /jira connect command.
2. Click on the allow button.
3. Copy the link of disconnect button.
4. Paste it on a new tab in the browser.

**Expected**

The link should not be found working on the browser as in browser it always works through GET method.


Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# (Required) Ensure all values are filled up
name: "OAuth setup for Jira plugin"
status: Active
priority: Medium
folder: Install and Uninstall
authors: "@AayushChaudhary0001"
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. Run the /jira connect command.
2. Run the /jira instance install cloud-oauth<cloud URL>
3. Complete the setup for the Cloud OAuth 2.0.

**Expected**

The user should be able to complete and install the Jira cloud instance.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# (Required) Ensure all values are filled up
name: "Comment notification for the user"
status: Active
priority: Medium
folder: Jira subscriptions
authors: "@AayushChaudhary0001"
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. Create a subscription on MM for desired project in Jira.
2. Go to the connected Jira instance.
3. Open the subscribed Jira board.
4. Perform any activity on the desired issue for which the subscription is already created.
5. Go back to the channel in MM.

**Expected**

The user should get the comment notification in the channel through the Jira bot.

Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# (Required) Ensure all values are filled up
name: "Mention comment notification in DM"
status: Active
priority: Medium
folder: Jira subscriptions
authors: "@AayushChaudhary0001"
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. Go to the connected Jira instance.
2. Open the desired ticket on Jira board.
3. Mention the desired user in the comments.
4. Go back to the connected MM server.

**Expected**

The user should get the comment notification in the DM through the Jira bot.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# (Required) Ensure all values are filled up
name: "Mention comment notification in DM if username contains @"
status: Active
priority: Medium
folder: Jira subscriptions
authors: "@AayushChaudhary0001"
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. Go to the connected Jira instance.
2. Open the desired ticket on Jira board.
3. Mention the desired user whose username contains ''@" in the comments.
4. Go back to the connected MM server.

**Expected**

The user should get the comment notification in the DM through the Jira bot.

0 comments on commit ab15394

Please sign in to comment.