mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-02-01 16:32:54 +00:00
Cypress module conversion and updated chalk
This commit is contained in:
@@ -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: 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',
|
||||
}
|
||||
});
|
||||
23
test/cypress/config/ci.mjs
Normal file
23
test/cypress/config/ci.mjs
Normal file
@@ -0,0 +1,23 @@
|
||||
import { defineConfig } from 'cypress';
|
||||
import pluginSetup from '../plugins/index.mjs';
|
||||
|
||||
export default 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 pluginSetup(on, config);
|
||||
},
|
||||
env: {
|
||||
swaggerBase: `{{baseUrl}}/api/schema?ts=${Date.now()}`,
|
||||
},
|
||||
baseUrl: "http://fullstack:81",
|
||||
}
|
||||
});
|
||||
@@ -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: 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://127.0.0.1:3081',
|
||||
}
|
||||
});
|
||||
23
test/cypress/config/dev.mjs
Normal file
23
test/cypress/config/dev.mjs
Normal file
@@ -0,0 +1,23 @@
|
||||
import { defineConfig } from 'cypress';
|
||||
import pluginSetup from '../plugins/index.mjs';
|
||||
|
||||
export default 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 pluginSetup(on, config);
|
||||
},
|
||||
env: {
|
||||
swaggerBase: `{{baseUrl}}/api/schema?ts=${Date.now()}`,
|
||||
},
|
||||
baseUrl: "http://127.0.0.1:3081",
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user