openedx/openedx-platform

[Test failure] <TC_AUTHOR_50>: <Reset option is not working properly for submit button in common problem components>

Aperta

#36.824 aperta il 23 mag 2024

 (10 commenti) (0 reazioni) (0 assegnatari)Python (4331 fork)auto 404
bughelp wantedrelease testingsumac

Metriche repository

Star
 (8150 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Release

RedWood

Expected behavior

The "Submit" button should be disabled after clicking reset option.

Actual behavior

After clicking the "Reset" button, questions are reset, but the "Submit" button stays active and clickable. If the user clicks the "Submit" button without selecting any option, it is marked incorrect.

https://github.com/openedx/edx-platform/assets/170630433/7f84c701-2a97-44e4-9486-2e32d13fa298

Steps to reproduce

  1. Navigate to a common problem type component (SCQ, MCQ ) in the course.
  2. Attempt a question and submit an incorrect answer.
  3. Click the "Reset" button to reset the question.
  4. Click the submit button without selecting any option.
  5. Observe the behavior.

Additional information

  1. This issue affects all common problem components.

Guida contributor