22 lines
696 B
JavaScript
22 lines
696 B
JavaScript
const { defineConfig } = require('cypress');
|
|
|
|
module.exports = defineConfig({
|
|
e2e: {
|
|
baseUrl: 'http://localhost:8080/',
|
|
fixturesFolder: 'tests/cypress/fixtures',
|
|
screenshotsFolder: 'tests/cypress/screenshots',
|
|
supportFile: 'tests/cypress/support/index.js',
|
|
videosFolder: 'tests/cypress/videos',
|
|
video: true,
|
|
specPattern: 'tests/cypress/integration/*.spec.js',
|
|
component: {
|
|
componentFolder: 'src',
|
|
testFiles: '**/*.spec.js',
|
|
supportFile: 'tests/cypress/support/unit.js',
|
|
},
|
|
setupNodeEvents(on, config) {
|
|
// implement node event listeners here
|
|
},
|
|
},
|
|
});
|