-
Functional Test
-
Critical
-
Moodle 3.2
-
None
Test Pre-requisites:
- Any course in Moodle.
- Attached files.
Test Steps:
- Login as teacher
- Add a lesson activity.
- Click Import questions.
- In Lesson administration > Edit > Collapsed, set File format to "Moodle XML format"
- Click 'Choose a file' and verify that File picker is displayed.
- Select 'Upload a file', choose a file MDLQA-QUESTIONS.xml to upload and upload it.
- Click import and verify that the file has been imported. (2 questions won't be uploaded, as they are not yet supported by lesson)
- Add a new lesson activity
- In Lesson administration > Edit > Collapsed, set File format to "Gift format"
- Drag and drop MDLQA-QUESTIONS.gift file onto the file manager, which currently contains the text 'You can drag and drop files here to add them.'
- Click import and verify that the file has been imported. (1 questions won't be uploaded, as they are not yet supported by lesson)
- Repeat above steps and import all attached formats.