mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Migrate to cypress 10
This commit is contained in:
		
							
								
								
									
										13
									
								
								src-ui/cypress.config.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								src-ui/cypress.config.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
import { defineConfig } from 'cypress'
 | 
			
		||||
 | 
			
		||||
export default defineConfig({
 | 
			
		||||
  videosFolder: 'cypress/videos',
 | 
			
		||||
  screenshotsFolder: 'cypress/screenshots',
 | 
			
		||||
  fixturesFolder: 'cypress/fixtures',
 | 
			
		||||
  e2e: {
 | 
			
		||||
    setupNodeEvents(on, config) {
 | 
			
		||||
      return require('./cypress/plugins/index.ts')(on, config)
 | 
			
		||||
    },
 | 
			
		||||
    baseUrl: 'http://localhost:4200',
 | 
			
		||||
  },
 | 
			
		||||
})
 | 
			
		||||
@@ -1,9 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
  "integrationFolder": "cypress/integration",
 | 
			
		||||
  "supportFile": "cypress/support/index.ts",
 | 
			
		||||
  "videosFolder": "cypress/videos",
 | 
			
		||||
  "screenshotsFolder": "cypress/screenshots",
 | 
			
		||||
  "pluginsFile": "cypress/plugins/index.ts",
 | 
			
		||||
  "fixturesFolder": "cypress/fixtures",
 | 
			
		||||
  "baseUrl": "http://localhost:4200"
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user