mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 21:56:12 +08:00 
			
		
		
		
	Removed the last reminents of cypress (#4819)
				
					
				
			This commit is contained in:
		@@ -1,7 +1,6 @@
 | 
				
			|||||||
/.idea
 | 
					/.idea
 | 
				
			||||||
/node_modules
 | 
					/node_modules
 | 
				
			||||||
/data*
 | 
					/data*
 | 
				
			||||||
/cypress
 | 
					 | 
				
			||||||
/out
 | 
					/out
 | 
				
			||||||
/test
 | 
					/test
 | 
				
			||||||
/kubernetes
 | 
					/kubernetes
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,6 @@
 | 
				
			|||||||
module.exports = {
 | 
					module.exports = {
 | 
				
			||||||
    ignorePatterns: [
 | 
					    ignorePatterns: [
 | 
				
			||||||
        "test/*.js",
 | 
					        "test/*.js",
 | 
				
			||||||
        "test/cypress",
 | 
					 | 
				
			||||||
        "server/modules/apicache/*",
 | 
					        "server/modules/apicache/*",
 | 
				
			||||||
        "src/util.js"
 | 
					        "src/util.js"
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,28 +0,0 @@
 | 
				
			|||||||
const { defineConfig } = require("cypress");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
module.exports = defineConfig({
 | 
					 | 
				
			||||||
    projectId: "vyjuem",
 | 
					 | 
				
			||||||
    e2e: {
 | 
					 | 
				
			||||||
        experimentalStudio: true,
 | 
					 | 
				
			||||||
        setupNodeEvents(on, config) {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        fixturesFolder: "test/cypress/fixtures",
 | 
					 | 
				
			||||||
        screenshotsFolder: "test/cypress/screenshots",
 | 
					 | 
				
			||||||
        videosFolder: "test/cypress/videos",
 | 
					 | 
				
			||||||
        downloadsFolder: "test/cypress/downloads",
 | 
					 | 
				
			||||||
        supportFile: "test/cypress/support/e2e.js",
 | 
					 | 
				
			||||||
        baseUrl: "http://localhost:3002",
 | 
					 | 
				
			||||||
        defaultCommandTimeout: 10000,
 | 
					 | 
				
			||||||
        pageLoadTimeout: 60000,
 | 
					 | 
				
			||||||
        viewportWidth: 1920,
 | 
					 | 
				
			||||||
        viewportHeight: 1080,
 | 
					 | 
				
			||||||
        specPattern: [
 | 
					 | 
				
			||||||
            "test/cypress/e2e/setup.cy.js",
 | 
					 | 
				
			||||||
            "test/cypress/e2e/**/*.js"
 | 
					 | 
				
			||||||
        ],
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    env: {
 | 
					 | 
				
			||||||
        baseUrl: "http://localhost:3002",
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
});
 | 
					 | 
				
			||||||
@@ -1,10 +0,0 @@
 | 
				
			|||||||
const { defineConfig } = require("cypress");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
module.exports = defineConfig({
 | 
					 | 
				
			||||||
    e2e: {
 | 
					 | 
				
			||||||
        supportFile: false,
 | 
					 | 
				
			||||||
        specPattern: [
 | 
					 | 
				
			||||||
            "test/cypress/unit/**/*.js"
 | 
					 | 
				
			||||||
        ],
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
});
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user