Tell us what’s happening:
I have passed all tests in replit but FCC says there is problem in my solution.
Your code so far
here is my replit link
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Challenge: Quality Assurance and Testing with Chai - Simulate Actions Using a Headless Browser
Link to the challenge:
You didn’t close the suiteSetup
function correctly. It should be closed right after the browser.visit()
call
suiteSetup(function(done) {
return browser.visit('/', done);
});
Thanks for the reply but the asserts are not working as well
Please check them out to
The suite('Headless browser', theCallback)
should be closed after the test assert, just as it is in the starting code.
https://github.com/freeCodeCamp/boilerplate-mochachai/blob/main/tests/2_functional-tests.js#L65
Thanks for reply
I’ve corrected the mistake
But problem is not gone
You seem to be using an older version of the project (the comments and example code). You need to get rid of the Marco Polo example code (it should be remove ).
solve the problem
replit is running my comments of marco polo and FCC is reading it as 1st and Colombo as 2nd
system
Closed
December 10, 2023, 6:07am
8
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.