wrolpi/app/cypress.config.js
Roland 1e37f0d4dd
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Controller Tests / controller-tests (push) Has been cancelled
Jest Tests / jest-tests (push) Has been cancelled
Skipping Caddy tests on CICD.
2026-03-10 20:30:46 -06:00

21 lines
545 B
JavaScript

const { defineConfig } = require("cypress");
module.exports = defineConfig({
e2e: {
// Use HTTP for CI, HTTPS for local development
baseUrl: process.env.CI ? 'http://localhost:3000' : 'https://localhost:8443',
specPattern: 'cypress/e2e/**/*.cy.js',
supportFile: 'cypress/support/e2e.js',
video: process.env.CI ? true : false,
screenshotOnRunFailure: true,
env: {
CI: !!process.env.CI,
},
},
component: {
devServer: {
framework: "create-react-app",
bundler: "webpack",
},
},
});