2023-06-22 13:41:37 -05:00
|
|
|
/* global process */
|
2023-04-25 10:33:38 -05:00
|
|
|
import { defineConfig } from 'cypress';
|
2023-05-03 07:23:15 -05:00
|
|
|
import plugin from './plugins/index.js';
|
2023-05-04 11:21:26 -05:00
|
|
|
import 'process';
|
2023-04-25 10:33:38 -05:00
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
video: false,
|
2023-05-11 02:46:01 -05:00
|
|
|
defaultCommandTimeout: 10000,
|
2023-04-25 10:33:38 -05:00
|
|
|
modifyObstructiveCode: false,
|
|
|
|
fixturesFolder: 'data',
|
|
|
|
chromeWebSecurity: false,
|
2023-07-06 07:34:32 -05:00
|
|
|
screenshotOnRunFailure: false,
|
2023-05-04 11:21:26 -05:00
|
|
|
env: { USER_INTERFACE: process.env.USER_INTERFACE },
|
2023-04-25 10:33:38 -05:00
|
|
|
retries: {
|
|
|
|
runMode: 1,
|
|
|
|
openMode: 0,
|
|
|
|
},
|
|
|
|
e2e: {
|
|
|
|
setupNodeEvents(on, config) {
|
2023-05-03 07:23:15 -05:00
|
|
|
plugin(on, config);
|
2023-04-25 10:33:38 -05:00
|
|
|
},
|
|
|
|
specPattern: 'integration_tests/**/*_spec.js',
|
|
|
|
},
|
|
|
|
});
|