Prepares the full QA test infrastructure for the admin frontend before all prerequisite feature tasks (RCA-12–18) are complete. - playwright.config.ts: 6 browser/device projects (Chromium, Firefox, WebKit, mobile Chrome, mobile Safari, tablet) - tests/e2e/01-login.spec.ts: login form, route guards, setup wizard - tests/e2e/02-dashboard.spec.ts: stats cards, device list, quick actions - tests/e2e/03-cookies.spec.ts: cookie list, search, detail panel, delete - tests/e2e/04-devices.spec.ts: device cards, revoke flow, status filter - tests/e2e/05-settings.spec.ts: three-tab layout, save/error toasts - tests/e2e/06-responsive.spec.ts: no horizontal scroll on mobile/tablet - tests/api/admin-api.spec.ts: REST API contract tests for all /admin/* endpoints - helpers/auth.ts: loginViaUI + loginViaAPI helpers - helpers/mock-api.ts: route intercept fixtures for all pages Co-Authored-By: Paperclip <noreply@paperclip.ing>
34 lines
893 B
JSON
34 lines
893 B
JSON
{
|
|
"name": "cookiebridge-web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc --noEmit && vite build",
|
|
"preview": "vite preview",
|
|
"test:e2e": "playwright test tests/e2e/",
|
|
"test:e2e:ui": "playwright test tests/e2e/ --ui",
|
|
"test:e2e:headed": "playwright test tests/e2e/ --headed",
|
|
"test:api": "playwright test tests/api/ --project=chromium",
|
|
"test:all": "playwright test"
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/vue": "^1.7.0",
|
|
"@heroicons/vue": "^2.2.0",
|
|
"axios": "^1.8.0",
|
|
"pinia": "^3.0.0",
|
|
"vue": "^3.5.0",
|
|
"vue-router": "^4.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.58.2",
|
|
"@tailwindcss/vite": "^4.0.0",
|
|
"@vitejs/plugin-vue": "^5.2.0",
|
|
"tailwindcss": "^4.0.0",
|
|
"typescript": "^5.9.0",
|
|
"vite": "^6.2.0",
|
|
"vue-tsc": "^2.2.0"
|
|
}
|
|
}
|