Tell us what’s happening:
So I have been stuck on the Mocha Chai challenges Run Functional Tests Using a Headless Browser I (this one is passed somehow, but when I try again now, I can’t pass it again) and II. The tests work on my Repl.it, but when I try to validate the challenge in FreeCodeCamp, only the first tests passes.
I am convinced this is an issue with FreeCodeCamp itself rather than my code, but I don’t know. I also checked the other similar topics in the forum but none has solved my issue.
Your code so far
tests/2_functional-tests.js
Repl.it: https://repl.it/@neolight1010/boilerplate-mochachai#tests/2_functional-tests.js
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0.
Challenge: Run Functional Tests Using a Headless Browser I & II
Link to the challenge:

