Quality Assurance and Testing with Chai - Run Functional Tests Using a Headless Browser

Tell us what’s happening:
Describe your issue in detail here.
All tests pass in console in Replit. But it’s not recognized by FreeCodeCamp in the browser. And I get an error in the FreeCodeCamp browser window as well.

Also, my Zombie tests look different than the solution offered in ’ Run Functional Tests Using a Headless Browser’ because I was having issues with my Replit crashing. But they work.

Error:
jQuery.Deferred exception: Cannot read properties of undefined (reading ‘method’) TypeError: Cannot read properties of undefined (reading ‘method’)
at Object.eval (eval at (https://www.freecodecamp.org/js/frame-runner-a5b8eee3eef8fd684f15.js:2:205057), :4:39)
at c (https://www.freecodecamp.org/js/frame-runner-a5b8eee3eef8fd684f15.js:2:121282)
at l (https://www.freecodecamp.org/js/frame-runner-a5b8eee3eef8fd684f15.js:2:121584) undefined
[TypeError: Cannot read properties of undefined (reading ‘method’)]
jQuery.Deferred exception: Cannot read properties of undefined (reading ‘method’) TypeError: Cannot read properties of undefined (reading ‘method’)
at Object.eval (eval at (https://www.freecodecamp.org/js/frame-runner-a5b8eee3eef8fd684f15.js:2:205057), :4:39)
at c (https://www.freecodecamp.org/js/frame-runner-a5b8eee3eef8fd684f15.js:2:121282)
at l (https://www.freecodecamp.org/js/frame-runner-a5b8eee3eef8fd684f15.js:2:121584) undefined
[TypeError: Cannot read properties of undefined (reading ‘method’)]
jQuery.Deferred exception: Cannot read properties of undefined (reading ‘method’) TypeError: Cannot read properties of undefined (reading ‘method’)
at Object.eval (eval at (https://www.freecodecamp.org/js/frame-runner-a5b8eee3eef8fd684f15.js:2:205057), :4:39)
at c (https://www.freecodecamp.org/js/frame-runner-a5b8eee3eef8fd684f15.js:2:121282)
at l (https://www.freecodecamp.org/js/frame-runner-a5b8eee3eef8fd684f15.js:2:121584) undefined
[TypeError: Cannot read properties of undefined (reading ‘method’)]

Your project link(s)
solution: boilerplate-mochachai2 - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36

Challenge: Quality Assurance and Testing with Chai - Run Functional Tests Using a Headless Browser

Link to the challenge:

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