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

[MM-34]: Added the test cases for adding assignee in issue on jira through slash command on MM. #25

Merged
merged 4 commits into from
Jan 3, 2024
Merged
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,60 @@
---
# (Required) Ensure all values are filled up
name: "Assignee a user to a jira issue through slash command."
arush-vashishtha marked this conversation as resolved.
Show resolved Hide resolved
status: Active
priority: Normal
folder: Jira-assign
authors: "@arush-vashishtha"
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. Add a issue key in the following slash command `/jira assign [issue key] [assignee]` in the channel on MM.
arush-vashishtha marked this conversation as resolved.
Show resolved Hide resolved
2. Add the MM user name in the [assignee] in above command followed by a `@` when the user's MM account is connected to jira account.
arush-vashishtha marked this conversation as resolved.
Show resolved Hide resolved
arush-vashishtha marked this conversation as resolved.
Show resolved Hide resolved

**Step 2**

1. Add a issue key in the following slash command `/jira assign [issue key] [assignee]` in the channel on MM.
arush-vashishtha marked this conversation as resolved.
Show resolved Hide resolved
2. Add the MM user name in the [assignee] in above command not followed by a `@` when the user's MM account is connected or disconnected to jira account.

**Step 3**

1. Add a issue key in the following slash command `/jira assign [issue key] [assignee]` in the channel on MM.
2. Add the MM user name in the [assignee] in above command when the user's MM account is disconnected to jira account.

Choose a reason for hiding this comment

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

Is this only specific for disconnected user, whether we start with '@' or without it?

Copy link
Author

Choose a reason for hiding this comment

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

yes in both the cases it'll show the error, although the error are different. so should i update the test cases? for the different errors.


**Step 4**

1. Add a issue key in the following slash command `/jira assign [issue key] [assignee]` in the channel on MM.
2. Add the jira user name in the [assignee] in above command not followed by a `@` when the user's MM account is connected or disconnected to their jira account.

**Expected**

The user should get suggestions while entering MM user name and the assginee should get added to the issue on Jira.
After step 2, the user should not get any suggestion while entering MM user name and they should receive the error message that no assignee found for MM user name.
After step 3, the user with MM user name should not get assigned to the issue on jira.
After step 4, the user with jira user name should get assigned to the issue on jira.