mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 03:53:05 -05:00
f8ddacafd0
Update the pattern for matching Cypress test files GitOrigin-RevId: d41cafe0468da5b124286f2413b065f650241b7e
26 lines
619 B
TypeScript
26 lines
619 B
TypeScript
import { defineConfig } from 'cypress'
|
|
import { webpackConfig } from './cypress/support/webpack.cypress'
|
|
|
|
export default defineConfig({
|
|
fixturesFolder: 'cypress/fixtures',
|
|
video: true,
|
|
screenshotsFolder: 'cypress/results',
|
|
videosFolder: 'cypress/results',
|
|
videoUploadOnPasses: false,
|
|
viewportHeight: 800,
|
|
viewportWidth: 800,
|
|
component: {
|
|
devServer: {
|
|
framework: 'react',
|
|
bundler: 'webpack',
|
|
webpackConfig,
|
|
},
|
|
setupNodeEvents(on, config) {
|
|
//
|
|
},
|
|
specPattern: './{test,modules/**/test}/frontend/**/*.spec.{js,ts,tsx}',
|
|
},
|
|
retries: {
|
|
runMode: 3,
|
|
},
|
|
})
|