E2E/Playwright: Upgrade playwright dependencies (#30951)

* upgrade playwright dependencies

* fix test on scheduled messages
Этот коммит содержится в:
sabril
2025-05-08 23:39:15 +08:00
коммит произвёл GitHub
родитель 0058edb806
Коммит 3be58f5f34
4 изменённых файлов: 881 добавлений и 464 удалений

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

@@ -1,6 +1,6 @@
{ {
"name": "@mattermost/playwright-lib", "name": "@mattermost/playwright-lib",
"version": "10.8.0", "version": "10.9.0",
"description": "A comprehensive end-to-end testing library for Mattermost web, desktop and plugin applications using Playwright", "description": "A comprehensive end-to-end testing library for Mattermost web, desktop and plugin applications using Playwright",
"repository": { "repository": {
"type": "git", "type": "git",
@@ -57,9 +57,9 @@
"devDependencies": { "devDependencies": {
"@rollup/plugin-typescript": "12.1.2", "@rollup/plugin-typescript": "12.1.2",
"@types/mime-types": "2.1.4", "@types/mime-types": "2.1.4",
"@types/node": "22.14.1", "@types/node": "22.15.14",
"@types/react": "19.1.2", "@types/react": "19.1.3",
"rollup": "4.40.0", "rollup": "4.40.2",
"rollup-plugin-copy": "3.5.0" "rollup-plugin-copy": "3.5.0"
}, },
"peerDependencies": { "peerDependencies": {

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

@@ -70,8 +70,8 @@ export default class ScheduleMessageModal {
await dateLocator.click(); await dateLocator.click();
// if day is less than 9 then add a 0 in front of the day // if day is single digit then prefix with a 0
if (day < 9) { if (day < 10) {
return `${month} 0${day}`; return `${month} 0${day}`;
} }

1325
e2e-tests/playwright/package-lock.json сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

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

@@ -30,13 +30,13 @@
"cross-env": "7.0.3", "cross-env": "7.0.3",
"dayjs": "1.11.13", "dayjs": "1.11.13",
"luxon": "3.6.1", "luxon": "3.6.1",
"zod": "3.24.3" "zod": "3.24.4"
}, },
"devDependencies": { "devDependencies": {
"@types/luxon": "3.6.2", "@types/luxon": "3.6.2",
"@typescript-eslint/eslint-plugin": "8.30.1", "@typescript-eslint/eslint-plugin": "8.32.0",
"eslint": "9.25.0", "eslint": "9.26.0",
"eslint-import-resolver-typescript": "4.3.3", "eslint-import-resolver-typescript": "4.3.4",
"eslint-plugin-header": "3.1.1", "eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.31.0", "eslint-plugin-import": "2.31.0",
"prettier": "3.5.3", "prettier": "3.5.3",