mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 17:33:38 +00:00
054b0e2e28
Only retry Cypress tests in run mode GitOrigin-RevId: e862f8e88e9fe970a5c2b9142c05d8b648ac4b1e
24 lines
532 B
TypeScript
24 lines
532 B
TypeScript
import { defineConfig } from 'cypress'
|
|
import { webpackConfig } from './cypress/support/webpack.cypress'
|
|
|
|
export default defineConfig({
|
|
fixturesFolder: 'cypress/fixtures',
|
|
video: false,
|
|
viewportHeight: 800,
|
|
viewportWidth: 800,
|
|
component: {
|
|
devServer: {
|
|
framework: 'react',
|
|
bundler: 'webpack',
|
|
webpackConfig,
|
|
},
|
|
setupNodeEvents(on, config) {
|
|
//
|
|
},
|
|
specPattern:
|
|
'./{test,modules/**/test}/frontend/components/**/*.spec.{js,ts,tsx}',
|
|
},
|
|
retries: {
|
|
runMode: 3,
|
|
},
|
|
})
|