From 5e3ca82c6ebd25dcf7beea7c3418dcded48a8b1d Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Wed, 20 Sep 2023 09:30:54 +0800 Subject: [PATCH 1/5] update readme --- README.md | 40 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ab470fa13..02533b299 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,11 @@ This project was created to increase the quality of Mattermost products by having highly effective, well-thought and well-maintained living test cases through high collaboration and based on industry-accepted best practices. ## Contributing -[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/mattermost/mattermost-test-management) - -As the [QA Core Team](https://github.com/orgs/mattermost/teams/qa-core-team) is still actively developing this project, it is not yet ready for community contribution. However, feel free to file an issue if you find anything that needs our attention. We will update this section and will announce it in our channels once we are all set to accept contributions. Keep on watching! +1. Create or update test cases. +2. Mark test cases as tested by you. +3. Enhance GitHub and Zephyr Scale integration. +4. Improve the web application for test cases. +4. Assist with the Open Test Initiative. ## Project status and Roadmap This project is actively maintained and owned by the [QA Core Team](https://github.com/orgs/mattermost/teams/qa-core-team). @@ -27,7 +29,24 @@ If you're interested in shaping this project, please reach out to our [community ## Getting started There are three ways to get started in contributing to this project. -1. It is highly recommended to [![open in Gitpod](https://img.shields.io/badge/open%20in-Gitpod-908a85?logo=gitpod)](https://gitpod.io/#https://github.com/mattermost/mattermost-test-management), for it provides a fully initialized and readily available environment. +1. It is highly recommended to [![open in Gitpod](https://img.shields.io/badge/open%20in-Gitpod-908a85?logo=gitpod)](https://gitpod.io/#https://github.com/mattermost/mattermost-test-management) for it provides a fully initialized and readily available environment. After opening it, make and submit changes using your forked repository like this: + ```bash + # Add your forked repository as remote + git remote add fork https://github.com//mattermost-test-management.git + + # Create branch + git checkout -b + + # Once ready, push the current branch to your fork + git push fork + + # Finally, create a PR directly from GitHub + ``` + > *Note*: In Gitpod, if you forget to do the above, pushing a change or branch to the origin will result in a permission error, like this one: + ```bash + remote: Permission to mattermost/mattermost-test-management.git denied to . + fatal: unable to access 'https://github.com/mattermost/mattermost-test-management.git/': The requested URL returned error: 403 + ``` 2. You can also work on your local machine by checking out this repo. Make sure you have [Deno](https://deno.land/) installed on your machine to run scripts in the /src folder. See the [Deno installation docs](https://deno.land/#installation) for more information. 3. If you're contributing test cases only where they are written in Markdown files, you may do so directly via this GitHub repo. See the GitHub docs on [creating new files and submitting pull requests](https://docs.github.com/en/repositories/working-with-files/managing-files/creating-new-files). @@ -61,6 +80,19 @@ There are three ways to get started in contributing to this project. 6. Create a branch and submit changes as a pull request(s). > *Note*: It's highly recommended to follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) for the `title` of the pull request. +### Getting started - marking tests as tested by you as a contributor: +1. Find test cases at `/data/test-cases`. +2. Update a test case by adding your GitHub handle and the date (mm-dd-yyyy) when you tested it: + ```diff + - tested_by_contributor: null + + tested_by_contributor: @qa_contributor|08-20-2023 + ``` + - or use commas for multiple testing contributions. + ```diff + - tested_by_contributor: @qa_contributor|08-20-2023 + + tested_by_contributor: @qa_contributor|08-20-2023,@qa_contributor|10-15-2023 + ``` + ### Getting started - working with integrations 1. Checkout this repo and make sure that `Deno` is installed on your local machine or [![open in Gitpod](https://img.shields.io/badge/open%20in-Gitpod-908a85?logo=gitpod)](https://gitpod.io/#https://github.com/mattermost/mattermost-test-management). 2. Scripts can be found in the `/src` folder and are all written in Typescript. From c8860e375ea99d9148e0185681b9190513585da9 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Wed, 20 Sep 2023 09:31:15 +0800 Subject: [PATCH 2/5] update gitpod --- .gitpod.Dockerfile | 1 + .gitpod.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 9ec6e8c9a..e4113e0c8 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -5,3 +5,4 @@ USER gitpod # install deno RUN curl -fsSL https://deno.land/x/install/install.sh | sh RUN /home/gitpod/.deno/bin/deno completions bash > /home/gitpod/.bashrc.d/90-deno && echo 'export DENO_INSTALL="/home/gitpod/.deno"' >> /home/gitpod/.bashrc.d/90-deno && echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /home/gitpod/.bashrc.d/90-deno +RUN deno upgrade diff --git a/.gitpod.yml b/.gitpod.yml index a5e73b2f9..223fe1c66 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -20,7 +20,7 @@ tasks: deno task validate-all - name: Run Silver Bullet init: | - deno task silverbullet + echo "To run silverbullet, run 'deno task silverbullet'" github: prebuilds: From a110801966d0c2ffb470e4f762d9ab8a68315bb1 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Wed, 20 Sep 2023 09:31:25 +0800 Subject: [PATCH 3/5] update silverbullet --- .gitignore | 3 +++ data/Cypress status.md | 50 ------------------------------------------ data/Test Cases.md | 12 +--------- 3 files changed, 4 insertions(+), 61 deletions(-) diff --git a/.gitignore b/.gitignore index e2f871b05..e92f34418 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,6 @@ www/_fresh # Silver Bullet data/data.db* data/_plug +data/.silverbullet.db* +data/Cypress*status.md +data/Test*Cases.md diff --git a/data/Cypress status.md b/data/Cypress status.md index 0d732b4f4..7253ae4e6 100644 --- a/data/Cypress status.md +++ b/data/Cypress status.md @@ -1,54 +1,4 @@ ## Evaluating -* [[test-cases/channels/files-and-attachments/MM-T335]] Drag and Drop - Upload file center, upload file RHS (Cypress state: _Evaluating_) -* [[test-cases/channels/keyboard-shortcuts/MM-T1256]] CTRL/CMD+UP; CTRL/CMD+DOWN (Cypress state: _Evaluating_) -* [[test-cases/channels/keyboard-shortcuts/MM-T1262]] UP - Switch channel, UP doesn't edit previous channel's post (Cypress state: _Evaluating_) -* [[test-cases/channels/keyboard-shortcuts/MM-T1263]] UP - Post, switch channel, UP doesn't edit previous channel's post (Cypress state: _Evaluating_) -* [[test-cases/channels/settings/display/MM-T2099]] Display: Link Previews Collapsed setting defaults link preview post to collapsed (Cypress state: _Evaluating_) -* [[test-cases/channels/settings/display/MM-T2100]] Display: Link Previews Expanded setting defaults link preview post to expanded (Cypress state: _Evaluating_) -* [[test-cases/channels/settings/display/MM-T2101]] Display: Link preview should display in center and reply RHS (Cypress state: _Evaluating_) -* [[test-cases/plugins/nps-plugin/MM-T2352]] End user: Only send survey if: NPS plugin is enabled on the server (Cypress state: _Evaluating_) -* [[test-cases/plugins/nps-plugin/MM-T2353]] End user: Only send survey if: Account creation was ≥ 21 days ago (Cypress state: _Evaluating_) -* [[test-cases/plugins/nps-plugin/MM-T2354]] End user completes and sends survey (Cypress state: _Evaluating_) -* [[test-cases/plugins/nps-plugin/MM-T2355]] End user sends message in Surveybot DM (Cypress state: _Evaluating_) -* [[test-cases/plugins/nps-plugin/MM-T2356]] End user cancels out of confirmation modal (Cypress state: _Evaluating_) -* [[test-cases/plugins/nps-plugin/MM-T2358]] End user and system admin are not on same team on server (Cypress state: _Evaluating_) -* [[test-cases/plugins/nps-plugin/MM-T2360]] Verify that users can change the submitted NPS score (Cypress state: _Evaluating_) -* [[test-cases/plugins/nps-plugin/MM-T2361]] Appropriate score post renders at different browser widths (Cypress state: _Evaluating_) -* [[test-cases/plugins/nps-plugin/MM-T2362]] Link in admin notifications opens NPS plugin config page (Cypress state: _Evaluating_) -* [[test-cases/plugins/nps-plugin/MM-T2364]] No error after logging out (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2392]] Plugins - Disabled (with plugin uploads enabled in config.json) (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2393]] Plugins - Disabled (with plugin uploads disabled in config.json) (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2394]] Plugins - Enabled (with plugin uploads disabled in config.json) (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2395]] Plugins - Enabled (with plugin uploads enabled in config.json) - JIRA (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2396]] Plugins - Enabled (with plugin uploads enabled in config.json) - Zoom (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2397]] Plugins - Upload and enable Giphy plugin, original version (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2398]] Plugins - Overwrite Giphy plugin with updated version (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2399]] Plugins - Overwrite Giphy plugin again, with original version (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2401]] Uploading the same plugin twice prompts to overwrite (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2427]] Plugins Management - Disable (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2430]] Plugins - boolean value (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2432]] Plugins Management - No 'Remove' option for pre-packaged plugins (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2434]] Hide ProfilePopover through to plugin components (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2435]] Plugins Management - Markdown in helper text and link opens as expected on the System Console (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2436]] Uploaded plugins are sorted alphabetically (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2437]] ?? Should this be something about walltime instead of markdown preview? Markdown preview is working as expected (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2438]] Zoom plugin can start meetings (test on community-release.mattermost.com) (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2439]] Zoom icon and surrounding elements display as expected in mobile/tablet view (Cypress state: _Evaluating_) -* [[test-cases/plugins/MM-T2440]] Navigating to (or refreshing) a plugin config page on system console for a deleted plugin returns a `Not Found` error (Cypress state: _Evaluating_) -* [[test-cases/plugins/jira-v2/miscellaneous/server/MM-T2467]] - Install Jira instance on MM Server (Cypress state: _Evaluating_) -* [[test-cases/plugins/jira-v2/miscellaneous/server/MM-T2468]] - Test /jira connect (Cypress state: _Evaluating_) -* [[test-cases/plugins/jira-v2/miscellaneous/server/MM-T2470]] - Menu Items remain visible in new session (Cypress state: _Evaluating_) -* [[test-cases/plugins/jira-v2/miscellaneous/server/MM-T2471]] - Uninstall Jira (Cypress state: _Evaluating_) -* [[test-cases/plugins/jira-v2/miscellaneous/cloud/MM-T2472]] - Install Jira instance on MM Server (Cypress state: _Evaluating_) -* [[test-cases/plugins/jira-v2/jira-server/jira-connect/MM-T2473]] Connect to Jira from a browser (Cypress state: _Evaluating_) -* [[test-cases/plugins/jira-v2/miscellaneous/cloud/MM-T2474]] - Test notification from Jira using Legacy webhook and user (Cypress state: _Evaluating_) -* [[test-cases/plugins/jira-v2/miscellaneous/cloud/MM-T2475]] - Menu Items remain visible in new session (Cypress state: _Evaluating_) -* [[test-cases/plugins/jira-v2/miscellaneous/cloud/MM-T2476]] - Uninstall Jira (Cypress state: _Evaluating_) -* [[test-cases/plugins/jira-v2/miscellaneous/cloud/MM-T2477]] Install a new Jira instance (Cypress state: _Evaluating_) -* [[test-cases/plugins/jira-v2/jira-server/general-slash-commands/MM-T2480]] /jira slash command show help text with sample commands (Cypress state: _Evaluating_) -* [[test-cases/plugins/jira-v2/jira-server/install-and-uninstall/MM-T2481]] /jira disconnect (Cypress state: _Evaluating_) -* [[test-cases/plugins/jira-v2/jira-server/install-and-uninstall/MM-T2482]] /jira install can only be used by admin (Cypress state: _Evaluating_) -* [[test-cases/plugins/jira-v2/jira-server/install-and-uninstall/MM-T2483]] /jira setup Cloud or Server (Cypress state: _Evaluating_) diff --git a/data/Test Cases.md b/data/Test Cases.md index bbda86c8b..22af95e91 100644 --- a/data/Test Cases.md +++ b/data/Test Cases.md @@ -9,16 +9,6 @@ [[Cypress status]] [[Mobile v2]] -## Recentl test cases +## Recent test cases -* [[test-cases/channels/message-forwarding/MM-T5215]] Forwarding post to new DM -* [[test-cases/channels/left-sidebar/unread-filter/MM-T5208]] Channel Sidebar Unread Filter > Continue to show global Threads item when unread filter is enabled -* [[test-cases/cloud/MM-T5207]] Gather Intent | Cloud first monthly purchase: Gather intent -* [[test-cases/cloud/MM-T5194]] Self Hosted | Alternative payment option in Billing & payment page -* [[test-cases/cloud/MM-T5193]] Cloud | Alternative Payment | Verify the UI on payment page when user provides inputs for alternative payment -* [[test-cases/channels/keyboard-shortcuts/MM-T5192]] CTRL/CMD+Shift +U should toggle between unreads and all channels -* [[test-cases/suite/activity-and-insights/insights/my-insights/MM-T5191]] Insights - My Insights view as an item in the command-k channel switcher -* [[test-cases/cloud/MM-T5190]] Delinquency | Compelling Admin to update the to previous paid plan or star on freemium (_Tags:_ diff-1a490f08504158838befaa816ee8d5c08dff9e694d5a568ce4b0a4398dcc563e) -* [[test-cases/cloud/cloud-trial/MM-T5189]] Show 'Contact sales' option for workspaces with Professional-licensed instance -* [[test-cases/channels/MM-T5188]] Muted channel mentions should not be counted on the Team icon badge From 097fcd61c8fcdfd9a9b5e2a633a46f293da62f55 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Wed, 20 Sep 2023 14:07:42 +0800 Subject: [PATCH 4/5] apply comment Co-authored-by: lindalumitchell --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 02533b299..69e3967c2 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ There are three ways to get started in contributing to this project. - tested_by_contributor: null + tested_by_contributor: @qa_contributor|08-20-2023 ``` - - or use commas for multiple testing contributions. + - or use commas for multiple testing contributions: ```diff - tested_by_contributor: @qa_contributor|08-20-2023 + tested_by_contributor: @qa_contributor|08-20-2023,@qa_contributor|10-15-2023 From c3551cb7060615ced4e034c30042b868f6637654 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Thu, 21 Sep 2023 07:47:57 +0800 Subject: [PATCH 5/5] add example for different contributor --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 69e3967c2..fec54eb38 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,12 @@ There are three ways to get started in contributing to this project. - or use commas for multiple testing contributions: ```diff - tested_by_contributor: @qa_contributor|08-20-2023 + + // from same contributor + tested_by_contributor: @qa_contributor|08-20-2023,@qa_contributor|10-15-2023 + + // from different contributor + + tested_by_contributor: @qa_contributor|08-20-2023,@another_qa_contributor|10-15-2023 ``` ### Getting started - working with integrations