mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-07-17 17:21:48 +00:00
Add screenshot tests
This commit is contained in:
@@ -67,6 +67,7 @@
|
||||
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
||||
"@typescript-eslint/parser": "^5.62.0",
|
||||
"@vitejs/plugin-react": "^4.3.4",
|
||||
"dedent": "^1.7.2",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-plugin-react-hooks": "^7.1.1",
|
||||
@@ -93,8 +94,11 @@
|
||||
"predeploy-wikitree": "npm run build",
|
||||
"deploy-wikitree": "./deploy-wikitree.sh",
|
||||
"preview": "vite preview",
|
||||
"test:e2e": "playwright test",
|
||||
"test:e2e:ui": "playwright test --ui"
|
||||
"test:e2e": "playwright test --project=e2e",
|
||||
"test:e2e:ui": "playwright test --project=e2e --ui",
|
||||
"test:visual": "playwright test --project=visual",
|
||||
"test:visual:update": "playwright test --project=visual --update-snapshots",
|
||||
"test:visual:ui": "playwright test --project=visual --ui"
|
||||
},
|
||||
"homepage": ".",
|
||||
"browserslist": [
|
||||
|
||||
Reference in New Issue
Block a user