Files
frappe-lms/cypress.config.js
Jannat Patel 9b8721fa87 ci: run ui tests parallely (#2232)
* ci: run ui tests parallely

* ci: run ui tests parallely

* ci: run ui tests parallely
2026-03-19 17:20:48 +05:30

27 lines
618 B
JavaScript

import { defineConfig } from "cypress";
import cypressSplit from "cypress-split";
export default defineConfig({
projectId: "vandxn",
adminPassword: "admin",
testUser: "frappe@example.com",
defaultCommandTimeout: 20000,
pageLoadTimeout: 15000,
video: true,
videoUploadOnPasses: false,
retries: {
runMode: 2,
openMode: 0,
},
e2e: {
baseUrl: "http://pertest:8000",
setupNodeEvents(on, config) {
// Splitting tests only works when Cypress Cloud is not orchestrating parallel runs.
if (process.env.CYPRESS_CLOUD_PARALLEL !== "1") {
cypressSplit(on, config);
}
return config;
},
},
});