astonishing-salesclerk-68668
06/07/2022, 2:15 PMe2e.ts (Cypress 10) or support/index.ts (pre migration) to create a company on our test org to perform the tests
- We alias this created company using as(testCompany) and reference it in all tests for a given run
- We use an after hook to deleteCompany(this.testCompany) since the Mocha context is still shared during the run
Anyone have any ideas on how we can adapt this model and determine the company to be deleted when a run begins in order to adhere to the "reset before runs, not after" methodology?