Files
linux-odyssey/tests/cypress.config.js
T

16 lines
358 B
JavaScript

const { defineConfig } = require('cypress')
const process = require('process')
const getConfig = (key, defaultValue) => {
return process.env[key] || defaultValue
}
module.exports = defineConfig({
e2e: {
baseUrl: getConfig('BASE_URL', 'http://localhost:5173'),
viewportWidth: 1920,
viewportHeight: 1080,
pageLoadTimeout: 120000,
},
})