Ditectrev / Practice-Exams-Platform

Practice Exams (Web) Platform developed by Ditectrev's Community.
https://education.ditectrev.com
MIT License
45 stars 14 forks source link

[BUG] Hardcoded "480 questions" text in /modes view #8

Closed danieldanielecki closed 6 months ago

danieldanielecki commented 6 months ago

Describe the bug Each time a new test is being launched, the /modes view displays information about 480 questions, which is a leftover from a codebase when only 1 test AZ-900 was working.

To Reproduce Steps to reproduce the behavior:

  1. Go to education.ditectrev.com.
  2. Click on any exam.
  3. Read the number next to Test your knowledge under pressure with our timed exam mode, or explore and master over.
  4. We. can clearly see the number of actual questions is different by launching Practice Mode, which correctly displays the numbers of questions.

Expected behavior We should display dynamic number based on the question we fetch from the repositories.

Screenshots Screenshot 2024-03-26 at 11 44 09 Screenshot 2024-03-26 at 11 45 58

Desktop (please complete the following information):

Smartphone (please complete the following information):

danieldanielecki commented 6 months ago

Fixed in https://github.com/Ditectrev/Practice-Exams-Platform/pull/9.

Screenshot 2024-03-30 at 13 58 47