-
Functional Test
-
Major
-
Moodle 4.2
-
None
Test Pre-requisites:
- Any course in Moodle.
- A teacher and a student.
Test Steps:
- Log in as a teacher and add a lesson activity.
- On the lesson edit settings form look for "Linked media" under Appearance and click 'Add...'. Verify that the File Picker is launched.
- Select 'Upload a file', choose a file to upload and upload it.
- Click 'Save and display'.
- Add a question page.
- Preview the lesson. Check that there is a link to your file under "Linked media" in a block over on the right side of the page (or above the navigation block with Classic theme).
- Click on the file link and check that the link works.
- Log in as a Student and verify that the file is correct.