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

View File

@@ -7,7 +7,7 @@
"@jc21/cypress-swagger-validation": "^0.3.2",
"@quobix/vacuum": "^0.19.4",
"axios": "^1.13.1",
"cypress": "^15.5.0",
"cypress": "^14.0.1",
"cypress-multi-reporters": "^2.0.5",
"cypress-wait-until": "^3.0.2",
"eslint": "^9.39.0",
@@ -22,6 +22,7 @@
"scripts": {
"cypress": "HTTP_PROXY=127.0.0.1:8128 HTTPS_PROXY=127.0.0.1:8128 cypress open --config-file=cypress/config/ci.js",
"cypress:headless": "HTTP_PROXY=127.0.0.1:8128 HTTPS_PROXY=127.0.0.1:8128 cypress run --config-file=cypress/config/ci.js",
"cypress:dev": "cypress run --config-file=cypress/config/dev.js",
"swagger-lint": "vacuum lint -b -q -d -a -n=warn"
},
"author": "",