dazzling-salesclerk-15570
06/30/2022, 6:06 PMdeleteTestData itself. Inside the task function, you should return a new Promise literally, and have a resolve command inside it. Check this case here: https://docs.cypress.io/api/commands/task#Return-a-Promise-from-an-asynchronous-task I was also trying something similar but this one seems like a better idea, I'll try on my end as well. Thanks for the insight.