https://cypress.io logo
Thanks I’ll look at this too. The deleteTestData t...
# best-practices
c
Thanks I’ll look at this too. The deleteTestData task returns a call on an async function.
Copy code
module.exports = (on, config) => {
on(‘task’, {
deleteTestData({table, dataToDeleteFile}) {
return deleteTestData(table, dataToDeleteFile)
}
})
}
The task works great outside of the cy.on(‘fail’ …) example I had.