Unable to pass the last few tests in spite of getting the app fulfill all the criteria mentioned in the test suite

I’m working on the 25+5 clock. Though the app works as expected from the functional pov but I’m unable to pass the remaining 4-5 tests in the test suite.
Here is my Codepen for the project: https://codepen.io/donjoe21915/pen/VwRPVEb
The failed tests are as follows:
#Timer
10. If the timer is running and I click the element with id=“start_stop”, the countdown should pause.
12. When a session countdown reaches zero (NOTE: timer MUST reach 00:00), and a new countdown begins, the element with the id of “timer-label” should display a string indicating a break has begun.
14. When a break countdown reaches zero (NOTE: timer MUST reach 00:00), and a new countdown begins, the element with the id of “timer-label” should display a string indicating a session has begun.

#Audio

  1. When a countdown reaches zero (NOTE: timer MUST reach 00:00), a sound indicating that time is up should play. This should utilize an HTML5
  2. The audio element with id of “beep” must stop playing and be rewound to the beginning when the element with the id of “reset” is clicked.

Three out of five failed tests(12,14,1,) throw this ‘Timer has not reached 00:00.’, but the timer does reach 00:00 (you can check that out for yourself). Can’t point out which part of the code is causing this problem.
The app fulfills all the aforementioned criteria on application. What can I do to pass the remaining tests in the test suite? I sense a few more amends will do the thing but I’ve been unable to figure them out so far.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.