Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-10986 QA tests no longer needed
  3. MDLQA-1719

In a folder resource a file can be added to the folder after creation

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Blocker Blocker
    • None
    • Moodle QA non-runners
    • Filepicker, Folder, Student, Teacher
    • None

      Test Pre-requisites:

      • A folder resource.

      Note: It is not necessary to test uploading a very large file. A file of size less than 20MB should be used in this test.

      Test 1 using drag and drop

      1. Log in as a teacher. Navigate to the folder resource and click 'Edit'. Verify that the File manager form element is displayed onscreen.
      2. Drag and drop a file onto the file manager, which currently contains the text 'You can drag and drop files here to add them.'
      3. Check that the filename + progress bar is displayed as expected
      4. Check the progress bars are hidden and the normal icon/thumbnail is shown once the upload is complete
      5. Drag 2 more files (at the same time) into the area
        • check the filenames + progress bars are both shown
        • check the progress bars are hidden and the normal icon/thumbnail is shown once the upload is complete
      6. Click 'Save changes' and verify that the files have been uploaded.
      7. Download the file to verify that the file link has been created properly.
      8. Log in as a Student and download the file, then verify that the file is correct.
      9. Log in as Teacher and delete all the files - check the drag & drop message is displayed correctly

      Test 2 using file picker

      1. Log in as a teacher. Navigate to the folder resource and click 'Edit'. Verify that the File manager form element is displayed onscreen.
      2. Click "Create folder" and verify that folder is created.
      3. Click folder created above and click "Create folder" again and verify a new folder is created.
      4. Click folder icon which was last created and click 'Add' and verify that the file picker is launched.
      5. Select 'Upload a file', choose a file to upload and upload it.
      6. Click 'Save changes' and verify that the files have been uploaded.
      7. Edit Folder resource and check "Show subfolders expanded"
      8. View folder resource and make sure folder view is expanded
      9. Edit Folder resource and uncheck "Show subfolders expanded"
      10. View folder resource and make sure folder is collapsed and by clicking you can expand it.
      11. Download the file to verify that the file link has been created properly.
      12. Log in as a Student and download the file, then verify that the file is correct.

            Unassigned Unassigned
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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