From ae6c671d9009d8fa12ad9efebafbb7d5234d31c5 Mon Sep 17 00:00:00 2001 From: arush-vashishtha Date: Fri, 12 Jan 2024 13:44:30 +0530 Subject: [PATCH 1/3] [MM-129]: added the test cases for the pagination in project list. --- .../Pagination_for_project_list.md | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 data/test-cases/plugins/jira/jira-server/jira-subscriptions/Pagination_for_project_list.md diff --git a/data/test-cases/plugins/jira/jira-server/jira-subscriptions/Pagination_for_project_list.md b/data/test-cases/plugins/jira/jira-server/jira-subscriptions/Pagination_for_project_list.md new file mode 100644 index 000000000..b897a9af5 --- /dev/null +++ b/data/test-cases/plugins/jira/jira-server/jira-subscriptions/Pagination_for_project_list.md @@ -0,0 +1,60 @@ +--- +# (Required) Ensure all values are filled up +name: "The Projects list in the Jira subscription page should sustain the pagination for projects more than 50 in the list." +status: Active +priority: Normal +folder: Jira-subscriptions +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. Connect your MM account to your Jira account with more than 50 projects added. +2. Run the slash command `/jira subscribe edit` or `/jira subscribe` in any desired channel or DM/GM on MM. +3. Click on the `Create Subscription` button in the `Jira Subscriptions` page on MM. +4. Click on the `Project` dropdown list in the `Jira Subscriptions` page on MM and Scroll down the list. + +**Step 2** + +1. Connect your MM account to your Jira account with less than 50 projects added. +2. Run the slash command `/jira subscribe edit` or `/jira subscribe` in any desired channel or DM/GM on MM. +3. Click on the `Create Subscription` button in the `Jira Subscriptions` page on MM. +4. Click on the `Project` dropdown list in the `Jira Subscriptions` page on MM and Scroll down the list. + +**Step 3** + +1. Connect your MM account to your Jira account with more than 50 projects added. +2. Run the slash command `/jira subscribe edit` or `/jira subscribe` in any desired channel or DM/GM on MM. +3. Click on the `Create Subscription` button in the `Jira Subscriptions` page on MM. +4. Click on the `Project` dropdown list in the `Jira Subscriptions` page on MM and Scroll down the list. + +**Expected** + +The list should be able to properly fetch and display all the projects added to the Jira account on MM. +After step 2, The list should be able to properly fetch and display all the projects added to the Jira account on MM. +After step 3, The list should be able to properly fetch and display all the projects added to the Jira account on MM. \ No newline at end of file From 087e8fe7fbb9fc90a9108218597705840b50bc05 Mon Sep 17 00:00:00 2001 From: arush-vashishtha Date: Fri, 12 Jan 2024 14:00:47 +0530 Subject: [PATCH 2/3] [MM-129]: added the sorting case. --- .../jira-subscriptions/Pagination_for_project_list.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/test-cases/plugins/jira/jira-server/jira-subscriptions/Pagination_for_project_list.md b/data/test-cases/plugins/jira/jira-server/jira-subscriptions/Pagination_for_project_list.md index b897a9af5..66304ac70 100644 --- a/data/test-cases/plugins/jira/jira-server/jira-subscriptions/Pagination_for_project_list.md +++ b/data/test-cases/plugins/jira/jira-server/jira-subscriptions/Pagination_for_project_list.md @@ -48,7 +48,7 @@ steps_hashed: null **Step 3** -1. Connect your MM account to your Jira account with more than 50 projects added. +1. Connect your MM account to your Jira account. 2. Run the slash command `/jira subscribe edit` or `/jira subscribe` in any desired channel or DM/GM on MM. 3. Click on the `Create Subscription` button in the `Jira Subscriptions` page on MM. 4. Click on the `Project` dropdown list in the `Jira Subscriptions` page on MM and Scroll down the list. @@ -57,4 +57,4 @@ steps_hashed: null The list should be able to properly fetch and display all the projects added to the Jira account on MM. After step 2, The list should be able to properly fetch and display all the projects added to the Jira account on MM. -After step 3, The list should be able to properly fetch and display all the projects added to the Jira account on MM. \ No newline at end of file +After step 3, The list should be sorted in ascending order with respect to the projects added to the Jira account on MM. \ No newline at end of file From 66ce619d2bef0d1735d69143fe8ee0ba706274a3 Mon Sep 17 00:00:00 2001 From: arush-vashishtha Date: Fri, 19 Jan 2024 15:57:00 +0530 Subject: [PATCH 3/3] [MM-129]: edited the title. --- .../jira-subscriptions/Pagination_for_project_list.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/test-cases/plugins/jira/jira-server/jira-subscriptions/Pagination_for_project_list.md b/data/test-cases/plugins/jira/jira-server/jira-subscriptions/Pagination_for_project_list.md index 66304ac70..a210e3ed3 100644 --- a/data/test-cases/plugins/jira/jira-server/jira-subscriptions/Pagination_for_project_list.md +++ b/data/test-cases/plugins/jira/jira-server/jira-subscriptions/Pagination_for_project_list.md @@ -1,6 +1,6 @@ --- # (Required) Ensure all values are filled up -name: "The Projects list in the Jira subscription page should sustain the pagination for projects more than 50 in the list." +name: "The Projects list should sustain the pagination for all the projects in the list." status: Active priority: Normal folder: Jira-subscriptions