Hi, I am having issue with the last test which isnt passing on the fcc submission page. I don’t know how to debug the fcc’s way of testing the functional tests to see where exactly the issue is. Could you please help me point out where the issue is or help me debug the code so that I can find where the issue could be…
Look in your code, if there is at least one assertion in every single test (make sure there is no accidental early-leave condition where an assertion does not get run).
Look at the network requests tab for information about the requests (what the tests are sending to your app):
Notice: Tests 6-13 have no assertions… look in your code why.
Look at the GitHub challenge file to see where the tests are written.
Look in the boilerplate files to see how the tests are built, executed, and sent back.
Build a local instance of freeCodeCamp, and submit your tests on that instance - this will allow you to put debugging code in the tests/challenge file, and get more information.
Hey @Sky020 thanks very much for your reply. I tried performing steps 1 and 3 however I dont see anything on either the console or the network requests tab. My app was live and all I did was submit my app on fcc’s page but I dont see anything on the tab/console. Am I missing any step if you could please advice how did you perform those steps
Hey @Sky020 , I passed the tests by replacing ‘expect’ to ‘assert’ in all my functional tests. However I am still stuck at 1st & 3rd debug steps. Is there a specific setting that I need to do in my browser coz I really cant see anything in console and networks tab when I submit my live app.