index.js 909 B

1234567891011121314151617181920212223242526
  1. /* eslint-disable arrow-body-style */
  2. // https://docs.cypress.io/guides/guides/plugins-guide.html
  3. // if you need a custom webpack configuration you can uncomment the following import
  4. // and then use the `file:preprocessor` event
  5. // as explained in the cypress docs
  6. // https://docs.cypress.io/api/plugins/preprocessors-api.html#Examples
  7. // /* eslint-disable import/no-extraneous-dependencies, global-require */
  8. // const webpack = require('@cypress/webpack-preprocessor')
  9. module.exports = (on, config) => {
  10. // on('file:preprocessor', webpack({
  11. // webpackOptions: require('@vue/cli-service/webpack.config'),
  12. // watchOptions: {}
  13. // }))
  14. return Object.assign({}, config, {
  15. fixturesFolder: "tests/e2e/fixtures",
  16. integrationFolder: "tests/e2e/specs",
  17. screenshotsFolder: "tests/e2e/screenshots",
  18. videosFolder: "tests/e2e/videos",
  19. supportFile: "tests/e2e/support/index.js",
  20. });
  21. };