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

Update readme and Gitpod #113

Merged
merged 5 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from 4 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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ www/_fresh
# Silver Bullet
data/data.db*
data/_plug
data/.silverbullet.db*
data/Cypress*status.md
data/Test*Cases.md
1 change: 1 addition & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
40 changes: 36 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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/<username>/mattermost-test-management.git

# Create branch
git checkout -b <branch_name>

# 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 <github_handlename>.
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).

Expand Down Expand Up @@ -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.
Expand Down
50 changes: 0 additions & 50 deletions data/Cypress status.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,4 @@
## Evaluating

<!-- #query page render [[template/cypress]] where status = "Active" and cypress = "Evaluating" order by id asc limit 50 -->
* [[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_)
<!-- /query -->
12 changes: 1 addition & 11 deletions data/Test Cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@
[[Cypress status]]
[[Mobile v2]]

## Recentl test cases
## Recent test cases
<!-- #query page render [[template/test-case]] where status = "Active" order by id desc limit 10 -->
* [[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
<!-- /query -->