Quality Assurance and Testing with Chai - Run Functional Tests on an API Response using Chai-HTTP III - PUT method

I can’t pass test #20 “Run Functional Tests on an API Response using Chai-HTTP III - PUT method” of the first part of the QA course.

It had been working without problem in Brave, I tried it in Chrome and nothing, it keeps showing “(Test timed out)” and I consider that I already used the solution that the page gives but I can’t get through.

Could someone help me understand what happens and solve the exercise if it is not correct to pass the test?

Thank you!

This is my project link: boilerplate-mochachai - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge: Quality Assurance and Testing with Chai - Run Functional Tests on an API Response using Chai-HTTP III - PUT method

Link to the challenge:

Try putting keepOpen after the request

chai
  .request(server)
  .keepOpen()

Yaaay! Thank you so much!!!

1 Like

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