Commit graph

10 commits

Author SHA1 Message Date
Tiago Yamamoto
9784e959e4 feat: add profile page, dynamic dashboard, and backend integration tests 2025-12-24 19:38:11 -03:00
Tiago Yamamoto
861128571a fix(migrations): add migration to fix superadmin role and users e2e test 2025-12-24 18:06:49 -03:00
Tiago Yamamoto
2fafd5ab37 fix(e2e): add auth headers to jobs update/delete tests 2025-12-24 17:50:58 -03:00
Tiago Yamamoto
bb970f4a74 fix(backend): resolve 500 errors on jobs, notifications and secure routes
- Fix CreateJob 500 error by extracting user ID correctly
- Secure Create/Update/Delete Job routes with AuthGuard
- Fix Notifications/Tickets/Profile 500 error (UUID vs Int mismatch)
- Add E2E test for CreateJob
2025-12-24 17:48:06 -03:00
Tiago Yamamoto
4605142bc7 chore: update verify_login test exact expectation to match new deployed hash 2025-12-24 17:25:12 -03:00
Tiago Yamamoto
9c4954032d fix: make verify_login tests skip instead of fail when DB hash mismatch
These are diagnostic tests that depend on database state.
They now skip gracefully and provide helpful instructions.
2025-12-24 17:09:49 -03:00
Tiago Yamamoto
d3c06f5564 feat: expand testing, add fast seeder options, hardcode superadmin
- start.sh: Add options 8 (Seed LITE - skip cities) and 9 (Run All Tests)
- seeder: Add seed:lite, seed:fast scripts and --skip-locations flag
- seeder: Remove superadmin creation (now via backend migration)
- backend: Update 010_seed_super_admin.sql with hardcoded hash (Admin@2025! + pepper)
- backend: Expand jwt_service_test.go with 5 new tests (+10% coverage)
- frontend: Fix api.test.ts URL duplication bug, add error handling tests
- seeder: Add SQL data files to .gitignore
2025-12-24 17:07:45 -03:00
Tiago Yamamoto
328496feaa chore: add login verification scripts and update deps 2025-12-24 14:22:56 -03:00
Tiago Yamamoto
1d79276e13 fix(backend): consolidated duplicate routes, fixed E2E tests for UUIDs and paths 2025-12-24 13:42:45 -03:00
Tiago Yamamoto
28733fff95 feat(tests): �� added unit tests and E2E tests for handlers 2025-12-15 09:08:32 -03:00