Cypress/E2E: Upgrade cypress and test server config (#24594)

* upgrade cypress and test server config

* fix checks to lint and types

* fix CloudSettings and upgrade packages to latest

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Saturnino Abril
2023-10-03 22:26:37 +08:00
коммит произвёл GitHub
родитель 43cb6fa6c1
Коммит f3f9a84456
15 изменённых файлов: 2347 добавлений и 1544 удалений

Просмотреть файл

@@ -1,54 +1,54 @@
{
"devDependencies": {
"@babel/eslint-parser": "7.21.8",
"@babel/eslint-plugin": "7.19.1",
"@cypress/request": "2.88.11",
"@mattermost/types": "7.10.0",
"@testing-library/cypress": "9.0.0",
"@types/async": "3.2.20",
"@types/authenticator": "1.1.1",
"@types/express": "4.17.17",
"@types/fs-extra": "11.0.1",
"@types/lodash": "4.14.194",
"@babel/eslint-parser": "7.22.15",
"@babel/eslint-plugin": "7.22.10",
"@cypress/request": "3.0.1",
"@mattermost/types": "9.0.0",
"@testing-library/cypress": "10.0.1",
"@types/async": "3.2.21",
"@types/authenticator": "1.1.2",
"@types/express": "4.17.18",
"@types/fs-extra": "11.0.2",
"@types/lodash": "4.14.199",
"@types/lodash.intersection": "4.4.7",
"@types/lodash.mapkeys": "4.6.7",
"@types/lodash.without": "4.4.7",
"@types/mime-types": "2.1.1",
"@types/mochawesome": "6.2.1",
"@types/pdf-parse": "1.1.1",
"@types/recursive-readdir": "2.2.1",
"@types/shelljs": "0.8.12",
"@types/uuid": "9.0.1",
"@typescript-eslint/eslint-plugin": "5.59.2",
"@typescript-eslint/parser": "5.59.2",
"@types/mime-types": "2.1.2",
"@types/mochawesome": "6.2.2",
"@types/pdf-parse": "1.1.2",
"@types/recursive-readdir": "2.2.2",
"@types/shelljs": "0.8.13",
"@types/uuid": "9.0.4",
"@typescript-eslint/eslint-plugin": "6.7.4",
"@typescript-eslint/parser": "6.7.4",
"async": "3.2.4",
"authenticator": "1.1.5",
"aws-sdk": "2.1371.0",
"axios": "1.4.0",
"axios-retry": "3.4.0",
"chai": "4.3.7",
"aws-sdk": "2.1468.0",
"axios": "1.5.1",
"axios-retry": "3.8.0",
"chai": "4.3.10",
"chalk": "4.1.2",
"client-oauth2": "github:larkox/js-client-oauth2#e24e2eb5dfcbbbb3a59d095e831dbe0012b0ac49",
"cross-env": "7.0.3",
"cypress": "12.11.0",
"cypress": "13.3.0",
"cypress-file-upload": "5.0.8",
"cypress-multi-reporters": "1.6.3",
"cypress-plugin-tab": "1.0.5",
"cypress-wait-until": "1.7.2",
"dayjs": "1.11.7",
"cypress-wait-until": "2.0.1",
"dayjs": "1.11.10",
"deepmerge": "4.3.1",
"dotenv": "16.0.3",
"eslint": "8.39.0",
"eslint-import-resolver-webpack": "0.13.2",
"eslint-plugin-cypress": "2.13.3",
"dotenv": "16.3.1",
"eslint": "8.50.0",
"eslint-import-resolver-webpack": "0.13.7",
"eslint-plugin-cypress": "2.15.1",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-mattermost": "github:mattermost/eslint-plugin-mattermost#5b0c972eacf19286e4c66221b39113bf8728a99e",
"eslint-plugin-no-only-tests": "3.1.0",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react": "7.33.2",
"express": "4.18.2",
"extract-zip": "2.0.1",
"knex": "2.4.2",
"knex": "2.5.1",
"localforage": "1.10.0",
"lodash.intersection": "4.4.0",
"lodash.mapkeys": "4.6.0",
@@ -58,7 +58,7 @@
"mime": "3.0.0",
"mime-types": "2.1.35",
"mocha": "10.2.0",
"mocha-junit-reporter": "2.2.0",
"mocha-junit-reporter": "2.2.1",
"mocha-multi-reporters": "1.5.1",
"mochawesome": "7.1.3",
"mochawesome-merge": "4.3.0",
@@ -67,12 +67,12 @@
"mysql": "2.18.1",
"path": "0.12.7",
"pdf-parse": "1.1.1",
"pg": "8.10.0",
"pg": "8.11.3",
"recursive-readdir": "2.2.3",
"shelljs": "0.8.5",
"timezones.json": "1.7.0",
"typescript": "5.0.4",
"uuid": "9.0.0",
"timezones.json": "1.7.1",
"typescript": "5.2.2",
"uuid": "9.0.1",
"yargs": "17.7.2"
},
"overrides": {
@@ -81,7 +81,6 @@
}
},
"scripts": {
"postinstall": "patch-package",
"check-types": "tsc -b",
"cypress:open": "cross-env TZ=Etc/UTC cypress open",
"cypress:run": "cross-env TZ=Etc/UTC cypress run",
@@ -97,8 +96,5 @@
"uniq-meta": "grep -r \"^// $META:\" cypress | grep -ow '@\\w*' | sort | uniq",
"check": "eslint --ext .js,.ts . --quiet --cache",
"fix": "eslint --ext .js,.ts . --quiet --fix --cache"
},
"dependencies": {
"patch-package": "7.0.0"
}
}