sensei icon indicating copy to clipboard operation
sensei copied to clipboard

Quiz timer doesn't stop if I leave the quiz.

Open ctdealba opened this issue 2 years ago • 1 comments

Steps to Reproduce

  1. Create a test lesson with a quiz.
  2. Add quiz timer and save changes.
  3. Go to the frontend and take the lesson's quiz.
  4. The timer should be counting down.
  5. Leave quiz by clicking "Back to lessons".
  6. Wait a minute.
  7. Go back to same quiz.
  8. 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

ctdealba avatar Oct 05 '22 15:10 ctdealba

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.

dadish avatar Oct 06 '22 08:10 dadish

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?

burtrw avatar Oct 14 '22 01:10 burtrw

Not a priority at this time.

donnapep avatar Feb 21 '24 18:02 donnapep