Run Functional Tests using a Headless Browser I & II - Inconsistency in test results

Here is my code

When I run it, I pass all 25 tests.

If I submit as solution for “Run Functional Tests using a Headless Browser”, I get:

However, if I submit as solution for “Run Functional Tests using a Headless Browser II”, I get:

This does not make sense to me. I have been on this question for quite some time now.

Does anyone know what is going on? What is my solution missing? given the two differences in outputs, I suspect something may not be right with the evaluation of the solution.

Hello there,

Unfortunately, the boilerplate has been updated, but the update code on /learn (the tests) has not reach production yet. You should be able to test if your code will pass on staging: https://www.freecodecamp.dev/learn/quality-assurance/quality-assurance-and-testing-with-chai/run-functional-tests-using-a-headless-browser

Hope this helps

1 Like

Thank you for this information and the link. My code was submitted for both exercises on /learn and was accepted.

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