Stuck in Run Functional Tests using a Headless Browser:

Hey, I don’t know why this is not working please help me to get out of this.

This is what I have done so far:

const Browser = require(“zombie”); = ‘’;
suite(“e2e Testing with Zombie.js”, function () {
const browser = new Browser();
suiteSetup(function(done) {
return browser.visit(’/’, done);
suite(’“Famous Italian Explorers” form’, function () {
// #5
test(‘submit “surname” : “Colombo” - write your e2e test…’, function (done) {
browser.fill(“surname”, “Colombo”).pressButton(“submit”, function () {

    browser.assert.text('span#name', 'Cristoforo');
    browser.assert.text('span#surname', 'Colombo');
    browser.assert.element('span#dates', 1);

Your browser information:

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

Challenge: Run Functional Tests using a Headless Browser

Link to the challenge:

1 Like

Welcome, MIARD.

We are aware of an issue with this section of the curriculum:
fix(learn): Headless Browser Tests have incorrect values by nhcarrigan · Pull Request #40330 · freeCodeCamp/freeCodeCamp (

For now, all you can do is skip ahead, and return once the mentioned fix is merged into production.

Hope this helps


thanks a lot , :slightly_smiling_face:

1 Like

Headless Chicken Mode: Deactivated

I was running around the internet looking for an answer to this too, mine runs on the node console so I’ll just save it and hope the bug is fixed, hope it won’t affect my projects I want to get this certification it has been loads of fun learning BackEnd_JS.

1 Like

Hey @Kenneth-bit!
Welcome to the Forum!

It is great!


Thank You codely, iDoFeelVeryWelcome. :100: :100: :100:


Has is been fixed @Sky020? I’m there right now with the same problem. I have passed everything but the test hasn’t passed yet

Hey there,

Yes, the issue mentioned in this thread has been resolved.

If you are stuck, I recommend you open a new topic, ensuring to provide a link to your project code, and any extra information which might be useful.

1 Like