2023-03-21 22:29:18 +01:00

18 lines
360 B
JavaScript

import "./commands";
import failOnConsoleError from "cypress-fail-on-console-error";
failOnConsoleError();
before(() => {
if (Cypress.browser.family === "chromium") {
Cypress.automation("remote:debugger:protocol", {
command: "Network.setCacheDisabled",
params: { cacheDisabled: true },
});
}
});
beforeEach(() => {
cy.setup();
});