This test requires a lesson activity containing more than one question.
- Login as a teacher, update a lesson activity and set
- 'Allow student review' to No (Under Flow control)
- 'Provide option to try a question again' to yes (Under Flow control)
- 'Maximum number of attempts' to 2 (Under Flow control)
- 'Use default feedback' to yes (Under Appearance)
- Login as a student and attempt the activity.
- Answer a question wrongly and and check that the message 'You have 1 attempt(s) remaining' is displayed.
- Click the continue button and answer the question wrongly again.
- Check that you are no longer allowed to attempt the question.