* MM-52641 Playwright/Accessibility: initial setup * upgrade Playwright to 1.36.1 * fix accessibility at login page * fix lint * update snapshot
38 строки
1.4 KiB
JSON
38 строки
1.4 KiB
JSON
{
|
|
"scripts": {
|
|
"test": "cross-env PW_SNAPSHOT_ENABLE=true playwright test",
|
|
"percy": "cross-env PERCY_TOKEN=$PERCY_TOKEN PW_PERCY_ENABLE=true percy exec -- playwright test --project=chrome --project=iphone --project=ipad",
|
|
"tsc": "tsc -b",
|
|
"lint": "eslint . --ext .js,.ts",
|
|
"prettier": "prettier --write .",
|
|
"check": "npm run tsc && npm run lint && npm run prettier",
|
|
"codegen": "cross-env playwright codegen $PW_BASE_URL",
|
|
"playwright-ui": "playwright test --ui",
|
|
"test-slomo": "cross-env PW_SNAPSHOT_ENABLE=true PW_SLOWMO=1000 playwright test",
|
|
"show-report": "npx playwright show-report"
|
|
},
|
|
"dependencies": {
|
|
"@axe-core/playwright": "4.7.3",
|
|
"@percy/cli": "1.26.2",
|
|
"@percy/playwright": "1.0.4",
|
|
"@playwright/test": "1.36.1",
|
|
"async-wait-until": "2.0.12",
|
|
"axe-core": "4.7.2",
|
|
"chalk": "4.1.2",
|
|
"deepmerge": "4.3.1",
|
|
"dotenv": "16.3.1",
|
|
"form-data": "4.0.0",
|
|
"isomorphic-unfetch": "4.0.2",
|
|
"uuid": "9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/uuid": "9.0.2",
|
|
"@typescript-eslint/eslint-plugin": "6.1.0",
|
|
"@typescript-eslint/parser": "6.1.0",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "8.45.0",
|
|
"prettier": "2.8.7",
|
|
"typescript": "5.0.4"
|
|
}
|
|
}
|