Revert to cypress 14, 15 was causing problems with executing external commands

This commit is contained in:
Jamie Curnow
2025-11-03 12:53:23 +10:00
parent 7642d0a000
commit b9a34ebb7e
3 changed files with 25 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
FROM cypress/included:15.5.0
FROM cypress/included:14.0.1
# Disable Cypress CLI colors
ENV FORCE_COLOR=0

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'
},
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',
}
});