Run Functional Tests Using a Headless Browser II and I

Links:

  1. https://www.freecodecamp.org/learn/quality-assurance/quality-assurance-and-testing-with-chai/run-functional-tests-using-a-headless-browser

  2. https://www.freecodecamp.org/learn/quality-assurance/quality-assurance-and-testing-with-chai/run-functional-tests-using-a-headless-browser-ii

Issue:
image

This is my replit:

Hello there,

Here is the example:

browser.assert.elements('span#dates', 1);

Here is your code:

browser.assert.element("span#dates", '1');

Can you see the difference?

Hope this helps

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.