Hi,
I’ve been working hard on my “Build a 25 + 5 Clock” project. Could you please help me find out why the tests are not working? I have reviewed the user stories and tests errors but haven’t found out what I am missing.
If I test the program manually it seems to work correctly, however, when running the tests I get the following errors:
-
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).
time-left is not formatted correctly: expected ‘01’ to equal ‘60’ -
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.
expected ‘1’ to equal ‘9’ -
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.
expected ‘21’ to equal ‘29’ -
I should not be able to set a session or break length to > 60.
Value in element with id of “break-length” is greater than 60.: expected ‘1’ to equal ‘60’
Thank you in advance.