Merge pull request #209 from blockscout/playwright-setup
playwright setup and git lfs
Showing
.gitattributes
0 → 100644
.husky/post-checkout
0 → 100755
.husky/post-commit
0 → 100755
.husky/post-merge
0 → 100755
.husky/pre-push
0 → 100755
129 Bytes
129 Bytes
129 Bytes
129 Bytes
129 Bytes
129 Bytes
... | ... | @@ -13,7 +13,9 @@ |
"start": "next start", | ||
"lint:eslint": "./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx", | ||
"prepare": "husky install", | ||
"format-svg": "./node_modules/.bin/svgo -r ./icons" | ||
"format-svg": "./node_modules/.bin/svgo -r ./icons", | ||
"test-ct": "playwright test -c playwright-ct.config.ts", | ||
"test-docker": "docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.27.0-focal ./run-tests.sh" | ||
}, | ||
"dependencies": { | ||
"@chakra-ui/react": "2.3.1", | ||
... | ... | @@ -42,6 +44,7 @@ |
"use-font-face-observer": "^1.2.1" | ||
}, | ||
"devDependencies": { | ||
"@playwright/experimental-ct-react": "^1.26.1", | ||
"@types/node": "17.0.36", | ||
"@types/react": "18.0.9", | ||
"@types/react-dom": "18.0.5", | ||
... | ... | @@ -53,6 +56,7 @@ |
"eslint-plugin-regexp": "^1.7.0", | ||
"husky": "^8.0.0", | ||
"lint-staged": ">=10", | ||
"playwright": "^1.26.1", | ||
"svgo": "^2.8.0", | ||
"typescript": "4.7.2" | ||
}, | ||
... | ... |
playwright-ct.config.ts
0 → 100644
playwright/index.html
0 → 100644
playwright/index.ts
0 → 100644
run-tests.sh
0 → 100755
ui/shared/Utilization.pw.tsx
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.