mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 00:57:30 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			663 B
		
	
	
	
		
			JavaScript
		
	
	
	
		
			Vendored
		
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			663 B
		
	
	
	
		
			JavaScript
		
	
	
	
		
			Vendored
		
	
	
	
const { defineConfig } = require('cypress')
 | 
						|
 | 
						|
module.exports = defineConfig({
 | 
						|
    chromeWebSecurity: false,
 | 
						|
    retries: 2,
 | 
						|
    video: false,
 | 
						|
    defaultCommandTimeout: 5000,
 | 
						|
    watchForFileChanges: false,
 | 
						|
    videosFolder: 'tests/cypress/videos',
 | 
						|
    screenshotsFolder: 'tests/cypress/screenshots',
 | 
						|
    fixturesFolder: 'tests/cypress/fixture',
 | 
						|
    e2e: {
 | 
						|
        setupNodeEvents(on, config) {
 | 
						|
            return require('./tests/cypress/plugins/index.js')(on, config)
 | 
						|
        },
 | 
						|
        baseUrl: 'http://ninja.test:8000/',
 | 
						|
        specPattern: 'tests/cypress/integration/**/*.cy.{js,jsx,ts,tsx}',
 | 
						|
        supportFile: 'tests/cypress/support/index.js',
 | 
						|
    },
 | 
						|
})
 |