// eslint-disable-next-line global-require const { defineConfig } = require("cypress"); module.exports = defineConfig({ chromeWebSecurity: false, viewportHeight: 960, viewportWidth: 1536, projectId: "hkrxk5", defaultCommandTimeout: 10000, retries: { runMode: 2, openMode: 0, }, video: false, e2e: { // We've imported your old cypress plugins here. // You may want to clean this up later by importing these. setupNodeEvents(on, config) { // eslint-disable-next-line global-require return require("./cypress/plugins/index")(on, config); }, baseUrl: "http://localhost:9002/", specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}", experimentalStudio: true, }, reporter: "cypress-junit-reporter", reporterOptions: { mochaFile: "build/smoke-test-results/cypress-test-[hash].xml", toConsole: true, testCaseSwitchClassnameAndName: true, suiteNameTemplate: "{dirpath}", classNameTemplate: "{filepath}", }, });