mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-22 21:08:13 -05:00
f48e1b46a8
which works with proxies
23 lines
534 B
JavaScript
23 lines
534 B
JavaScript
const { defineConfig } = require('cypress');
|
|
|
|
module.exports = defineConfig({
|
|
requestTimeout: 30000,
|
|
defaultCommandTimeout: 20000,
|
|
reporter: 'cypress-multi-reporters',
|
|
reporterOptions: {
|
|
configFile: 'multi-reporter.json'
|
|
},
|
|
video: true,
|
|
videosFolder: 'results/videos',
|
|
screenshotsFolder: 'results/screenshots',
|
|
e2e: {
|
|
setupNodeEvents(on, config) {
|
|
return require("../plugins/index.js")(on, config);
|
|
},
|
|
env: {
|
|
swaggerBase: '{{baseUrl}}/api/schema?ts=' + Date.now(),
|
|
},
|
|
baseUrl: 'http://fullstack:81',
|
|
}
|
|
});
|