Files
NLnetLabs-krill/tests/ui/cypress_plugins/index.js
T

26 lines
890 B
JavaScript

/* eslint-disable arrow-body-style */
// https://docs.cypress.io/guides/guides/plugins-guide.html
// if you need a custom webpack configuration you can uncomment the following import
// and then use the `file:preprocessor` event
// as explained in the cypress docs
// https://docs.cypress.io/api/plugins/preprocessors-api.html#Examples
// /* eslint-disable import/no-extraneous-dependencies, global-require */
// const webpack = require('@cypress/webpack-preprocessor')
module.exports = (on, config) => {
// on('file:preprocessor', webpack({
// webpackOptions: require('@vue/cli-service/webpack.config'),
// watchOptions: {}
// }))
return Object.assign({}, config, {
fixturesFolder: 'test-resources/ui/',
integrationFolder: 'tests/ui/cypress_specs',
screenshotsFolder: 'target/ui/screenshots',
videosFolder: 'target/ui/videos',
supportFile: false
})
}