mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
2bd7bb449f
[web] enable 3 retries for all cypress tests GitOrigin-RevId: 9624baeae66cfcf770986920250a11284787f51d
23 lines
595 B
TypeScript
23 lines
595 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}',
|
|
},
|
|
// Docs: https://docs.cypress.io/guides/guides/test-retries#Global-Configuration
|
|
retries: 3,
|
|
})
|