1
0
mirror of https://github.com/NginxProxyManager/nginx-proxy-manager.git synced 2025-07-29 19:01:13 +03:00

Updated cypress entirely

This commit is contained in:
Jamie Curnow
2023-05-31 11:36:58 +10:00
parent 0461689d65
commit e7791c2a0f
15 changed files with 33 additions and 15 deletions

View File

@ -1,4 +1,4 @@
FROM cypress/included:9.4.1
FROM cypress/included:12.13.0
COPY --chown=1000 ./test /test

View File

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