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 extra check on API of TODO plugin #114

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
42 changes: 42 additions & 0 deletions data/test-cases/plugins/todo/API/Accept_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# (Required) Ensure all values are filled up
name: "Accept Todo"
status: Active
priority: Normal
folder: ToDo
Copy link
Collaborator

Choose a reason for hiding this comment

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

the folder name will be API.
Also, make the folder name in small case plugins/todo/api.

authors: "@AayushChaudhary0001"
team_ownership:
- Change Team Name
Copy link
Collaborator

Choose a reason for hiding this comment

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

@AayushChaudhary0001 , please add team name

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 an issue from any user's account and assign it to the other user.
2. Open the Todo RHS and click on "Add to my list" button, or open the Todo bot chat and click on "Add to my list" button in slack attachement.

**Expected**

The desired Todo should get accepted.
43 changes: 43 additions & 0 deletions data/test-cases/plugins/todo/API/Add_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# (Required) Ensure all values are filled up
name: "Add Todo"
status: Active
priority: Normal
folder: ToDo
authors: "@AayushChaudhary0001"
team_ownership:
- Change Team Name
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. Click on the Add isue button.
2. Fill all the mandatory fields.
3. Click on the save button.

**Expected**

The desired Todo should get created.
43 changes: 43 additions & 0 deletions data/test-cases/plugins/todo/API/Bump_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# (Required) Ensure all values are filled up
name: "Bump Todo"
status: Active
priority: Normal
folder: ToDo
authors: "@AayushChaudhary0001"
team_ownership:
- Change Team Name
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. Open the sent Todo list from the Todo plugin RHS.
2. Click on the options of any desired Todo.
3. Click on bumo button.

**Expected**

The assigned user should get a reminder notification for the task bumped.
42 changes: 42 additions & 0 deletions data/test-cases/plugins/todo/API/Complete_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# (Required) Ensure all values are filled up
name: "Complete Todo"
status: Active
priority: Normal
folder: ToDo
authors: "@AayushChaudhary0001"
team_ownership:
- Change Team Name
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. Open the RHS of Todo plugin.
2. Click on the checkbox of the desired Todo.

**Expected**

The ToDo comment should get completed and should not be visible in the Todo list afterwards.
43 changes: 43 additions & 0 deletions data/test-cases/plugins/todo/API/Delete_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# (Required) Ensure all values are filled up
name: "Delete Todo"
status: Active
priority: Normal
folder: ToDo
authors: "@AayushChaudhary0001"
team_ownership:
- Change Team Name
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. Open the Todo plugin RHS.
2. Open the menu options of the desired todo issue.
3. Click on delete Todo option.

**Expected**

The desired ToDo should get deleted.
45 changes: 45 additions & 0 deletions data/test-cases/plugins/todo/API/Edit issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# (Required) Ensure all values are filled up
name: "Edit Todo"
status: Active
priority: Normal
folder: ToDo
authors: "@AayushChaudhary0001"
team_ownership:
- Change Team Name
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. Open the RHS of the Todo plugin.
2. Open on the menu options of the desired Todo issue.
3. Click on edit issue.
4. Fill the required fields and click on save button.


**Expected**

The desired Todo should get edited.
41 changes: 41 additions & 0 deletions data/test-cases/plugins/todo/API/Get_issue_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# (Required) Ensure all values are filled up
name: "Get Todo list"
status: Active
priority: Normal
folder: ToDo
authors: "@AayushChaudhary0001"
team_ownership:
- Change Team Name
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 `/todo list` command.

**Expected**

The Todo list should be presented to the user.
Loading