Updated swagger cypress package,

which works with proxies
This commit is contained in:
Jamie Curnow committed 2024-10-16 08:32:49 +10:00
1 parent 351ba8dacd
commit f48e1b46a8
12 files changed
+52 -69

No files matched your search

-22
View File
@@ -1,22 +0,0 @@
const { defineConfig } = require('cypress');
module.exports = defineConfig({
requestTimeout: 30000,
defaultCommandTimeout: 20000,
reporter: 'cypress-multi-reporters',
reporterOptions: {
configFile: 'multi-reporter.json'
},
video: false,
videosFolder: 'results/videos',
screenshotsFolder: 'results/screenshots',
e2e: {
setupNodeEvents(on, config) {
return require("../plugins/index.js")(on, config);
},
env: {
swaggerBase: 'http://npm:81/api/schema',
},
baseUrl: 'http://npm:81',
}
});