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

Convert steps to enable completion to data generators

XMLWordPrintable

      While reviewing another issue I noticed that we have many tests where completion is enabled with manual steps, requiring to log in, go to course editing page, set the completion field and save just to enable course completion:

          And I log in as "teacher1"
          And I am on "Course 1" course homepage with editing mode on
          And I navigate to "Settings" in current page administration
          And I set the following fields to these values:
            | Enable completion tracking | Yes |
          And I press "Save and display"
      

      We should search and convert those to use data generators instead, enabling the completion in the course data generator:

          And the following "courses" exist:
            | fullname | shortname | category | enablecompletion | showcompletionconditions |
            | Course 1 | C1        | 0        | 1                | 1                        |
      

            lameze Simey Lameze
            lameze Simey Lameze
            Paul Holden Paul Holden
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 44 minutes
                1d 44m

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