Skip to content

Commit

Permalink
Merge pull request #1002 from sarjona/contributingAutomatedTests
Browse files Browse the repository at this point in the history
[general] Migrate Acceptance_testing/Contributing_automated_tests
  • Loading branch information
andrewnicols authored May 7, 2024
2 parents ca03caf + dff679c commit 544444a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/migratedPages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Acceptance_testing/Browsers:
Acceptance_testing/Browsers/Working_combinations_of_OS+Browser+selenium:
- filePath: "/general/development/tools/behat/browsers/supportedbrowsers.md"
slug: "/general/development/tools/behat/browsers/supportedbrowsers"
Acceptance_testing/Contributing_automated_tests:
- filePath: "/general/development/process/testing/qa.md"
slug: "/general/development/process/testing/qa#automating-a-test"
Acceptance_testing_for_the_Moodle_App:
- filePath: "/general/app/development/testing/acceptance-testing.md"
slug: "/general/app/development/testing/acceptance-testing"
Expand Down
15 changes: 15 additions & 0 deletions general/development/process/testing/qa.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,21 @@ To create a new QA test:
:::

## Automating a test

1. Choose a test from the list [MDLQA tests with label mdlqa_conversion](https://tracker.moodle.org/issues/?jql=project%20%3D%20MDLQA%20AND%20labels%20%3D%20mdlqa_conversion%20and%20status%20%3D%20Open).
1. Create a new MDL issue with summary `Automate MDLQA-wxyz` and component `Automated functional tests` and any MDLQA component such as `Forum` which is also an MDL component.
1. Add the `mdlqa_conversion` label to the new MDL issue
1. Link to the MDLQA test by selecting `Will help resolve` as the link type.
1. Follow the instructions provided in the guide Writing acceptance tests.
1. Include `MDLQA-wxyz` and a short description of what is being automated to the commit message/s where the .feature files are added/edited.

:::info

When a test is automated, it needs to be moved from MDLQA-1 to MDLQA-5249.

:::

## Feedback

Feedback on all aspects of our QA testing process is welcome.
Expand Down

0 comments on commit 544444a

Please sign in to comment.