it seems that stuff from helper files, like vars, are not regenerated when a retry occurs. Is there any way to do that?
wide-hospital-71307
08/03/2022, 11:13 AM
I am using faker to generate some values in a separate helper file, which I then import in my test file
wide-hospital-71307
08/03/2022, 11:14 AM
the issue I am facing is, the test i am running is creating a multi step item, and when it fails, part of what it was creating exists, so next time it uses the same id in the beginning, the partial entity from the first attempt is there so it skips a lot of steps, every time it retries after the first failure
wide-hospital-71307
08/03/2022, 11:15 AM
I have thought of using the attempt number but since I am not already in a test, I can't chain off of cy.