2023-05-19 18:37:06 +00:00
|
|
|
import { defineConfig } from "cypress";
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
2023-05-20 20:31:50 +00:00
|
|
|
defaultCommandTimeout: 30000,
|
2023-06-20 08:58:06 +00:00
|
|
|
requestTimeout: 60000,
|
2023-06-21 19:33:36 +00:00
|
|
|
responseTimeout: 60000,
|
2023-06-15 13:21:11 +00:00
|
|
|
pageLoadTimeout: 60000,
|
2023-09-27 17:24:27 +00:00
|
|
|
video: true,
|
2023-06-15 13:21:11 +00:00
|
|
|
numTestsKeptInMemory: 5,
|
2023-06-20 08:58:06 +00:00
|
|
|
experimentalMemoryManagement: true,
|
2023-05-19 18:37:06 +00:00
|
|
|
reporterOptions: {
|
|
|
|
|
reportDir: "results",
|
|
|
|
|
overwrite: false,
|
|
|
|
|
html: true,
|
|
|
|
|
json: false,
|
|
|
|
|
},
|
|
|
|
|
chromeWebSecurity: false,
|
2023-08-18 05:18:35 +00:00
|
|
|
viewportHeight: 1200,
|
2023-06-30 18:46:57 +00:00
|
|
|
viewportWidth: 1400,
|
2023-06-20 08:58:06 +00:00
|
|
|
scrollBehavior: "center",
|
2023-05-19 18:37:06 +00:00
|
|
|
retries: {
|
|
|
|
|
runMode: 1,
|
|
|
|
|
openMode: 0,
|
|
|
|
|
},
|
|
|
|
|
e2e: {
|
2023-05-20 20:31:50 +00:00
|
|
|
baseUrl: "http://localhost/",
|
2023-05-19 18:37:06 +00:00
|
|
|
setupNodeEvents(on, config) {
|
2023-12-07 12:53:27 +00:00
|
|
|
require("@cypress/grep/src/plugin")(config);
|
2023-05-19 18:37:06 +00:00
|
|
|
return require("./cypress/plugins/index.js")(on, config);
|
|
|
|
|
},
|
2023-05-24 12:30:39 +00:00
|
|
|
specPattern: "cypress/e2e/**/*.{js,ts}",
|
2023-06-15 13:21:11 +00:00
|
|
|
testIsolation: false,
|
2023-07-26 13:26:24 +00:00
|
|
|
excludeSpecPattern: [
|
|
|
|
|
"cypress/e2e/**/spec_utility.ts",
|
|
|
|
|
"cypress/e2e/GSheet/**/**/*",
|
2023-08-02 13:28:04 +00:00
|
|
|
"cypress/e2e/Sanity/Datasources/Airtable_Basic_Spec.ts",
|
2023-09-25 06:27:23 +00:00
|
|
|
"cypress/e2e/Regression/ClientSide/CommunityTemplate/*",
|
2023-09-12 12:03:51 +00:00
|
|
|
"cypress/e2e/Regression/ServerSide/Datasources/ElasticSearch_Basic_Spec.ts",
|
2023-07-26 13:26:24 +00:00
|
|
|
],
|
2023-05-19 18:37:06 +00:00
|
|
|
},
|
2023-08-02 13:28:04 +00:00
|
|
|
});
|