lessons-team icon indicating copy to clipboard operation
lessons-team copied to clipboard

“Correct”/"Congratulations" message persists after restarting the quiz(Web-Desktop/Android)

Open reshmimahadevan opened this issue 3 months ago • 2 comments

Description of the Bug:

When the correct answer is entered, the expected "Correct" message is displayed. However, if the user selects Restart from beginning, the "Correct" message appears again immediately at the start of the lesson/quiz, even though no answer has been entered yet.

**Works fine for incorrect answers

Steps to Reproduce:

  1. Go to https://www.oppia.org/create/l0S8zoUrVQNd#/preview/Introduction
  2. Enter the correct answer → observe the "Correct" message.
  3. Select Restart from beginning.
  4. On the restart, the "Correct" message still appears at the start.

https://github.com/user-attachments/assets/8a677874-d4ce-43ea-9363-9beede338d86

reshmimahadevan avatar Oct 01 '25 22:10 reshmimahadevan

The same applies for Congratulations message also

Image

The Congrats message is present throughout the quiz,if not refreshed.

Image

reshmimahadevan avatar Oct 02 '25 00:10 reshmimahadevan

** Android

Correct https://github.com/user-attachments/assets/54c39735-ad3e-4ea4-9df3-6f3905d935e9

Congratulations https://github.com/user-attachments/assets/b8d3fbbc-232c-4ff8-bfe9-97785c95954e

reshmimahadevan avatar Oct 09 '25 18:10 reshmimahadevan