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