PromucFlow_constructor/app/client/cypress_ci.config.ts
NandanAnantharamu 7c9622158b
test: removed retries from all config files (#35750)
/ok-to-test tags="@tag.Sanity"

<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10465694897>
> Commit: 59aa72f20f7b023a60889e75686b7441644c7caf
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10465694897&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Tue, 20 Aug 2024 05:40:54 UTC
<!-- end of auto-generated comment: Cypress test results  -->
2024-08-20 11:20:35 +05:30

42 lines
1.1 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: 0,
openMode: 0,
},
e2e: {
baseUrl: "http://localhost/",
setupNodeEvents(on, config) {
require("@cypress/grep/src/plugin")(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",
],
},
});