All checks were successful
Build and Push Docker Image / build (push) Successful in 2m21s
Items #3-#7 all verified: #3 Scheduled Tasks: all 8 Celery beat tasks verified (overdue detection, SLA reminders, dept-response checks). 0 bugs. #4 Email/SMS: complaint status email verified (correct subject, ref#, from/to, HTML body). Notification service verified. SMS works via console backend. 0 bugs. #5 Concurrent operations: 3 threads on same complaint — 2 succeeded, 1 correctly rejected (invalid transition). No data corruption. State machine enforced. #6 Performance: 12 pages measured, 0 slow (>3s), heaviest /my/ at 1.7s/287 queries. All pages have >50 DB queries (N+1 patterns — optimization opportunity, not bug). #7 Accessibility: axe-core WCAG audit on 15 pages. Findings (consistent patterns): - button-name: icon-only buttons without aria-label (9 nodes/page — lucide icons) - link-name: links with no discernible text (16 nodes/page — likely sidebar icons) - color-contrast: some text below WCAG AA 4.5:1 ratio (4-8 nodes/page) - select-name: select elements without aria-label (1-6 nodes/page) - label: form inputs without associated <label> (1-2 nodes on public forms) These are UX improvements, not functional bugs. Only public-landing page is clean.
39 lines
1.5 KiB
JSON
39 lines
1.5 KiB
JSON
{
|
|
"name": "hh",
|
|
"version": "0.1.0",
|
|
"description": "**AlHammadi Group (Saudi Arabia)**",
|
|
"private": true,
|
|
"type": "commonjs",
|
|
"scripts": {
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:e2e:headed": "playwright test --headed",
|
|
"test:e2e:debug": "playwright test --debug",
|
|
"test:e2e:auth": "playwright test e2e/tests/auth",
|
|
"test:e2e:public": "playwright test e2e/tests/public-forms",
|
|
"test:e2e:roles": "playwright test e2e/tests/roles",
|
|
"test:e2e:matrix": "playwright test e2e/tests/roles/access-matrix",
|
|
"test:e2e:report": "playwright show-report e2e/results/html-report",
|
|
"e2e:setup": ".venv/bin/python manage.py create_e2e_test_users",
|
|
"e2e:setup:clean": ".venv/bin/python manage.py create_e2e_test_users --delete-existing",
|
|
"build:css": "npx tailwindcss -i ./static/src/css/tailwind.css -o ./static/dist/css/tailwind.css --minify && cat ./static/css/px360.css >> ./static/dist/css/tailwind.css",
|
|
"watch:css": "npx tailwindcss -i ./static/src/css/tailwind.css -o ./static/dist/css/tailwind.css --watch",
|
|
"build": "npm run build:css"
|
|
},
|
|
"devDependencies": {
|
|
"@axe-core/playwright": "^4.11.3",
|
|
"@playwright/test": "^1.59.1",
|
|
"@types/node": "^25.5.2",
|
|
"tailwindcss": "^3.4.19",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^6.0.2"
|
|
},
|
|
"dependencies": {
|
|
"@fontsource/inter": "^5.2.8",
|
|
"apexcharts": "^5.10.6",
|
|
"htmx.org": "^2.0.8",
|
|
"lucide": "^1.8.0",
|
|
"sweetalert2": "^11.26.24"
|
|
}
|
|
}
|