Headless Browser Colombo, tests failing

Failing all tests but one (oddly enough, the one stating "All tests should pass).
Console shows:

TypeError: browser.fill(…).pressButton is not a function

Your project link(s)

solution: https://replit.com/@ikersuarez/boilerplate-mochachai

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15

Challenge: Run Functional Tests using a Headless Browser

Link to the challenge:


You’re using the last version of zombie which now returns promises, so you cannot chain the methods together. It’s not stated on zombie.js.org, but on the github readme.

On the other hand, you will have to skip the tests for now, because there is an issue with the validation on FCC that need fixing (it will be updated soon).

1 Like

Thanks a lot! It was driving me crazy.

1 Like

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