Hi! I’m working on the quality assurance projects and for the tests below I’m getting an error for the first test (sometimes this test times out) although all the tests after are passing.
Tests:
-
All tests should pass.
-
Passed: You should assert that the headless browser request succeeded.
-
Passed: You should assert that the text inside the element
span#nameis'Cristoforo'. -
Passed: You should assert that the text inside the element
span#surnameis'Colombo'. -
Passed: You should assert that the element
span#datesexist and its count is 1.
I even changed the timeout to 7000 in ‘Functional Tests with Zombie.js’ suite but the problem persists.
Here is the link to my repl: https://replit.com/@redouane1/boilerplate-mochachai
I will be grateful if someone help me find the source of the problem