libreoffice-online/cypress_test/cypress.config.ts
Henry Castro 3c0731bf2c cypress: add emacs mode lines
Change-Id: I2cb19d34639ea6af55c693fad7bef8855a0ccba3
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-07-10 10:49:04 -04:00

27 lines
758 B
TypeScript

/* -*- typescript-indent-level: 8 -*- */
import { defineConfig } from 'cypress';
import plugin from './plugins/index.js';
import process from 'process';
import installLogsPrinter from 'cypress-terminal-report/src/installLogsPrinter';
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: {
baseUrl: 'http://' + process.env.COOLWSD_SERVER + ':' + process.env.FREE_PORT,
setupNodeEvents(on, config) {
installLogsPrinter(on);
plugin(on, config);
},
specPattern: 'integration_tests/**/*_spec.js',
},
});