2022-07-25 04:45:28 +00:00
|
|
|
const { defineConfig } = require("cypress");
|
|
|
|
|
|
|
|
|
|
module.exports = defineConfig({
|
|
|
|
|
execTimeout: 1800000,
|
|
|
|
|
defaultCommandTimeout: 30000,
|
2025-02-17 05:00:24 +00:00
|
|
|
requestTimeout: 30000,
|
|
|
|
|
pageLoadTimeout: 30000,
|
|
|
|
|
responseTimeout: 30000,
|
2023-04-25 10:07:18 +00:00
|
|
|
viewportWidth: 1440,
|
2022-07-25 04:45:28 +00:00
|
|
|
viewportHeight: 960,
|
2022-12-09 13:12:31 +00:00
|
|
|
chromeWebSecurity: false,
|
2023-01-17 10:22:31 +00:00
|
|
|
|
2022-07-25 04:45:28 +00:00
|
|
|
e2e: {
|
2025-12-14 22:45:36 +00:00
|
|
|
setupNodeEvents (on, config) {
|
2025-11-05 08:23:50 +00:00
|
|
|
require("./cypress/config/tasks")(on);
|
|
|
|
|
require("./cypress/config/browserConfig")(on);
|
2023-12-28 09:46:16 +00:00
|
|
|
require("@cypress/code-coverage/task")(on, config);
|
|
|
|
|
require("./cypress/plugins/index.js")(on, config);
|
|
|
|
|
return config;
|
2022-07-25 04:45:28 +00:00
|
|
|
},
|
2025-11-05 08:23:50 +00:00
|
|
|
|
2023-04-24 11:03:27 +00:00
|
|
|
baseUrl: "http://localhost:8082",
|
2026-01-05 13:26:17 +00:00
|
|
|
specPattern: "cypress/e2e/happyPath/**/*.cy.js",
|
2025-11-05 08:23:50 +00:00
|
|
|
|
|
|
|
|
testIsolation: true,
|
|
|
|
|
retries: {
|
|
|
|
|
runMode: 2,
|
|
|
|
|
openMode: 0
|
|
|
|
|
},
|
2025-10-24 06:37:24 +00:00
|
|
|
redirectionLimit: 3,
|
2025-11-05 08:23:50 +00:00
|
|
|
|
2025-12-05 12:58:06 +00:00
|
|
|
numTestsKeptInMemory: 1,
|
2023-02-09 11:41:50 +00:00
|
|
|
experimentalMemoryManagement: true,
|
2025-11-05 08:23:50 +00:00
|
|
|
|
|
|
|
|
experimentalRunAllSpecs: true,
|
|
|
|
|
experimentalOriginDependencies: true,
|
|
|
|
|
|
|
|
|
|
downloadsFolder: "cypress/downloads",
|
|
|
|
|
trashAssetsBeforeRuns: true,
|
2023-12-28 09:46:16 +00:00
|
|
|
video: false,
|
|
|
|
|
videoUploadOnPasses: false,
|
2025-11-05 08:23:50 +00:00
|
|
|
screenshotOnRunFailure: true,
|
|
|
|
|
screenshotsFolder: 'cypress/screenshots',
|
|
|
|
|
|
|
|
|
|
coverage: false,
|
|
|
|
|
codeCoverageTasksRegistered: false,
|
|
|
|
|
|
2025-11-13 13:02:55 +00:00
|
|
|
projectId: "ca6324a0-4210-4f7e-846a-71ca2766ca4",
|
2022-07-25 04:45:28 +00:00
|
|
|
},
|
2023-02-21 08:59:23 +00:00
|
|
|
});
|