Add frontend testing - Playwright
This commit is contained in:
@@ -11,6 +11,12 @@
|
||||
"test": "vitest",
|
||||
"test:ui": "vitest --ui",
|
||||
"test:coverage": "vitest --coverage",
|
||||
"test:e2e": "playwright test",
|
||||
"test:e2e:ui": "playwright test --ui",
|
||||
"test:e2e:headed": "playwright test --headed",
|
||||
"test:e2e:debug": "playwright test --debug",
|
||||
"test:e2e:report": "playwright show-report",
|
||||
"test:e2e:codegen": "playwright codegen http://localhost:5173",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,md}\"",
|
||||
"storybook": "storybook dev -p 6006",
|
||||
@@ -59,6 +65,7 @@
|
||||
"zustand": "^4.5.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.56.1",
|
||||
"@storybook/addon-essentials": "^7.6.0",
|
||||
"@storybook/addon-interactions": "^7.6.0",
|
||||
"@storybook/addon-links": "^7.6.0",
|
||||
|
||||
Reference in New Issue
Block a user