Files
mostlymatter/e2e-tests/playwright/package.json
Saturnino Abril 79e961e239 Playwright/E2E: Upgraded Playwright to 1.41 and fixed tests (#26008)
* upgrade Playwright and fix tests

* fix lint
2024-01-23 20:56:23 +08:00

41 строка
1.7 KiB
JSON

{
"scripts": {
"test": "cross-env NODE_OPTIONS='--no-experimental-fetch' PW_SNAPSHOT_ENABLE=true playwright test",
"test:update-snapshots": "cross-env NODE_OPTIONS='--no-experimental-fetch' PW_SNAPSHOT_ENABLE=true playwright test --update-snapshots",
"percy": "cross-env NODE_OPTIONS='--no-experimental-fetch' PERCY_TOKEN=$PERCY_TOKEN PW_PERCY_ENABLE=true percy exec -- playwright test --project=chrome --project=ipad",
"tsc": "tsc -b",
"lint": "eslint . --ext .js,.ts",
"prettier": "prettier . --check",
"prettier:fix": "prettier --write .",
"check": "npm run tsc && npm run lint && npm run prettier",
"codegen": "cross-env playwright codegen $PW_BASE_URL",
"playwright-ui": "cross-env NODE_OPTIONS='--no-experimental-fetch' playwright test --ui",
"test-slomo": "cross-env NODE_OPTIONS='--no-experimental-fetch' PW_SNAPSHOT_ENABLE=true PW_SLOWMO=1000 playwright test",
"show-report": "npx playwright show-report",
"postinstall": "npx playwright install"
},
"dependencies": {
"@axe-core/playwright": "4.8.3",
"@percy/cli": "1.27.7",
"@percy/playwright": "1.0.4",
"@playwright/test": "1.41.1",
"async-wait-until": "2.0.12",
"axe-core": "4.8.3",
"chalk": "4.1.2",
"deepmerge": "4.3.1",
"dotenv": "16.3.2",
"form-data": "4.0.0",
"isomorphic-unfetch": "4.0.2",
"uuid": "9.0.1"
},
"devDependencies": {
"@types/uuid": "9.0.7",
"@typescript-eslint/eslint-plugin": "6.19.1",
"@typescript-eslint/parser": "6.19.1",
"cross-env": "7.0.3",
"eslint": "8.56.0",
"prettier": "3.2.4",
"typescript": "5.3.3"
}
}