Quality Assurance and Testing with Chai - Run Functional Tests Using a Headless Browser

Tell us what’s happening:
Describe your issue in detail here.
The last challenges have failed to pass
kindly advice on what is wrong with my code?


Your project link(s)

solution: boilerplate-mochachai - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0

Challenge: Quality Assurance and Testing with Chai - Run Functional Tests Using a Headless Browser

Link to the challenge:

Pictures of code are hard to read and cannot be copied into a local IDE for debugging. Please post your actual code or a link to your repository, instead of a picture.

@JeremyLT boilerplate-mochachai - Replit
Here is the link

Even if you use the then method on the promise it doesn’t pass

i have included the then method on the promise but nothing seems to pass at all.


What could that be because everything seems correct as i have cross checked thoroughly and nothing

when i follow the codes keenly it’s the browser.assert.element that i think had the typo error


but when i change and submit my code still nothing succeeds and i just don’t know why?

Kindly what I should I do about it am stuck?


Finally I passed the tests though it hasn’t been easy.

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