mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
Some checks are pending
API / build (push) Waiting to run
Server CI / Compute Go Version (push) Waiting to run
Server CI / Check mocks (push) Blocked by required conditions
Server CI / Check go mod tidy (push) Blocked by required conditions
Server CI / check-style (push) Blocked by required conditions
Server CI / Check serialization methods for hot structs (push) Blocked by required conditions
Server CI / Vet API (push) Blocked by required conditions
Server CI / Check migration files (push) Blocked by required conditions
Server CI / Generate email templates (push) Blocked by required conditions
Server CI / Check store layers (push) Blocked by required conditions
Server CI / Check mmctl docs (push) Blocked by required conditions
Server CI / Postgres with binary parameters (push) Blocked by required conditions
Server CI / Postgres (push) Blocked by required conditions
Server CI / Postgres (FIPS) (push) Blocked by required conditions
Server CI / Generate Test Coverage (push) Blocked by required conditions
Server CI / Run mmctl tests (push) Blocked by required conditions
Server CI / Run mmctl tests (FIPS) (push) Blocked by required conditions
Server CI / Build mattermost server app (push) Blocked by required conditions
Web App CI / check-lint (push) Waiting to run
Web App CI / check-i18n (push) Blocked by required conditions
Web App CI / check-types (push) Blocked by required conditions
Web App CI / test (platform) (push) Blocked by required conditions
Web App CI / test (mattermost-redux) (push) Blocked by required conditions
Web App CI / test (channels shard 1/4) (push) Blocked by required conditions
Web App CI / test (channels shard 2/4) (push) Blocked by required conditions
Web App CI / test (channels shard 3/4) (push) Blocked by required conditions
Web App CI / test (channels shard 4/4) (push) Blocked by required conditions
Web App CI / upload-coverage (push) Blocked by required conditions
Web App CI / build (push) Blocked by required conditions
* chore: upgrade playwright to 1.57 and its dependencies * bump webapp's npm to accept ^11.0.0 * updated per comment * fix failed tests
50 lines
2.7 KiB
JSON
50 lines
2.7 KiB
JSON
{
|
|
"name": "mattermost-playwright",
|
|
"workspaces": [
|
|
"lib"
|
|
],
|
|
"scripts": {
|
|
"postinstall": "script/post_install.sh && npm run build",
|
|
"build": "npm run build --workspaces",
|
|
"build:watch": "npm run build:watch --workspaces",
|
|
"tsc": "tsc -b && npm run tsc --workspaces",
|
|
"lint": "eslint .",
|
|
"lint:test-docs": "node script/lint-test-docs.js",
|
|
"prettier": "prettier . --check",
|
|
"prettier:fix": "prettier --write .",
|
|
"check": "npm run lint && npm run prettier && npm run tsc && npm run lint:test-docs",
|
|
"test": "npm run build && cross-env PW_SNAPSHOT_ENABLE=true playwright test",
|
|
"test:ci": "npm run build && cross-env PW_SNAPSHOT_ENABLE=true playwright test --grep-invert @visual --project=chrome",
|
|
"test:a11y-update-snapshots": "npm run build && cross-env PW_SNAPSHOT_ENABLE=true playwright test specs/accessibility --project=chrome --grep @snapshots --update-snapshots --update-source-method=overwrite",
|
|
"test:visual": "npm run build && cross-env PW_SNAPSHOT_ENABLE=true playwright test --grep @visual",
|
|
"test:visual-update-snapshots": "npm run build && cross-env PW_SNAPSHOT_ENABLE=true playwright test specs/visual --grep @visual --update-snapshots",
|
|
"test:update-snapshots": "npm run build && cross-env PW_SNAPSHOT_ENABLE=true playwright test --project=chrome --grep @snapshots --update-snapshots --update-source-method=overwrite",
|
|
"test:slomo": "npm run build && cross-env PW_SNAPSHOT_ENABLE=true PW_SLOWMO=1000 playwright test",
|
|
"percy:docker": "npm run build && cross-env PW_PERCY_ENABLE=true PERCY_BROWSER_EXECUTABLE='/ms-playwright/chromium-1169/chrome-linux/chrome' percy exec -- playwright test specs/visual --grep @visual --project=chrome --project=ipad",
|
|
"codegen": "npm run build && cross-env playwright codegen $PW_BASE_URL",
|
|
"playwright-ui": "npm run build && cross-env playwright test --ui",
|
|
"show-report": "npm run build && npx playwright show-report results/reporter",
|
|
"clean": "rm -rf dist node_modules package-lock.json *.tsbuildinfo logs results storage_state test-results && npm run clean --workspaces"
|
|
},
|
|
"dependencies": {
|
|
"@mattermost/client": "file:../../webapp/platform/client",
|
|
"@mattermost/playwright-lib": "*",
|
|
"@mattermost/types": "file:../../webapp/platform/types"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.57.0",
|
|
"@types/luxon": "3.7.1",
|
|
"@typescript-eslint/eslint-plugin": "8.50.0",
|
|
"cross-env": "10.1.0",
|
|
"dayjs": "1.11.19",
|
|
"eslint": "9.39.2",
|
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
"eslint-plugin-header": "3.1.1",
|
|
"eslint-plugin-import": "2.32.0",
|
|
"glob": "13.0.0",
|
|
"luxon": "3.7.2",
|
|
"prettier": "3.7.4",
|
|
"typescript": "5.9.3",
|
|
"zod": "4.2.1"
|
|
}
|
|
}
|