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 test cases for critical PRs of Jira release 4.0.0 #112

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
# (Required) Ensure all values are filled up
saturninoabril marked this conversation as resolved.
Show resolved Hide resolved
name: "Disconnect API changed to POST method"
saturninoabril marked this conversation as resolved.
Show resolved Hide resolved
status: Active
priority: Normal
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.

**Step 2**

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 through the GET method. Also, according to step 2, the link should not be found working on the browser as in browser it always works through GET method.
AayushChaudhary0001 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
# (Required) Ensure all values are filled up
name: "OAuth setup for Jira plugin"
status: Active
priority: Normal
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_jira_URL>`
3. Complete the setup for the Cloud OAuth 2.0.
AayushChaudhary0001 marked this conversation as resolved.
Show resolved Hide resolved

**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,46 @@
---
# (Required) Ensure all values are filled up
name: "Comment notification for the user"
status: Active
priority: Normal
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.
AayushChaudhary0001 marked this conversation as resolved.
Show resolved Hide resolved
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,45 @@
---
# (Required) Ensure all values are filled up
name: "Mention comment notification in DM"
status: Active
priority: Normal
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.
Copy link
Contributor

Choose a reason for hiding this comment

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

On this point, to prevent a false positive I would add a step that says "Ensure the test user desired user is not the assignee on the ticket"

Assignee get DMs for any comment so we should ensure the user is explicitly not seeing this DM.

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. Also, according to step 2,
AayushChaudhary0001 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
# (Required) Ensure all values are filled up
name: "Mention comment notification in DM if username contains @"
status: Active
priority:
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.
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above ☝️

3. Mention the desired user whose username contains ''@" in the comments.
AayushChaudhary0001 marked this conversation as resolved.
Show resolved Hide resolved
4. Go back to the connected MM server.

**Expected**

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