Skip to content

Commit b9a34eb

Browse files
committed
Revert to cypress 14, 15 was causing problems with executing external commands
1 parent 7642d0a commit b9a34eb

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

test/cypress/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM cypress/included:15.5.0
1+
FROM cypress/included:14.0.1
22

33
# Disable Cypress CLI colors
44
ENV FORCE_COLOR=0

test/cypress/config/dev.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
const { defineConfig } = require('cypress');
2+
3+
module.exports = defineConfig({
4+
requestTimeout: 30000,
5+
defaultCommandTimeout: 20000,
6+
reporter: 'cypress-multi-reporters',
7+
reporterOptions: {
8+
configFile: 'multi-reporter.json'
9+
},
10+
video: true,
11+
videosFolder: 'results/videos',
12+
screenshotsFolder: 'results/screenshots',
13+
e2e: {
14+
setupNodeEvents(on, config) {
15+
return require("../plugins/index.js")(on, config);
16+
},
17+
env: {
18+
swaggerBase: '{{baseUrl}}/api/schema?ts=' + Date.now(),
19+
},
20+
baseUrl: 'http://127.0.0.1:3081',
21+
}
22+
});

test/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"@jc21/cypress-swagger-validation": "^0.3.2",
88
"@quobix/vacuum": "^0.19.4",
99
"axios": "^1.13.1",
10-
"cypress": "^15.5.0",
10+
"cypress": "^14.0.1",
1111
"cypress-multi-reporters": "^2.0.5",
1212
"cypress-wait-until": "^3.0.2",
1313
"eslint": "^9.39.0",
@@ -22,6 +22,7 @@
2222
"scripts": {
2323
"cypress": "HTTP_PROXY=127.0.0.1:8128 HTTPS_PROXY=127.0.0.1:8128 cypress open --config-file=cypress/config/ci.js",
2424
"cypress:headless": "HTTP_PROXY=127.0.0.1:8128 HTTPS_PROXY=127.0.0.1:8128 cypress run --config-file=cypress/config/ci.js",
25+
"cypress:dev": "cypress run --config-file=cypress/config/dev.js",
2526
"swagger-lint": "vacuum lint -b -q -d -a -n=warn"
2627
},
2728
"author": "",

0 commit comments

Comments
 (0)