Files
raven-test/e2e/support/e2e.js
2026-02-16 14:39:46 -08:00

16 lines
369 B
JavaScript

// Import commands.js using ES2015 syntax:
import "./commands";
//unique test run ID for all tests
Cypress.config("cyid", `cy${new Date().getTime()}`);
// Global guard: halt all tests if abort flag exists
beforeEach(function () {
cy.task("checkAbortFlag").then(shouldAbort => {
if (shouldAbort) {
Cypress.runner.stop();
this.skip();
}
});
});