Update cypress.

This commit is contained in:
Paulo Gustavo Veiga 2023-01-07 13:47:53 -08:00
parent 8bb538444e
commit 46d4a1c31a
8 changed files with 18 additions and 115 deletions

View File

@ -1,7 +1,7 @@
version: '3' version: '3'
services: services:
e2e: e2e:
image: cypress/included:11.2.0 image: cypress/included:12.3.0
container_name: wisemapping-integration-tests container_name: wisemapping-integration-tests
entrypoint: '/bin/sh -c "yarn install && yarn build && yarn test:integration"' entrypoint: '/bin/sh -c "yarn install && yarn build && yarn test:integration"'
working_dir: /e2e working_dir: /e2e

View File

@ -1,7 +1,7 @@
version: '3' version: '3'
services: services:
e2e: e2e:
image: cypress/included:11.2.0 image: cypress/included:12.3.0
container_name: wisemapping-integration-tests container_name: wisemapping-integration-tests
entrypoint: '/bin/sh -c "yarn build && yarn test:integration"' entrypoint: '/bin/sh -c "yarn build && yarn test:integration"'
working_dir: /e2e working_dir: /e2e

View File

@ -12,7 +12,7 @@
}, },
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"cypress": "^8.4.1", "cypress": "^12.3.0",
"eslint-import-resolver-webpack": "^0.13.2", "eslint-import-resolver-webpack": "^0.13.2",
"husky": "4", "husky": "4",
"lerna": "^3.16.4", "lerna": "^3.16.4",

View File

@ -25,7 +25,7 @@
"babel-polyfill": "^6.26.0", "babel-polyfill": "^6.26.0",
"copy-webpack-plugin": "^10.2.1", "copy-webpack-plugin": "^10.2.1",
"css-loader": "^6.7.1", "css-loader": "^6.7.1",
"cypress": "11.2.0", "cypress": "^12.3.0",
"cypress-image-snapshot": "^4.0.1", "cypress-image-snapshot": "^4.0.1",
"eslint": "^7.14.0", "eslint": "^7.14.0",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",

View File

@ -54,7 +54,7 @@
"compression-webpack-plugin": "^9.2.0", "compression-webpack-plugin": "^9.2.0",
"copy-webpack-plugin": "^10.0.0", "copy-webpack-plugin": "^10.0.0",
"core-js": "^3.15.2", "core-js": "^3.15.2",
"cypress": "^11.2.0", "cypress": "^12.3.0",
"cypress-image-snapshot": "^4.0.1", "cypress-image-snapshot": "^4.0.1",
"eslint": "^8.4.1", "eslint": "^8.4.1",
"eslint-config-airbnb-base": "^14.2.1", "eslint-config-airbnb-base": "^14.2.1",

View File

@ -30,7 +30,7 @@
"@babel/plugin-transform-modules-commonjs": "^7.14.5", "@babel/plugin-transform-modules-commonjs": "^7.14.5",
"@babel/preset-env": "^7.19.4", "@babel/preset-env": "^7.19.4",
"babel-loader": "^8.2.2", "babel-loader": "^8.2.2",
"cypress": "11.2.0", "cypress": "12.3.0",
"cypress-image-snapshot": "^4.0.1", "cypress-image-snapshot": "^4.0.1",
"eslint": "^5.16.0", "eslint": "^5.16.0",
"eslint-config-airbnb-base": "^14.2.1", "eslint-config-airbnb-base": "^14.2.1",

View File

@ -28,7 +28,7 @@
"@typescript-eslint/parser": "^5.41.0", "@typescript-eslint/parser": "^5.41.0",
"@welldone-software/why-did-you-render": "^7.0.1", "@welldone-software/why-did-you-render": "^7.0.1",
"copy-webpack-plugin": "^7.0.0", "copy-webpack-plugin": "^7.0.0",
"cypress": "11.2.0", "cypress": "^12.3.0",
"cypress-image-snapshot": "^4.0.1", "cypress-image-snapshot": "^4.0.1",
"eslint": "^7.14.0", "eslint": "^7.14.0",
"eslint-config-prettier": "^8.0.0", "eslint-config-prettier": "^8.0.0",

119
yarn.lock
View File

@ -1519,7 +1519,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@cypress/request@npm:^2.88.10, @cypress/request@npm:^2.88.6": "@cypress/request@npm:^2.88.10":
version: 2.88.10 version: 2.88.10
resolution: "@cypress/request@npm:2.88.10" resolution: "@cypress/request@npm:2.88.10"
dependencies: dependencies:
@ -4279,13 +4279,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@types/sinonjs__fake-timers@npm:^6.0.2":
version: 6.0.4
resolution: "@types/sinonjs__fake-timers@npm:6.0.4"
checksum: 200cb24235409964269465e8a94ad735ec8bab98f3b2405cd6351fa6f6399be268cbbd4e824c9d361d9431ae11070cff4c3b6400b18aff03cb7933985853c0c9
languageName: node
linkType: hard
"@types/sizzle@npm:*, @types/sizzle@npm:^2.3.2": "@types/sizzle@npm:*, @types/sizzle@npm:^2.3.2":
version: 2.3.3 version: 2.3.3
resolution: "@types/sizzle@npm:2.3.3" resolution: "@types/sizzle@npm:2.3.3"
@ -4787,7 +4780,7 @@ __metadata:
babel-polyfill: ^6.26.0 babel-polyfill: ^6.26.0
copy-webpack-plugin: ^10.2.1 copy-webpack-plugin: ^10.2.1
css-loader: ^6.7.1 css-loader: ^6.7.1
cypress: 11.2.0 cypress: ^12.3.0
cypress-image-snapshot: ^4.0.1 cypress-image-snapshot: ^4.0.1
emoji-picker-react: ^4.4.7 emoji-picker-react: ^4.4.7
eslint: ^7.14.0 eslint: ^7.14.0
@ -4836,7 +4829,7 @@ __metadata:
compression-webpack-plugin: ^9.2.0 compression-webpack-plugin: ^9.2.0
copy-webpack-plugin: ^10.0.0 copy-webpack-plugin: ^10.0.0
core-js: ^3.15.2 core-js: ^3.15.2
cypress: ^11.2.0 cypress: ^12.3.0
cypress-image-snapshot: ^4.0.1 cypress-image-snapshot: ^4.0.1
emoji-picker-react: ^4.4.3 emoji-picker-react: ^4.4.3
eslint: ^8.4.1 eslint: ^8.4.1
@ -4876,7 +4869,7 @@ __metadata:
"@wisemapping/core-js": ^0.4.0 "@wisemapping/core-js": ^0.4.0
babel-loader: ^8.2.2 babel-loader: ^8.2.2
core-js: ^3.15.2 core-js: ^3.15.2
cypress: 11.2.0 cypress: 12.3.0
cypress-image-snapshot: ^4.0.1 cypress-image-snapshot: ^4.0.1
eslint: ^5.16.0 eslint: ^5.16.0
eslint-config-airbnb-base: ^14.2.1 eslint-config-airbnb-base: ^14.2.1
@ -4917,7 +4910,7 @@ __metadata:
"@wisemapping/editor": ^0.4.0 "@wisemapping/editor": ^0.4.0
axios: ^0.27.2 axios: ^0.27.2
copy-webpack-plugin: ^7.0.0 copy-webpack-plugin: ^7.0.0
cypress: 11.2.0 cypress: ^12.3.0
cypress-image-snapshot: ^4.0.1 cypress-image-snapshot: ^4.0.1
dayjs: ^1.10.7 dayjs: ^1.10.7
eslint: ^7.14.0 eslint: ^7.14.0
@ -6549,7 +6542,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"cli-table3@npm:~0.6.0, cli-table3@npm:~0.6.1": "cli-table3@npm:~0.6.1":
version: 0.6.3 version: 0.6.3
resolution: "cli-table3@npm:0.6.3" resolution: "cli-table3@npm:0.6.3"
dependencies: dependencies:
@ -7415,9 +7408,9 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"cypress@npm:11.2.0, cypress@npm:^11.2.0": "cypress@npm:12.3.0, cypress@npm:^12.3.0":
version: 11.2.0 version: 12.3.0
resolution: "cypress@npm:11.2.0" resolution: "cypress@npm:12.3.0"
dependencies: dependencies:
"@cypress/request": ^2.88.10 "@cypress/request": ^2.88.10
"@cypress/xvfb": ^1.2.4 "@cypress/xvfb": ^1.2.4
@ -7463,59 +7456,7 @@ __metadata:
yauzl: ^2.10.0 yauzl: ^2.10.0
bin: bin:
cypress: bin/cypress cypress: bin/cypress
checksum: e13649fb4b62a3c9dff7cc571f4e01dba009d8179b05c4f885c5ceb4ed76b78a7323fec491d992da35527708b54e596bfc9edb1d702f788317889f794d8c1e76 checksum: 00658996bcca918254348eb42bc03079ccf2d583e5c9c04190267edcbc542d4a22835d7399711c99f7aa7334412104b23cc5a1aa7f02b8b541c12298bf3f63f0
languageName: node
linkType: hard
"cypress@npm:^8.4.1":
version: 8.7.0
resolution: "cypress@npm:8.7.0"
dependencies:
"@cypress/request": ^2.88.6
"@cypress/xvfb": ^1.2.4
"@types/node": ^14.14.31
"@types/sinonjs__fake-timers": ^6.0.2
"@types/sizzle": ^2.3.2
arch: ^2.2.0
blob-util: ^2.0.2
bluebird: ^3.7.2
cachedir: ^2.3.0
chalk: ^4.1.0
check-more-types: ^2.24.0
cli-cursor: ^3.1.0
cli-table3: ~0.6.0
commander: ^5.1.0
common-tags: ^1.8.0
dayjs: ^1.10.4
debug: ^4.3.2
enquirer: ^2.3.6
eventemitter2: ^6.4.3
execa: 4.1.0
executable: ^4.1.1
extract-zip: 2.0.1
figures: ^3.2.0
fs-extra: ^9.1.0
getos: ^3.2.1
is-ci: ^3.0.0
is-installed-globally: ~0.4.0
lazy-ass: ^1.6.0
listr2: ^3.8.3
lodash: ^4.17.21
log-symbols: ^4.0.0
minimist: ^1.2.5
ospath: ^1.2.2
pretty-bytes: ^5.6.0
proxy-from-env: 1.0.0
ramda: ~0.27.1
request-progress: ^3.0.0
supports-color: ^8.1.1
tmp: ~0.2.1
untildify: ^4.0.0
url: ^0.11.0
yauzl: ^2.10.0
bin:
cypress: bin/cypress
checksum: 607771bda6c37228cd8537a7faa2ae89ae9bcf2720210b22865f532059d8c7e0741bb7520f241c46ceacd503ff349e41f0eea104734e71423071dd67a79098b9
languageName: node languageName: node
linkType: hard linkType: hard
@ -8923,13 +8864,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"eventemitter2@npm:^6.4.3":
version: 6.4.9
resolution: "eventemitter2@npm:6.4.9"
checksum: be59577c1e1c35509c7ba0e2624335c35bbcfd9485b8a977384c6cc6759341ea1a98d3cb9dbaa5cea4fff9b687e504504e3f9c2cc1674cf3bd8a43a7c74ea3eb
languageName: node
linkType: hard
"eventemitter3@npm:^3.1.0": "eventemitter3@npm:^3.1.0":
version: 3.1.2 version: 3.1.2
resolution: "eventemitter3@npm:3.1.2" resolution: "eventemitter3@npm:3.1.2"
@ -15220,13 +15154,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"punycode@npm:1.3.2":
version: 1.3.2
resolution: "punycode@npm:1.3.2"
checksum: b8807fd594b1db33335692d1f03e8beeddde6fda7fbb4a2e32925d88d20a3aa4cd8dcc0c109ccaccbd2ba761c208dfaaada83007087ea8bfb0129c9ef1b99ed6
languageName: node
linkType: hard
"punycode@npm:^2.1.0, punycode@npm:^2.1.1": "punycode@npm:^2.1.0, punycode@npm:^2.1.1":
version: 2.1.1 version: 2.1.1
resolution: "punycode@npm:2.1.1" resolution: "punycode@npm:2.1.1"
@ -15269,13 +15196,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"querystring@npm:0.2.0":
version: 0.2.0
resolution: "querystring@npm:0.2.0"
checksum: 8258d6734f19be27e93f601758858c299bdebe71147909e367101ba459b95446fbe5b975bf9beb76390156a592b6f4ac3a68b6087cea165c259705b8b4e56a69
languageName: node
linkType: hard
"querystringify@npm:^2.1.1": "querystringify@npm:^2.1.1":
version: 2.2.0 version: 2.2.0
resolution: "querystringify@npm:2.2.0" resolution: "querystringify@npm:2.2.0"
@ -15304,13 +15224,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"ramda@npm:~0.27.1":
version: 0.27.2
resolution: "ramda@npm:0.27.2"
checksum: 28d6735dd1eea1a796c56cf6111f3673c6105bbd736e521cdd7826c46a18eeff337c2dba4668f6eed990d539b9961fd6db19aa46ccc1530ba67a396c0a9f580d
languageName: node
linkType: hard
"randombytes@npm:^2.1.0": "randombytes@npm:^2.1.0":
version: 2.1.0 version: 2.1.0
resolution: "randombytes@npm:2.1.0" resolution: "randombytes@npm:2.1.0"
@ -18329,16 +18242,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"url@npm:^0.11.0":
version: 0.11.0
resolution: "url@npm:0.11.0"
dependencies:
punycode: 1.3.2
querystring: 0.2.0
checksum: 50d100d3dd2d98b9fe3ada48cadb0b08aa6be6d3ac64112b867b56b19be4bfcba03c2a9a0d7922bfd7ac17d4834e88537749fe182430dfd9b68e520175900d90
languageName: node
linkType: hard
"use@npm:^3.1.0": "use@npm:^3.1.0":
version: 3.1.1 version: 3.1.1
resolution: "use@npm:3.1.1" resolution: "use@npm:3.1.1"
@ -18882,7 +18785,7 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "wisemapping-front-end@workspace:." resolution: "wisemapping-front-end@workspace:."
dependencies: dependencies:
cypress: ^8.4.1 cypress: ^12.3.0
eslint-import-resolver-webpack: ^0.13.2 eslint-import-resolver-webpack: ^0.13.2
husky: 4 husky: 4
lerna: ^3.16.4 lerna: ^3.16.4