I don’t know why I’m unable to pass " Run Functional Tests using a Headless Browser" and, also, " Run Functional Tests Using a Headless Browser II" from " Quality Assurance and Testing with Chai".
I have spent a long time looking for a solution (in this forum and also in internet), but the problem is still there.
There was a bug affecting these two parts which was corrected recently. Maybe this is the key to solve the problem. However, I cloned the code which freeCodeCamp provides to solve the challenges. So, it doesn’t make sense that this base code is wrong.
This is the console’s feedback:
I think I followed all the steps correctly and I have even reviewed them. I would appreciate any help.
Here is my code from repl.it: