-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MI-3516]: Added test cases for critical PRs of Jira release 4.0.0 (#2)
* [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
1 parent
588ea71
commit ab15394
Showing
6 changed files
with
262 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
...est-cases/plugins/jira/jira-server/install-and-uninstall/Disconnect_POST_API.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
45 changes: 45 additions & 0 deletions
45
...t-cases/plugins/jira/jira-server/install-and-uninstall/Disconnect_POST_API_2.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
||
|
42 changes: 42 additions & 0 deletions
42
data/test-cases/plugins/jira/jira-server/install-and-uninstall/OAuth_Setup.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
45 changes: 45 additions & 0 deletions
45
.../test-cases/plugins/jira/jira-server/jira-subscriptions/Comment_Notification.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
43 changes: 43 additions & 0 deletions
43
...st-cases/plugins/jira/jira-server/jira-subscriptions/DM_Comment_notification.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
44 changes: 44 additions & 0 deletions
44
...-cases/plugins/jira/jira-server/jira-subscriptions/DM_Comment_notification_2.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|