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

File picker can be used to import questions into a lesson.

    XMLWordPrintable

    Details

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

      Description

      1. Log in as teacher
      2. Add a lesson activity.
      3. Click Import questions.
      4. Set File format to "Moodle XML format".
      5. Click 'Choose a file' and verify that File picker is displayed.
      6. Select 'Upload a file', choose a file MDLQA-QUESTIONS.moodlexml.xml to upload and upload it.
      7. Click import and verify that the file has been imported. (1 question won't be uploaded, as it is not yet supported by lesson.)
      8. Add a new lesson activity.
      9. Click Import questions.
      10. Set File format to "Gift format".
      11. Drag and drop MDLQA-QUESTIONS.gift.txt file onto the file manager, which currently contains the text 'You can drag and drop files here to add them.'
      12. Click import and verify that the file has been imported. (1 question won't be uploaded, as it is not yet supported by lesson.)
      13. Repeat above steps and import all attached formats.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: