This is apparently an issue with using zombie on replit.
The workaround is to run the headless browser tests locally.
This is explained in the following thread:
TLDR: Try changing your url for Browser.site to ‘http://localhost:3000/ ’ (or whatever port your server is running on).