Some checks failed
Server CI / Postgres (shard 0) (push) Has been skipped
Server CI / Postgres (shard 3) (push) Has been skipped
BuildEnv Docker Image / build-image (push) Failing after 4s
BuildEnv Docker Image / build-image-fips (push) Failing after 4s
Migration Review & Release Notes / Generate migration review & release notes (push) Failing after 3s
Server CI / Build Environment (push) Failing after 3s
Server CI / Postgres (shard 1) (push) Has been skipped
Tools CI / check-style (mattermost-govet) (push) Failing after 4s
Server CI / Postgres (shard 2) (push) Has been skipped
Tools CI / check-style (mmgotool) (push) Failing after 3s
Server CI / Elasticsearch v8 Compatibility (push) Has been skipped
Server CI / OpenSearch v2 Compatibility (push) Has been skipped
Server CI / Postgres FIPS (shard 0) (push) Has been skipped
Tools CI / Test (mattermost-govet) (push) Failing after 3s
Server CI / Postgres FIPS (shard 1) (push) Has been skipped
Server CI / Postgres FIPS (shard 2) (push) Has been skipped
Tools CI / Test (mmgotool) (push) Failing after 3s
Server CI / Postgres FIPS (shard 3) (push) Has been skipped
Server CI / Run mmctl tests (push) Has been skipped
Server CI / Run mmctl tests (FIPS) (push) Has been skipped
Server CI / Merge Postgres Test Results (push) Has been skipped
Server CI / Merge Postgres FIPS Test Results (push) Has been skipped
Server CI / Check backport migrations (push) Has been skipped
Server CI / Check generated files (push) Has been skipped
Server CI / check-style (push) Has been skipped
Server CI / Vet API (push) Has been skipped
Server CI / Build mattermost server app (push) Has been skipped
Server CI / Server CI Complete (push) Failing after 2s
Server CI / Server CI Artifacts (push) Has been skipped
Server CI / Sentry Upload (push) Has been skipped
Server CI / Server CI Report (push) Failing after 5m1s
Server CI Nightly Race / Race Detector (push) Has been skipped
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Webapp CI Cache Warm / Warm Webapp node_modules Cache (push) Has been cancelled
E2E CI Cache Warm / Warm E2E npm Registry Cache (push) Has been cancelled
API / build (push) Has been cancelled
Web App CI / check-types (push) Has been cancelled
Web App CI / check-lint (push) Has been cancelled
Web App CI / check-i18n (push) Has been cancelled
Web App CI / check-external-links (push) Has been cancelled
Web App CI / test (platform) (push) Has been cancelled
Web App CI / test (mattermost-redux) (push) Has been cancelled
Web App CI / test (channels shard 1/4) (push) Has been cancelled
Web App CI / test (channels shard 2/4) (push) Has been cancelled
Web App CI / test (channels shard 3/4) (push) Has been cancelled
Web App CI / test (channels shard 4/4) (push) Has been cancelled
Web App CI / upload-coverage (push) Has been cancelled
Web App CI / build (push) Has been cancelled
YAML Lint / yamllint (push) Has been cancelled
Push mirrored docker images / cd/Push mirrored docker images (push) Has been cancelled
docs-cd / Build and deploy docs (push) Has been cancelled
Docs CI / build (push) Has been cancelled
E2E Cache Warm: Cypress deps / Warm Cypress deps cache (push) Has been cancelled
Scorecards supply-chain security / Scorecard analysis (push) Has been cancelled
Server CI Weekly / Postgres FIPS (push) Has been skipped
Server CI Weekly / Run mmctl tests (FIPS) (push) Has been skipped
Server CI Weekly / Postgres with binary parameters (push) Has been skipped
Server CI Weekly / Build Environment (push) Failing after 1s
Server CI Cache Warm / Warm Go Module and Build Cache (push) Failing after 2s
Server CI Nightly Race / Build Environment (push) Failing after 1s
70 lines
3.8 KiB
JSON
70 lines
3.8 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": "npm run tsc --workspaces && tsc -b",
|
|
"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:smoke": "npm run build && playwright test --grep @smoke --project=chrome --retries=1",
|
|
"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",
|
|
"test:full": "npm run build && cross-env PW_USE_TESTCONTAINERS=true PW_SNAPSHOT_ENABLE=true playwright test",
|
|
"test:upgrade:from": "npm run build && cross-env PW_USE_TESTCONTAINERS=true PW_TESTCONTAINERS_REUSE=true playwright test --project=upgrade-from",
|
|
"test:upgrade:to": "npm run build && cross-env PW_USE_TESTCONTAINERS=true PW_TESTCONTAINERS_REUSE=true playwright test --project=upgrade-to",
|
|
"testcontainers:up": "npm run build && cross-env PW_USE_TESTCONTAINERS=true playwright test --config=playwright.testcontainers-up.config.ts",
|
|
"testcontainers:down": "node script/testcontainers_down.mjs",
|
|
"tc:up": "npm run testcontainers:up",
|
|
"tc:down": "npm run testcontainers:down",
|
|
"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",
|
|
"start:libretranslate-mock": "node mock_libre_translate.js",
|
|
"clean": "rm -rf dist node_modules package-lock.json *.tsbuildinfo logs results storage_state test-results .mattermost_data && npm run clean --workspaces"
|
|
},
|
|
"dependencies": {
|
|
"@mattermost/client": "file:../../webapp/platform/client",
|
|
"@mattermost/playwright-lib": "*",
|
|
"@mattermost/types": "file:../../webapp/platform/types"
|
|
},
|
|
"devDependencies": {
|
|
"@mattermost/eslint-plugin": "file:../../webapp/platform/eslint-plugin",
|
|
"@playwright/test": "1.62.1",
|
|
"@types/luxon": "3.7.4",
|
|
"@types/pg": "8.23.1",
|
|
"@typescript-eslint/eslint-plugin": "8.67.0",
|
|
"chalk": "6.0.0",
|
|
"cross-env": "10.1.0",
|
|
"dayjs": "1.11.23",
|
|
"eslint": "9.39.4",
|
|
"eslint-import-resolver-typescript": "4.4.5",
|
|
"glob": "13.0.6",
|
|
"globals": "17.11.0",
|
|
"luxon": "3.7.2",
|
|
"pg": "8.23.0",
|
|
"prettier": "3.9.6",
|
|
"typescript": "6.0.3",
|
|
"zod": "4.4.3"
|
|
},
|
|
"allowScripts": {
|
|
"cpu-features@0.0.10": true,
|
|
"ssh2@1.17.0": true,
|
|
"fsevents@2.3.2": true,
|
|
"protobufjs@7.6.5": true,
|
|
"@percy/core@1.32.6": true
|
|
}
|
|
}
|