Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-81888

Allow cleanup scenario in tool_generator create test scenario

XMLWordPrintable

    • 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.

            tusefomal Ferran Recio
            tusefomal Ferran Recio
            Laurent David Laurent David
            Huong Nguyen Huong Nguyen
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 15 minutes
                1h 15m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.