Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-5249 QA tests converted to behat
  3. MDLQA-5252

A teacher can set a folder to display contents inline

    XMLWordPrintable

Details

    • Functional Test
    • Status: Open
    • Blocker
    • Moodle QA non-runners
    • None
    • Folder, Teacher
    • None

    Description

      1. As a teacher in a course, create a folder resource.
      2. Add two subfolders into the main folder and in each subfolder add one file, for example a word-processed document and an image.
      3. Choose "Display folder contents on a separate page". Save and display.
      4. Verify that if you click the folder link, the contents appear in a separate page.
      5. Update the folder resource and choose "Display folder contents inline on a course page". Save and display.
      6.Verify that the contents of the folder display inline with both subfolders displaying, but collapsed (ie not showing the included files).
      7. Update the folder resource and tick the box "Show sub-folders expanded". Save and display.
      8. Verify that the contents of the folder display inline with both subfolders expanded (ie, their included contents also showing)
      9. Offline, create a second folder with 2 subfolders, each including one file. Zip it and upload it as a folder resource.
      10. Unzip the folder. Delete the zipped folder.
      11. Repeat steps 3 - 8 and verify the subfolders in this second instance display collapsed and/or expanded as expected.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: