Can someone say what is wrong with this ?
Your project link(s)
solution: https://replit.com/@betulakgul/boilerplate-mochachai-1
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36
Challenge: Run Functional Tests using a Headless Browser
Link to the challenge:
sanity
2
Take a closer look at the last assertion in the example, it’s using a different method.
i changed it to ‘examples’ but didnt work either
sanity
4
browser.assert.elements("span#dates", '1');
You have the 1
it in code as a string with number 1, not literally a number.
system
Closed
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.