forked from verdnatura/salix-front
34 lines
1.1 KiB
JavaScript
34 lines
1.1 KiB
JavaScript
const { defineConfig } = require('cypress');
|
|
|
|
module.exports = defineConfig({
|
|
e2e: {
|
|
baseUrl: 'http://localhost:9000/',
|
|
experimentalStudio: true,
|
|
fixturesFolder: 'test/cypress/fixtures',
|
|
screenshotsFolder: 'test/cypress/screenshots',
|
|
supportFile: 'test/cypress/support/index.js',
|
|
videosFolder: 'test/cypress/videos',
|
|
video: false,
|
|
specPattern: 'test/cypress/integration/**/*.spec.js',
|
|
experimentalRunAllSpecs: true,
|
|
watchForFileChanges: true,
|
|
reporter: 'cypress-mochawesome-reporter',
|
|
reporterOptions: {
|
|
charts: true,
|
|
reportPageTitle: 'Cypress Inline Reporter',
|
|
embeddedScreenshots: true,
|
|
reportDir: 'test/cypress/reports',
|
|
inlineAssets: true,
|
|
},
|
|
component: {
|
|
componentFolder: 'src',
|
|
testFiles: '**/*.spec.js',
|
|
supportFile: 'test/cypress/support/unit.js',
|
|
},
|
|
setupNodeEvents(on, config) {
|
|
require('cypress-mochawesome-reporter/plugin')(on);
|
|
// implement node event listeners here
|
|
},
|
|
},
|
|
});
|