mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2025-07-23 09:31:08 +02:00
20 lines
567 B
JavaScript
20 lines
567 B
JavaScript
// cypress.config.js
|
||
const { defineConfig } = require('cypress');
|
||
|
||
module.exports = defineConfig({
|
||
e2e: {
|
||
// your app under test must already be running on this port
|
||
baseUrl: `http://localhost:${process.env.PORT || 5001}`,
|
||
defaultCommandTimeout: 60000,
|
||
pageLoadTimeout: 60000,
|
||
requestTimeout: 1500,
|
||
responseTimeout: 15000,
|
||
specPattern: 'cypress/e2e/**/*.spec.js',
|
||
supportFile: false,
|
||
setupNodeEvents(on, config) {
|
||
// here you could hook into events, but we don’t need anything special
|
||
return config;
|
||
}
|
||
},
|
||
});
|