How to ensure a cypress test in one file runs before another cypress test in another file

Viewed 26

I have a cypress Test A that creates an account and then another cypress Test B that deletes it. Cypress Test B will fail if cypress Test A isn't run before it.

I am currently running tests across 10 VMs and my tests are split by timings in CI.

Is this at all possible? How do I ensure Test A runs before Test B?

Or is there anyway to pass test B by default if Test A hasn't run yet ?

0 Answers
Related