PromucFlow_constructor/app/client/cypress_ci.config.ts
Aishwarya-U-R df31f8def2
test: Cypress | CI Stabilize (#27622)
## Description
- This PR does flaky fox for:
- QueryPane/S3_2_spec.ts fix
- Datasources/Oracle_Spec.ts fix
- ClientSide/Widgets/Radio/Radio2_spec.ts
- ServerSide/Datasources/Firestore_Basic_Spec.ts

#### Type of change
- Script update (non-breaking change which fixes an issue)

## Testing
#### How Has This Been Tested?
- [X] Cypress CI runs

## Checklist:
#### QA activity:
- [X] Added `Test Plan Approved` label after Cypress tests were reviewed
2023-09-27 22:54:27 +05:30

41 lines
1.0 KiB
TypeScript

import { defineConfig } from "cypress";
export default defineConfig({
defaultCommandTimeout: 30000,
requestTimeout: 60000,
responseTimeout: 60000,
pageLoadTimeout: 60000,
video: true,
numTestsKeptInMemory: 5,
experimentalMemoryManagement: true,
reporterOptions: {
reportDir: "results",
overwrite: false,
html: true,
json: false,
},
chromeWebSecurity: false,
viewportHeight: 1200,
viewportWidth: 1400,
scrollBehavior: "center",
retries: {
runMode: 1,
openMode: 0,
},
e2e: {
baseUrl: "http://localhost/",
setupNodeEvents(on, config) {
return require("./cypress/plugins/index.js")(on, config);
},
specPattern: "cypress/e2e/**/*.{js,ts}",
testIsolation: false,
excludeSpecPattern: [
"cypress/e2e/**/spec_utility.ts",
"cypress/e2e/GSheet/**/**/*",
"cypress/e2e/Sanity/Datasources/Airtable_Basic_Spec.ts",
"cypress/e2e/Regression/ClientSide/CommunityTemplate/*",
"cypress/e2e/Regression/ServerSide/Datasources/ElasticSearch_Basic_Spec.ts",
],
},
});