Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-18058

CLONE - A teacher can drag and drop a file into the course page

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • Moodle 4.3
    • Moodle 4.3
    • Course, Teacher
    • None

      Prerequisites

      • Download the attached files:
      • Open your file browser with the download folder where you download the files
      • Create a course in topic format with at least 2 topics.
      • Set the "Administration -> Security -> Site security settings -> Maximum uploaded file size" setting (called "maxbytes") to 1MB.

      Admin test

      1. Log in as an admin and go to the course with edit mode on
      2. Select all files in the file browser and drag them into Topic 1
        1. Check a modal asking what to do with the first H5P file that appears
        2. Check the default selected option is "Create file resource"
        3. Select "Add an H5P activity" and submit
      3. A second modal appears for the second H5P file
        1. Check the default selected option is "Add an H5P activity"
        2. Submit the modal
      4. Check a process monitor appears a few seconds in the bottom right part of the page.
      5. Check there are 4 new activities in Topic 1: 2 x resources and 2 x H5P activities.

      Teacher test

      1. Log in as a teacher and go to the course with edit mode on
      2. Select all files in the file browser and drag them into Topic 2
        1. Check a modal asking what to do with the first H5P shows
        2. Check the default selected option is "Create file resource"
        3. Select "Add an H5P activity" and submit
      3. A second modal appears for the second H5P file
        1. Check the default selected option is "Add an H5P activity"
        2. Submit the modal
      4. Check a process monitor appears in the bottom right part of the page.
      5. Check there are 3 new activities in Topic 2: 1 x resources and 2 x H5P activities.
      6. After 10 seconds:
        1. Check the progress monitor keeps open with only the error process displayed
        2. Check the progress in the monitor displays a "The file is too large"
      7. Click the "X" icon (close) in the progress monitor with the error
        1. Check theĀ  progress monitor disappears.

      Repeat the test in more than one browser and mention in a comment which ones you've used.

        1. first.h5p
          530 kB
        2. fourth.patata
          2.01 MB
        3. MDLQA-17933.png
          MDLQA-17933.png
          39 kB
        4. MDLQA-17933-2.png
          MDLQA-17933-2.png
          42 kB
        5. MDLQA-17933-3.png
          MDLQA-17933-3.png
          20 kB
        6. MDLQA-17933-4.png
          MDLQA-17933-4.png
          11 kB
        7. second.h5p
          721 kB
        8. third.txt
          0.0 kB

            vika ablogeev Vika ablogeev
            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.