Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17385 Moodle 4.2 QA
  3. MDLQA-17905

CLONE - A teacher can export database presets

XMLWordPrintable

      Setup

      1. Login as teacher and go to a course.
      2. Add a database activity (with the default configuration).
      3. Create one field (it can be from any type and have any name).
      4. Access the database activity and go to the "Templates" tab.
      5. Click the "Publish preset on this site" option from Actions menu.
      6. Give a valid name and a description and save the new preset.
      7. Click the "Save as preset" button again.
      8. Give it a valid name (different from the previous one), leave the description empty and save the new preset.

      Testing scenario 1. Export saved preset with description

      1. Access the database activity and go to the "Presets" tab.
      2. Open the Action menu for the Saved preset with description and select "Export".
      3. Check a .zip file is downloaded.
      4. Extract the .zip file and check it contains several files (a few template HTMLs, CSS, JS...). 
      5. Open preset.xml.
      6. Check it contains a description element which should contain the preset description.

      Testing scenario 2. Export saved preset without description

      1. Access the database activity and go to the "Presets" tab.
      2. Open the Action menu for the Saved preset without description and select "Export".
      3. Check a .zip file is downloaded.
      4. Extract the .zip file and check it contains several files (a few template HTMLs, CSS, JS...). 
      5. Open preset.xml.
      6. Check it contains a description element (which should be empty).

      Testing scenario 3. Export preset keeps working as expected

      1. Access the database activity and go to the "Templates" tab.
      2. Click the "Export preset" option from the Actions menu.
      3. Check a .zip file is downloaded.
      4. Extract the .zip file and check it contains several files (a few template HTMLs, CSS, JS...). 
      5. Open preset.xml.
      6. Check it contains a description element (which should be empty).

        1. 1_setup_Step2.jpg
          179 kB
          Clement Prudhomme
        2. 1_setup_Step3.jpg
          217 kB
          Clement Prudhomme
        3. 1_setup_Step5.jpg
          298 kB
          Clement Prudhomme
        4. 1_setup_Step6.jpg
          115 kB
          Clement Prudhomme
        5. 1_setup_Step8.jpg
          115 kB
          Clement Prudhomme
        6. 2_testingscenario1_step2.jpg
          332 kB
          Clement Prudhomme
        7. 2_testingscenario1_step4.jpg
          103 kB
          Clement Prudhomme
        8. 2_testingscenario1_step6.jpg
          143 kB
          Clement Prudhomme
        9. 2_testingscenario2_step2.jpg
          296 kB
          Clement Prudhomme
        10. 2_testingscenario2_step4.jpg
          93 kB
          Clement Prudhomme
        11. 2_testingscenario2_step5.jpg
          134 kB
          Clement Prudhomme
        12. 2_testingscenario3_step2.jpg
          291 kB
          Clement Prudhomme
        13. 2_testingscenario3_step4.jpg
          91 kB
          Clement Prudhomme
        14. 2_testingscenario3_step6.jpg
          130 kB
          Clement Prudhomme

            c.prudhomme Clement Prudhomme
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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