mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
21 lines
545 B
JavaScript
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",
|
|
},
|
|
},
|
|
});
|