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',
|
2023-01-05 05:18:41 -05:00
|
|
|
video: !!process.env.CI,
|
2022-07-29 04:18:50 -04:00
|
|
|
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) {
|
|
|
|
//
|
|
|
|
},
|
2022-10-28 08:58:11 -04:00
|
|
|
specPattern: './{test,modules/**/test}/frontend/**/*.spec.{js,ts,tsx}',
|
2022-06-08 03:39:09 -04:00
|
|
|
},
|
2022-06-28 07:03:07 -04:00
|
|
|
retries: {
|
|
|
|
runMode: 3,
|
|
|
|
},
|
2022-06-08 03:39:09 -04:00
|
|
|
})
|