Quality Assurance and Testing with Chai - Simulate Actions Using a Headless Browser

I had similar problems when I was working on this last year. There is some issue which I don’t understand about replit and zombie working together (or rather not working).

In the end, the solution was to run the tests locally.

Here’s a forum thread which eventually resolved my issues:

Try changing your url for Browser.site to ‘http://localhost:3000/’ (or whatever port your server is running on).

That one simple change makes all of my tests pass (on repl).

2 Likes