chilly-needle-94710
06/28/2022, 6:58 PMcy.on(‘fail’, () => {
cy.task(‘deleteTestData’, {arg…})
})
But every time I’ve gotten an issue about returning a promise from a command while also invoking one or more cy commands in that promise. Has anyone here done anything like this before by chance?