2022-06-08 03:39:09 -04:00
|
|
|
import { defineConfig } from 'cypress'
|
|
|
|
import { webpackConfig } from './cypress/support/webpack.cypress'
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
fixturesFolder: 'cypress/fixtures',
|
2022-07-29 04:18:50 -04:00
|
|
|
video: true,
|
|
|
|
screenshotsFolder: 'cypress/results',
|
|
|
|
videosFolder: 'cypress/results',
|
|
|
|
videoUploadOnPasses: false,
|
2022-06-08 03:39:09 -04:00
|
|
|
viewportHeight: 800,
|
|
|
|
viewportWidth: 800,
|
|
|
|
component: {
|
|
|
|
devServer: {
|
|
|
|
framework: 'react',
|
|
|
|
bundler: 'webpack',
|
|
|
|
webpackConfig,
|
|
|
|
},
|
|
|
|
setupNodeEvents(on, config) {
|
|
|
|
//
|
|
|
|
},
|
|
|
|
specPattern:
|
|
|
|
'./{test,modules/**/test}/frontend/components/**/*.spec.{js,ts,tsx}',
|
|
|
|
},
|
2022-06-28 07:03:07 -04:00
|
|
|
retries: {
|
|
|
|
runMode: 3,
|
|
|
|
},
|
2022-06-08 03:39:09 -04:00
|
|
|
})
|