keycloak-scim/js/apps/admin-ui/cypress.config.js
Jon Koops b1a6a5a1b0
Run Cypress tests in parallel using cypress-split (#20685)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-02-20 11:10:54 +01:00

26 lines
577 B
JavaScript

import { defineConfig } from "cypress";
import cypressSplit from "cypress-split";
export default defineConfig({
projectId: "j4yhox",
chromeWebSecurity: false,
viewportWidth: 1360,
viewportHeight: 768,
defaultCommandTimeout: 30000,
numTestsKeptInMemory: 30,
experimentalMemoryManagement: true,
retries: {
runMode: 3,
},
e2e: {
baseUrl: "http://localhost:8080",
slowTestThreshold: 30000,
specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}",
setupNodeEvents(on, config) {
cypressSplit(on, config);
return config;
},
},
});