mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 21:53:46 -05:00
6452f73aab
Upload cypress artifacts to Google bucket GitOrigin-RevId: e43ab9259f2cd4030d5edbf35825251bc2804e45
27 lines
636 B
TypeScript
27 lines
636 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/components/**/*.spec.{js,ts,tsx}',
|
|
},
|
|
retries: {
|
|
runMode: 3,
|
|
},
|
|
})
|