Headless Browser Functional Tests Always Fails

Tell us what’s happening:
What I get in the console on replit is already OK, here is the console text

~/boilerplate-mochachai$ npm start

> my-hyperdev-app@0.0.1 start /home/runner/boilerplate-mochachai
> node server.js

Listening on port 3000
Running Tests...


  Unit Tests
    Basic Assertions
      ✓ #isNull, #isNotNull
      ✓ #isDefined, #isUndefined
      ✓ #isOk, #isNotOk
      ✓ #isTrue, #isNotTrue
    Equality
      ✓ #equal, #notEqual
      ✓ #strictEqual, #notStrictEqual
      ✓ #deepEqual, #notDeepEqual
    Comparisons
      ✓ #isAbove, #isAtMost
      ✓ #isBelow, #isAtLeast
      ✓ #approximately
    Arrays
      ✓ #isArray, #isNotArray
      ✓ Array #include, #notInclude
    Strings
      ✓ #isString, #isNotString
      ✓ String #include, #notInclude
      ✓ #match, #notMatch
    Objects
      ✓ #property, #notProperty
      ✓ #typeOf, #notTypeOf
      ✓ #instanceOf, #notInstanceOf

  Functional Tests
    Integration tests with chai-http
      ✓ Test GET /hello with no name (74ms)
      ✓ Test GET /hello with your name
      ✓ send {surname: "Colombo"}
      ✓ send {surname: "da Verrazzano"}

  Functional Tests with Zombie.js
    "Famous Italian Explorers" form
      ✓ submit "surname" : "Colombo" - write your e2e test... (227ms)
      ✓ submit "surname" : "Vespucci" - write your e2e test... (243ms)


  24 passing (1s)

but I always not pass the last requirement


I already try updating the NPM package but the result still the same.
this is my code on that section

    // #5
    test('submit "surname" : "Colombo" - write your e2e test...', function (done) {
      browser.fill("surname", "Colombo").pressButton("submit", function () {
        browser.assert.success();
        browser.assert.text('span#name', 'Cristoforo');
        browser.assert.text('span#surname', 'Colombo');
        browser.assert.element('span#dates', 1);
        done(); 
      });
    });

does anyone know what to do?
thank you

Your project link(s)

solution: https://replit.com/@octavianardy/boilerplate-mochachai

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.108 Safari/537.36

Challenge: Run Functional Tests using a Headless Browser

Link to the challenge:

It should be using the elements method, not element.

oh my God, what a shame
thanks a lot, man!