This test requires a lesson activity containing more than one question.
- Log in 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)
- Log in 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 button 'Yes, I'd like to try again' and answer the question wrongly again.
- Check that you are no longer allowed to attempt the question.