2022-12-21 08:19:29 +00:00
|
|
|
const { defineConfig } = require('cypress');
|
2022-12-20 13:59:53 +00:00
|
|
|
|
|
|
|
module.exports = defineConfig({
|
2022-12-21 08:19:29 +00:00
|
|
|
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
|
|
|
|
},
|
2022-12-20 13:59:53 +00:00
|
|
|
},
|
|
|
|
});
|