Call API Using cy.request To Create Data For The Test

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Post more videos regarding this.
I need to know more about API testing

MohammedAfsal-mmuw
Автор

Hi Gleb, I prepare and clean data with multiple graphql requestst in my project. It's done using before all and afrer all hooks. Whenever call in before all is failed, tests are not executed and after all is immidiately called. After is failed. And the only record I have in mochawsome report: Because this error occurred during a `after all` hook we are skipping the remaining tests in the current suite. There is no much info which call is failed in before with what error. Could you please advice on how I can improve this setup and get more info in mochawesome report?

annaalexeyenko
welcome to shbcf.ru