2022-06-08 08:33:11 +00:00
|
|
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
|
|
const { defineConfig } = require("cypress");
|
|
|
|
|
|
|
|
module.exports = defineConfig({
|
|
|
|
projectId: "51ef7c",
|
|
|
|
chromeWebSecurity: false,
|
|
|
|
videoUploadOnPasses: false,
|
2022-06-27 09:30:51 +00:00
|
|
|
defaultCommandTimeout: 20000,
|
|
|
|
requestTimeout: 20000,
|
2022-06-08 08:33:11 +00:00
|
|
|
viewportWidth: 1400,
|
|
|
|
viewportHeight: 660,
|
|
|
|
e2e: {
|
2022-06-27 09:30:51 +00:00
|
|
|
env: {
|
2022-06-27 16:49:35 +00:00
|
|
|
grepFilterSpecs: true,
|
2022-06-27 09:30:51 +00:00
|
|
|
},
|
2022-06-08 08:33:11 +00:00
|
|
|
setupNodeEvents(on, config) {
|
2022-06-27 09:30:51 +00:00
|
|
|
config = require("./cypress/support/cypress-grep/plugin")(config);
|
|
|
|
config = require("./cypress/plugins/index.js")(on, config);
|
|
|
|
return config;
|
2022-06-08 08:33:11 +00:00
|
|
|
},
|
|
|
|
baseUrl: "http://localhost:9000/",
|
2022-06-27 16:49:35 +00:00
|
|
|
specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}",
|
|
|
|
},
|
2022-06-08 08:33:11 +00:00
|
|
|
});
|