removed retries from config file /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/10158592302> > Commit: 851bf5a08893cfede46033e3d516506e14aed19f > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10158592302&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Sanity` > Spec: > <hr>Tue, 30 Jul 2024 08:37:16 UTC <!-- end of auto-generated comment: Cypress test results --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated the Cypress testing configuration to disable retries during test execution in run mode, streamlining the testing process by providing immediate feedback on test failures. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
44 lines
1.0 KiB
TypeScript
44 lines
1.0 KiB
TypeScript
import { defineConfig } from "cypress";
|
|
|
|
export default defineConfig({
|
|
watchForFileChanges: false,
|
|
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: "https://dev.appsmith.com/",
|
|
env: {
|
|
USERNAME: "xxxx",
|
|
PASSWORD: "xxx",
|
|
grepFilterSpecs: true,
|
|
grepOmitFiltered: true,
|
|
},
|
|
setupNodeEvents(on, config) {
|
|
require("@cypress/grep/src/plugin")(config);
|
|
require("./cypress/plugins/index.js")(on, config);
|
|
return config;
|
|
},
|
|
specPattern: "cypress/e2e/**/*.{js,ts}",
|
|
testIsolation: false,
|
|
excludeSpecPattern: "cypress/e2e/**/spec_utility.ts",
|
|
},
|
|
});
|