mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
bump playwright lib to 10.8.0, update dependencies and update snapshots (#30662)
This commit is contained in:
parent
4d093a7795
commit
cf68cfdf4b
9 changed files with 293 additions and 287 deletions
|
|
@ -34,7 +34,7 @@ npm run test -- login --project=chrome
|
|||
npm run test
|
||||
```
|
||||
|
||||
#### 3. Inspect test results at `/test-results` folder when something fails unexpectedly.
|
||||
#### 3. Inspect test results at `/results/output` folder when something fails unexpectedly.
|
||||
|
||||
## Updating screenshots is done strictly via Playwright's docker container for consistency
|
||||
|
||||
|
|
@ -51,22 +51,22 @@ docker run -it --rm -v "$(pwd):/mattermost/" --ipc=host mcr.microsoft.com/playwr
|
|||
```
|
||||
export PW_BASE_URL=http://host.docker.internal:8065
|
||||
export PW_HEADLESS=true
|
||||
cd mattermost
|
||||
cd mattermost/e2e-tests/playwright
|
||||
|
||||
# Install npm packages. Use "npm ci" to match the automated environment
|
||||
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm ci
|
||||
|
||||
# Run specific test. See https://playwright.dev/docs/test-cli.
|
||||
npm run test -- -- login --project=chrome
|
||||
npm run test -- login --project=chrome
|
||||
|
||||
# Or run all tests
|
||||
npm run test
|
||||
|
||||
# Run visual tests
|
||||
npm run test -- -- visual
|
||||
npm run test -- visual
|
||||
|
||||
# Update snapshots of visual tests
|
||||
npm run test -- -- visual --update-snapshots
|
||||
npm run test -- visual --update-snapshots
|
||||
```
|
||||
|
||||
## Page/Component Object Model
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@mattermost/playwright-lib",
|
||||
"version": "10.7.0",
|
||||
"version": "10.8.0",
|
||||
"description": "A comprehensive end-to-end testing library for Mattermost web, desktop and plugin applications using Playwright",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
@ -45,9 +45,9 @@
|
|||
"@axe-core/playwright": "4.10.1",
|
||||
"@mattermost/client": "file:../../../webapp/platform/client",
|
||||
"@mattermost/types": "file:../../../webapp/platform/types",
|
||||
"@percy/cli": "1.30.7",
|
||||
"@percy/cli": "1.30.9",
|
||||
"@percy/playwright": "1.0.7",
|
||||
"async-wait-until": "2.0.23",
|
||||
"async-wait-until": "2.0.27",
|
||||
"axe-core": "4.10.3",
|
||||
"deepmerge": "4.3.1",
|
||||
"dotenv": "16.4.7",
|
||||
|
|
@ -57,9 +57,9 @@
|
|||
"devDependencies": {
|
||||
"@rollup/plugin-typescript": "12.1.2",
|
||||
"@types/mime-types": "2.1.4",
|
||||
"@types/node": "22.13.14",
|
||||
"@types/react": "19.0.12",
|
||||
"rollup": "4.38.0",
|
||||
"@types/node": "22.14.0",
|
||||
"@types/react": "19.1.0",
|
||||
"rollup": "4.39.0",
|
||||
"rollup-plugin-copy": "3.5.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
|
|||
|
|
@ -626,6 +626,7 @@ const defaultServerConfig: AdminConfig = {
|
|||
AggregatePostsAfterDays: 365,
|
||||
PostsAggregatorJobStartTime: '03:00',
|
||||
IndexPrefix: '',
|
||||
GlobalSearchPrefix: '',
|
||||
LiveIndexingBatchSize: 10,
|
||||
BatchSize: 10000,
|
||||
RequestTimeoutSeconds: 30,
|
||||
|
|
|
|||
550
e2e-tests/playwright/package-lock.json
generated
550
e2e-tests/playwright/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -31,11 +31,11 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "8.29.0",
|
||||
"eslint": "9.23.0",
|
||||
"eslint-import-resolver-typescript": "4.3.1",
|
||||
"eslint": "9.24.0",
|
||||
"eslint-import-resolver-typescript": "4.3.2",
|
||||
"eslint-plugin-header": "3.1.1",
|
||||
"eslint-plugin-import": "2.31.0",
|
||||
"prettier": "3.5.3",
|
||||
"typescript": "5.8.2"
|
||||
"typescript": "5.8.3"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 107 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
|
|
@ -847,6 +847,7 @@ export type ElasticsearchSettings = {
|
|||
AggregatePostsAfterDays: number;
|
||||
PostsAggregatorJobStartTime: string;
|
||||
IndexPrefix: string;
|
||||
GlobalSearchPrefix: string;
|
||||
LiveIndexingBatchSize: number;
|
||||
BatchSize: number;
|
||||
RequestTimeoutSeconds: number;
|
||||
|
|
|
|||
Loading…
Reference in a new issue