mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
24 lines
693 B
JavaScript
24 lines
693 B
JavaScript
/* eslint-disable import-x/no-extraneous-dependencies */
|
|
/* eslint-disable import-x/no-default-export */
|
|
const { defineConfig } = require('cypress')
|
|
|
|
module.exports = defineConfig({
|
|
projectId: 'c3jsph',
|
|
defaultCommandTimeout: 30000,
|
|
requestTimeout: 30000,
|
|
videoCompression: false,
|
|
viewportWidth: 1920,
|
|
viewportHeight: 1080,
|
|
e2e: {
|
|
// We've imported your old cypress plugins here.
|
|
// You may want to clean this up later by importing these.
|
|
setupNodeEvents(on, config) {
|
|
require('./cypress/plugins/index.js')(on, config)
|
|
return config
|
|
},
|
|
baseUrl: 'http://localhost:3000',
|
|
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
|
|
},
|
|
video: true,
|
|
})
|