PromucFlow_constructor/app/client/cypress.config.ts
Rajat Agrawal d7aa392658
chore : disable hot reloading of cypress tests to reduce memory overload (#23621)
Disabling hot reloading eases up the memory pressure on local
development system
2023-05-24 15:48:34 +05:30

37 lines
803 B
TypeScript

import { defineConfig } from "cypress";
export default defineConfig({
watchForFileChanges: false,
defaultCommandTimeout: 30000,
requestTimeout: 21000,
responseTimeout: 30000,
pageLoadTimeout: 30000,
videoUploadOnPasses: false,
videoCompression: false,
numTestsKeptInMemory: 10,
reporterOptions: {
reportDir: "results",
overwrite: false,
html: true,
json: false,
},
chromeWebSecurity: false,
viewportHeight: 1200,
viewportWidth: 1600,
retries: {
runMode: 1,
openMode: 0,
},
e2e: {
baseUrl: "https://dev.appsmith.com/",
env: {
USERNAME: "xxxx",
PASSWORD: "xxx",
},
setupNodeEvents(on, config) {
return require("./cypress/plugins/index.js")(on, config);
},
specPattern: "cypress/e2e/**/*.{js,ts}",
},
});