Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-1 Moodle QA testing
  3. MDLQA-14752

By default, a student should not be able to access the content bank repository

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Open
    • Priority: Minor
    • Affects Version/s: Master copy - DO NOT REPORT TEST RESULTS HERE
    • Fix Version/s: None
    • Labels:
      None

      Description

      This test requires admin access. If you would like to use the QA testing site for running it, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!

      Setup

      1. Login as Admin
      2. Go to Site administration > Plugins > Repositories > Manage repositories
      3. Enable the 'Content bank' repository
      4. Go to Site administration > Courses > Manage courses and categories
      5. Create several courses:
        1. MiscellaneousCourse1 in the Miscellaneous category
      6. Add h5p files into the content bank for multiple contexts. (Note: currenlty only h5p files are supported by the content bank)
        1. System context
          1. How to add content:
            1. Go to 'Dashboard'
            2. Click on the 'Content bank' item in the navigation block
            3. Add an h5p file into the content bank
        2. Course category context
          1. Add into the following course category contexts:
            1. Miscellaneous
          2. How to add:
            1. Go to Site administration > Courses > Manage courses and categories
            2. Click on the link of the desired course category (ex. 'Miscellaneous')
            3. Click on the 'Content bank' item in the navigation block
            4. Add an h5p file into the content bank
        3. Course context
          1. Add into the following course contexts:
            1. MiscellaneousCourse1
          2. How to add:
            1. Go to 'Site home'
            2. Click on the link of the desired course (ex. 'MiscellaneousCourse1') in the 'Available courses' section
            3. Click on the 'Content bank' item in the navigation block
            4. Add an h5p file into the content bank
      7. Enrol a user as a student in the following courses:
        1. MiscellaneousCourse1

      Test

      1. Login as Admin
      2. Navigate to MiscellaneousCourse1
      3. Create an Assignment in the course with enabled 'File submissions'
      4. Log in as a Student
      5. Navigate to MiscellaneousCourse1
      6. Go to the Assignment and click on 'Add submission'
      7. Click on the 'Add...' button in the 'File submissions' editor
        1. make sure the 'Content bank' repository is not in the available repository options

        Attachments

        1. accordion.h5p
          530 kB
        2. arithmetic-quiz.h5p
          758 kB
        3. filltheblanks.h5p
          699 kB
        4. find-the-words.h5p
          617 kB
        5. helloworld.h5p
          35 kB

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: