Merge pull request #4076 from mempool/knorrium/update_cypress_deps
Update Cypress deps
This commit is contained in:
commit
b977c4332f
2
.github/workflows/cypress.yml
vendored
2
.github/workflows/cypress.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16.15.0
|
node-version: 18
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
cache-dependency-path: ${{ matrix.module }}/frontend/package-lock.json
|
cache-dependency-path: ${{ matrix.module }}/frontend/package-lock.json
|
||||||
|
|
||||||
|
@ -42,9 +42,6 @@
|
|||||||
// -- This will overwrite an existing command --
|
// -- This will overwrite an existing command --
|
||||||
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
|
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
|
||||||
|
|
||||||
'use strict'
|
|
||||||
|
|
||||||
import 'cypress-wait-until';
|
|
||||||
import { PageIdleDetector } from './PageIdleDetector';
|
import { PageIdleDetector } from './PageIdleDetector';
|
||||||
import { mockWebSocket } from './websocket';
|
import { mockWebSocket } from './websocket';
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
// ***********************************************************
|
// ***********************************************************
|
||||||
|
|
||||||
// When a command from ./commands is ready to use, import with `import './commands'` syntax
|
// When a command from ./commands is ready to use, import with `import './commands'` syntax
|
||||||
|
import 'cypress-wait-until';
|
||||||
import './commands';
|
import './commands';
|
||||||
import failOnConsoleError from 'cypress-fail-on-console-error';
|
import failOnConsoleError from 'cypress-fail-on-console-error';
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"extends": "../tsconfig.json",
|
"extends": "../tsconfig.json",
|
||||||
"include": ["**/*.ts"],
|
"include": ["**/*.ts"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"types": ["cypress"],
|
"types": ["cypress", "node", "cypress-wait-until"],
|
||||||
"lib": ["es2015", "dom"],
|
"lib": ["es2015", "dom"],
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
|
54
frontend/package-lock.json
generated
54
frontend/package-lock.json
generated
@ -58,9 +58,10 @@
|
|||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@cypress/schematic": "^2.5.0",
|
"@cypress/schematic": "^2.5.0",
|
||||||
"cypress": "^12.17.1",
|
"@types/cypress": "^1.1.3",
|
||||||
|
"cypress": "^12.17.2",
|
||||||
"cypress-fail-on-console-error": "~4.0.3",
|
"cypress-fail-on-console-error": "~4.0.3",
|
||||||
"cypress-wait-until": "^1.7.2",
|
"cypress-wait-until": "^2.0.0",
|
||||||
"mock-socket": "~9.2.1",
|
"mock-socket": "~9.2.1",
|
||||||
"start-server-and-test": "~2.0.0"
|
"start-server-and-test": "~2.0.0"
|
||||||
}
|
}
|
||||||
@ -3925,6 +3926,16 @@
|
|||||||
"@types/node": "*"
|
"@types/node": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@types/cypress": {
|
||||||
|
"version": "1.1.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/cypress/-/cypress-1.1.3.tgz",
|
||||||
|
"integrity": "sha512-OXe0Gw8LeCflkG1oPgFpyrYWJmEKqYncBsD/J0r17r0ETx/TnIGDNLwXt/pFYSYuYTpzcq1q3g62M9DrfsBL4g==",
|
||||||
|
"deprecated": "This is a stub types definition for cypress (https://cypress.io). cypress provides its own type definitions, so you don't need @types/cypress installed!",
|
||||||
|
"optional": true,
|
||||||
|
"dependencies": {
|
||||||
|
"cypress": "*"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@types/eslint": {
|
"node_modules/@types/eslint": {
|
||||||
"version": "8.4.1",
|
"version": "8.4.1",
|
||||||
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.1.tgz",
|
||||||
@ -6641,9 +6652,9 @@
|
|||||||
"peer": true
|
"peer": true
|
||||||
},
|
},
|
||||||
"node_modules/cypress": {
|
"node_modules/cypress": {
|
||||||
"version": "12.17.1",
|
"version": "12.17.2",
|
||||||
"resolved": "https://registry.npmjs.org/cypress/-/cypress-12.17.1.tgz",
|
"resolved": "https://registry.npmjs.org/cypress/-/cypress-12.17.2.tgz",
|
||||||
"integrity": "sha512-eKfBgO6t8waEyhegL4gxD7tcI6uTCGttu+ZU7y9Hq8BlpMztd7iLeIF4AJFAnbZH1xjX+wwgg4cRKFNSvv3VWQ==",
|
"integrity": "sha512-hxWAaWbqQBzzMuadSGSuQg5PDvIGOovm6xm0hIfpCVcORsCAj/gF2p0EvfnJ4f+jK2PCiDgP6D2eeE9/FK4Mjg==",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -6710,10 +6721,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/cypress-wait-until": {
|
"node_modules/cypress-wait-until": {
|
||||||
"version": "1.7.2",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/cypress-wait-until/-/cypress-wait-until-1.7.2.tgz",
|
"resolved": "https://registry.npmjs.org/cypress-wait-until/-/cypress-wait-until-2.0.0.tgz",
|
||||||
"integrity": "sha512-uZ+M8/MqRcpf+FII/UZrU7g1qYZ4aVlHcgyVopnladyoBrpoaMJ4PKZDrdOJ05H5RHbr7s9Tid635X3E+ZLU/Q==",
|
"integrity": "sha512-ulUZyrWBn+OuC8oiQuGKAScDYfpaWnE3dEE/raUo64w4RHQxZrQ/iMIWT4ZjGMMPr3P+BFEALCRnjQeRqzZj6g==",
|
||||||
"optional": true
|
"optional": true,
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18.16.0",
|
||||||
|
"npm": ">=9.5.1"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"node_modules/cypress/node_modules/@types/node": {
|
"node_modules/cypress/node_modules/@types/node": {
|
||||||
"version": "14.18.53",
|
"version": "14.18.53",
|
||||||
@ -18862,6 +18877,15 @@
|
|||||||
"@types/node": "*"
|
"@types/node": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@types/cypress": {
|
||||||
|
"version": "1.1.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/cypress/-/cypress-1.1.3.tgz",
|
||||||
|
"integrity": "sha512-OXe0Gw8LeCflkG1oPgFpyrYWJmEKqYncBsD/J0r17r0ETx/TnIGDNLwXt/pFYSYuYTpzcq1q3g62M9DrfsBL4g==",
|
||||||
|
"optional": true,
|
||||||
|
"requires": {
|
||||||
|
"cypress": "*"
|
||||||
|
}
|
||||||
|
},
|
||||||
"@types/eslint": {
|
"@types/eslint": {
|
||||||
"version": "8.4.1",
|
"version": "8.4.1",
|
||||||
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.1.tgz",
|
||||||
@ -20968,9 +20992,9 @@
|
|||||||
"peer": true
|
"peer": true
|
||||||
},
|
},
|
||||||
"cypress": {
|
"cypress": {
|
||||||
"version": "12.17.1",
|
"version": "12.17.2",
|
||||||
"resolved": "https://registry.npmjs.org/cypress/-/cypress-12.17.1.tgz",
|
"resolved": "https://registry.npmjs.org/cypress/-/cypress-12.17.2.tgz",
|
||||||
"integrity": "sha512-eKfBgO6t8waEyhegL4gxD7tcI6uTCGttu+ZU7y9Hq8BlpMztd7iLeIF4AJFAnbZH1xjX+wwgg4cRKFNSvv3VWQ==",
|
"integrity": "sha512-hxWAaWbqQBzzMuadSGSuQg5PDvIGOovm6xm0hIfpCVcORsCAj/gF2p0EvfnJ4f+jK2PCiDgP6D2eeE9/FK4Mjg==",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@cypress/request": "^2.88.11",
|
"@cypress/request": "^2.88.11",
|
||||||
@ -21151,9 +21175,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"cypress-wait-until": {
|
"cypress-wait-until": {
|
||||||
"version": "1.7.2",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/cypress-wait-until/-/cypress-wait-until-1.7.2.tgz",
|
"resolved": "https://registry.npmjs.org/cypress-wait-until/-/cypress-wait-until-2.0.0.tgz",
|
||||||
"integrity": "sha512-uZ+M8/MqRcpf+FII/UZrU7g1qYZ4aVlHcgyVopnladyoBrpoaMJ4PKZDrdOJ05H5RHbr7s9Tid635X3E+ZLU/Q==",
|
"integrity": "sha512-ulUZyrWBn+OuC8oiQuGKAScDYfpaWnE3dEE/raUo64w4RHQxZrQ/iMIWT4ZjGMMPr3P+BFEALCRnjQeRqzZj6g==",
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
"d": {
|
"d": {
|
||||||
|
@ -110,9 +110,10 @@
|
|||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@cypress/schematic": "^2.5.0",
|
"@cypress/schematic": "^2.5.0",
|
||||||
"cypress": "^12.17.1",
|
"@types/cypress": "^1.1.3",
|
||||||
|
"cypress": "^12.17.2",
|
||||||
"cypress-fail-on-console-error": "~4.0.3",
|
"cypress-fail-on-console-error": "~4.0.3",
|
||||||
"cypress-wait-until": "^1.7.2",
|
"cypress-wait-until": "^2.0.0",
|
||||||
"mock-socket": "~9.2.1",
|
"mock-socket": "~9.2.1",
|
||||||
"start-server-and-test": "~2.0.0"
|
"start-server-and-test": "~2.0.0"
|
||||||
},
|
},
|
||||||
|
@ -4,8 +4,10 @@
|
|||||||
"outDir": "./out-tsc/spec",
|
"outDir": "./out-tsc/spec",
|
||||||
"types": [
|
"types": [
|
||||||
"jasmine",
|
"jasmine",
|
||||||
"node"
|
"node",
|
||||||
]
|
"cypress",
|
||||||
|
"cypress-wait-until"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"src/test.ts",
|
"src/test.ts",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user