DEV Community

Discussion on: How to use stub multiple API requests dynamically in Cypress

Collapse
 
marcromotarre profile image
marcromotarre

Hi, a lot of times its not calling my Cypress.Commands.add("mockArticlesRequest"

is it happening to you? sometimes pass my tests correctly, sometime not.

Thanks

Collapse
 
digitaledawn profile image
Aurore T

Hi. No, it's been working perfectly. When are you calling the command? What error do you get when it's failing?