sensei
sensei copied to clipboard
Quiz timer doesn't stop if I leave the quiz.
Steps to Reproduce
- Create a test lesson with a quiz.
- Add quiz timer and save changes.
- Go to the frontend and take the lesson's quiz.
- The timer should be counting down.
- Leave quiz by clicking "Back to lessons".
- Wait a minute.
- Go back to same quiz.
- Quiz timer didn't stop, it continued.
What I Expected
I expected Quiz timer to stop when leaving the quiz.
What Happened Instead
Quiz timer didn't stop when returning to the quiz.
I'm not sure if this is intended behavior but if it is, I think we should add a disclaimer saying that quiz timer won't stop if you leave the quiz.
Screenshot / Video
https://user-images.githubusercontent.com/77755259/194094311-e8ba58b4-1803-4d06-a6cd-52a179899a65.mov
Context / Source
Reported in 5596843 - zen
This is definitely an intended behavior. The Quiz timer's purpose is to limit students' time spent on taking a quiz. Once the quiz starts, it's students responsibility to complete the quiz till the time runs out.
If the timer stopped once user navigates away from the quiz page, then it would defeat the purpose of the Quiz timer. A user can start the quiz, copy the contents of the quiz, leave the quiz page and take as much time as they need and then come back and fill out all the answers of the quiz. This would allow students to spend as much time for the quizzes as they want.
cc @burtrw to confirm this functionality.
Yes, that is the intended functionality. But it would be nice if we could somehow give a warning when a user tries to leave a quiz that has a timer on it. Not sure how hard that would be to implement?
Not a priority at this time.