feat(playwright): integrate Playwright for end-to-end testing and update .gitignore

- Added Playwright as a development dependency for end-to-end testing.
- Updated package.json to include test scripts for Playwright.
- Enhanced .gitignore to exclude Playwright test results and cache files.
- Improved content extraction logic in various components to handle new content types.

Made-with: Cursor
This commit is contained in:
Dorian
2026-03-02 22:02:19 +00:00
parent 5414060225
commit 43ca3a7837
23 changed files with 653 additions and 13 deletions
+3
View File
@@ -12,6 +12,8 @@
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"test": "vitest run",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"lint": "eslint src/",
"typecheck": "vue-tsc --noEmit",
"clean": "rm -rf dist"
@@ -34,6 +36,7 @@
"typescript": "~5.8.0",
"vite": "latest",
"vite-plugin-pwa": "^1.2.0",
"@playwright/test": "^1.49.0",
"vitest": "latest",
"vue-tsc": "latest"
}