e2e: full coverage — 27 tests across all functionality #13

Merged
gabogg merged 1 commit from feat/full-e2e-coverage into dev 2026-06-23 17:50:22 +00:00
Owner

27/27 tests passing (42.4s headed, real backend + H2 + seed data)

Coverage breakdown:

Section Tests What it covers
Login & Dashboard 2 Login form, stat cards
Entity pages 7 Branches, Categories, Items, Bags, Roles, Users, Departments
Permissions 1 Table with 10 permissions
Locations 1 Page renders
Categories CRUD 3 Create → Edit → Delete via UI
Filter/search 2 Match filter, empty state
Pagination 1 Button visibility
Item form 1 Modal field rendering
Scanner page 1 Camera button, help text
Audit log 1 Search controls
Sidebar nav 2 All 12 items present, navigate without errors
API CRUD 5 All 5 entity types via REST

What was tested:

  • 12 sidebar pages rendered without JS errors
  • Inline form modal with field filling
  • Table filter/search with results + empty state
  • Pagination controls visible
  • Full create → read → update → delete cycle via UI (Categories)
  • All entity CRUD via API (Branches, Departments, Items, Bags, Categories)
  • Dashboard entity count cards
**27/27 tests passing** (42.4s headed, real backend + H2 + seed data) ### Coverage breakdown: | Section | Tests | What it covers | |---|---|---| | Login & Dashboard | 2 | Login form, stat cards | | Entity pages | 7 | Branches, Categories, Items, Bags, Roles, Users, Departments | | Permissions | 1 | Table with 10 permissions | | Locations | 1 | Page renders | | Categories CRUD | 3 | Create → Edit → Delete via UI | | Filter/search | 2 | Match filter, empty state | | Pagination | 1 | Button visibility | | Item form | 1 | Modal field rendering | | Scanner page | 1 | Camera button, help text | | Audit log | 1 | Search controls | | Sidebar nav | 2 | All 12 items present, navigate without errors | | API CRUD | 5 | All 5 entity types via REST | ### What was tested: - 12 sidebar pages rendered without JS errors - Inline form modal with field filling - Table filter/search with results + empty state - Pagination controls visible - Full create → read → update → delete cycle via UI (Categories) - All entity CRUD via API (Branches, Departments, Items, Bags, Categories) - Dashboard entity count cards
Complete E2E test suite covering every functional area:

1. Login flow + Dashboard stat cards
2. All 7 entity page renderings (Branches, Categories, Items, Bags,
   Roles, Users, Departments)
3. Permissions table
4. Locations page
5. Categories full CRUD: create, edit, delete
6. Filter/search within data tables (match + empty state)
7. Pagination button visibility
8. Item inline form modal (name, description, quantity fields)
9. Scanner page (camera button, help text)
10. Audit log search controls
11. All 12 sidebar nav items present + navigable without errors
12. API CRUD verification for all 5 entity types (categories,
    departments, items, branches, bags)

27/27 tests passing, 42.4s headed, real backend + H2 test DB + seed data.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
PCivil/inventory-system!13
No description provided.