Path: blob/master/web/client/tests/e2e/plugins/index.js
994 views
/* eslint-disable arrow-body-style */1// https://docs.cypress.io/guides/guides/plugins-guide.html23// if you need a custom webpack configuration you can uncomment the following import4// and then use the `file:preprocessor` event5// as explained in the cypress docs6// https://docs.cypress.io/api/plugins/preprocessors-api.html#Examples78// /* eslint-disable import/no-extraneous-dependencies, global-require */9// const webpack = require('@cypress/webpack-preprocessor')1011module.exports = (on, config) => {12// on('file:preprocessor', webpack({13// webpackOptions: require('@vue/cli-service/webpack.config'),14// watchOptions: {}15// }))1617return Object.assign({}, config, {18fixturesFolder: "tests/e2e/fixtures",19integrationFolder: "tests/e2e/specs",20screenshotsFolder: "tests/e2e/screenshots",21videosFolder: "tests/e2e/videos",22supportFile: "tests/e2e/support/index.js",23});24};252627