I’m struglling to pass some test on the last project of the FCC frontend libraries certifications and to be more percise, i’m failing these tests:
Content:
I can see an element with corresponding id=“time-left”. NOTE: Paused or running, the value in this field should always be displayed in mm:ss format (i.e. 25:00).
Timer:
When I click the element with the id of “break-decrement”, the value within id=“break-length” decrements by a value of 1, and I can see the updated value.
When I click the element with the id of “break-increment”, the value within id=“break-length” increments by a value of 1, and I can see the updated value.
When I click the element with the id of “session-decrement”, the value within id=“session-length” decrements by a value of 1, and I can see the updated value.
When I click the element with the id of “session-increment”, the value within id=“session-length” increments by a value of 1, and I can see the updated value.
I should not be able to set a session or break length to <= 0.
I should not be able to set a session or break length to > 60.
When a break countdown reaches zero (NOTE: timer MUST reach 00:00), a new session countdown should begin, counting down from the value currently displayed in the id=“session-length” element.
But the problem is that I tested my app functionality manually and it seems to be passing all the user stories. Can you please assist?
I mean checked each point and every test and the app has the requesirments of this test.
For example this error:
Content:
I can see an element with corresponding id=“time-left”. NOTE: Paused or running, the value in this field should always be displayed in mm:ss format (i.e. 25:00).
In my code there is an element with this id and it has the format of the time as 25:00 but i don’t know why the test fails.