DEV Community

Discussion on: API Testing with Cypress: Part 2 - Creating your tests

Collapse
 
mathiar42778659 profile image
mathi arasan • Edited

Hello Murillo
When I use cy.task , its giving an error. Unable to resolve. Please help.
The 'task' event has not been registered in the plugins file. You must register it before using cy.task()

Fix this in your plugins file here: