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

A teacher can specify assignment submission file types

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Open
    • Priority: Minor
    • Affects Version/s: Moodle QA non-runners
    • Fix Version/s: None
    • Component/s: Assignment, Student, Teacher
    • Labels:
      None

      Description

      1. Log in as a teacher and add a new assignment activity to a course.
      2. As accepted file types, enter 'image/png; image/jpeg' then save and display.
      3. Log in as a student, go to the assignment and check that a message is displayed stating that only png or jpeg files may be submitted.
      4. Try submitting various file types and check that you can only add png or jpeg files.
      5. Log in as the teacher again, update the assignment and change the accepted file types to .pdf.
      6. Log in as the student again, try submitting various file types and check that you can only add pdf files.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nobody Nobody
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: