2022-09-14 00:29:20 +05:30
|
|
|
import { defineConfig } from 'cypress';
|
|
|
|
import plugins from './cypress/plugins/index.js';
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
projectId: 'a9yxci',
|
|
|
|
viewportWidth: 1240,
|
|
|
|
viewportHeight: 660,
|
|
|
|
watchForFileChanges: false,
|
|
|
|
defaultCommandTimeout: 5000,
|
|
|
|
videoUploadOnPasses: false,
|
|
|
|
chromeWebSecurity: false,
|
2022-10-29 09:05:20 +05:30
|
|
|
numTestsKeptInMemory: 0,
|
2022-09-14 00:29:20 +05:30
|
|
|
e2e: {
|
2022-11-16 13:21:23 +05:30
|
|
|
experimentalSessionAndOrigin: true,
|
2022-09-14 00:29:20 +05:30
|
|
|
// We've imported your old cypress plugins here.
|
|
|
|
// You may want to clean this up later by importing these.
|
|
|
|
setupNodeEvents(on, config) {
|
|
|
|
return plugins(on, config);
|
|
|
|
},
|
|
|
|
baseUrl: 'http://localhost:8585',
|
|
|
|
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
|
|
|
|
},
|
|
|
|
});
|