We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Turns out, you must update dynamically data-testid fields, like data-testid="downvote-count-0" should be 0, 1, 2, etc for each card, otherwise tests will fail. It's not even mentioned in the description, it made me spend a lot of time on this simple task.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Code Review Feedback
You are viewing a single comment's thread. Return to all comments →
Turns out, you must update dynamically
data-testid
fields, likedata-testid="downvote-count-0"
should be 0, 1, 2, etc for each card, otherwise tests will fail. It's not even mentioned in the description, it made me spend a lot of time on this simple task.