-
Functional Test
-
Minor
-
Moodle 4.1
This test case is an exploratory test case about the newly introduced question versioning. So please feel free to try anything you like and not just the test steps!
This test requires a test course with at least one teacher who can edit questions and a quiz.
- Log in as teacher in your test course.
- Go to your question bank (More > Question bank)
- Create and save a new question A (of any type)
- Verify that in the question bank the versions column says "1".
- Edit question A (remember your change) and click "Save and continue editing".
- Verify that at the top of the edit question form, the version says "2" and last changed by shows the time stamp from when you clicked "Save and continue editing".
- Edit and save question A (remember your change)
- Verify that in the question bank the versions column says "3"
- Click on "Edit" and choose "History"
- Verify that you reach the versions page, where all three version are displayed.
- Preview each version (Edit > Preview) and verify that the changes you made are displayed correctly.
- Try to change the version directly in the preview (Preview options > Question version).