This test requires a lesson activity containing more than one question.
- Login as a teacher, update a lesson activity and set
- 'Use default feedback' to yes
- 'Allow student review' to No
- 'Provide option to try a question again' to yes
- 'Maximum number of attempts' to 2.
- 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.