Files
crowd-fund-web/cypress.github.ts
T
Santiago de la Fuente a0e79d0f8a Refactor Cypress configuration and tests to TypeScript
Converted Cypress files and custom commands from JavaScript to TypeScript for improved type safety and readability. Removed unused test files and fixtures, and updated existing commands with TypeScript interfaces and better structure.
2025-05-21 11:30:54 -03:00

25 lines
651 B
TypeScript

import { defineConfig } from "cypress";
export default defineConfig({
e2e: {
baseUrl: "http://localhost:4321",
screenshotOnRunFailure: true,
video: true,
videoCompression: 32,
viewportWidth: 1280,
viewportHeight: 720,
retries: {
runMode: 2,
openMode: 0,
},
setupNodeEvents(
on: Cypress.PluginEvents,
config: Cypress.PluginConfigOptions,
): Cypress.PluginConfigOptions {
console.log("Ejecutando Cypress en GitHub Actions");
config.env.CI = true;
return config;
},
},
});