libreoffice-online/cypress_test/cypress.config.ts

25 lines
560 B
TypeScript
Raw Normal View History

/* global process */
import { defineConfig } from 'cypress';
import plugin from './plugins/index.js';
import 'process';
export default defineConfig({
video: false,
defaultCommandTimeout: 10000,
modifyObstructiveCode: false,
fixturesFolder: 'data',
chromeWebSecurity: false,
screenshotOnRunFailure: false,
env: { USER_INTERFACE: process.env.USER_INTERFACE },
retries: {
runMode: 1,
openMode: 0,
},
e2e: {
setupNodeEvents(on, config) {
plugin(on, config);
},
specPattern: 'integration_tests/**/*_spec.js',
},
});