-
Improvement
-
Resolution: Fixed
-
Minor
-
4.5
-
MOODLE_405_STABLE
-
MOODLE_405_STABLE
-
MDL-81888-main-v02 -
-
1
-
HQ 2024 Sprint I2.2 Moppies
The tool_generator creates a testing scenario that can execute all steps from behat_data_generators (with some limitations) and admin settings. However, it would be great to have a way to define cleanup steps to be executed when the manual test is done.
This issue will create some deletion step:
- Given the course "COURSENAME" is deleted
- Given the user "USERNAME" is deleted
It will allow "cleanup" scenario. The upload form will have a select to decide what to execute: the normal scenarios or the cleanup one. Internally, the tool will ignore any scenario with tags by default. Scenarios with a "cleanup" tag will be executed only if the used sets in the upload form.