Skip to main content

Expense UI Testing Guide

Summary​

No dedicated automated Expense frontend test file is confirmed. Existing evidence is source inspection plus backend smoke/parity automation.

Existing evidence and safe test scope​

AreaExisting evidenceGap
ESS list/createImplemented component and gateway endpointsNo dedicated component/E2E test
Compatibility list/approve/rejectImplemented shared pageNo Expense-specific frontend automation
Loading/empty/errorSource-defined statesVisual and accessibility assertions absent
ReceiptsDisabled controlsNo UI flow
Paid/details/historyNo screenNot testable as UI
Backend lifecycleExpense smoke scriptDoes not exercise browser UI
CompatibilityParity scriptDoes not prove navigation/permissions

Manual verification should use synthetic claims, approved test environments, and supported APIs. Verify navigation visibility, direct-route outcome, list/create states, pending decisions, error display, and that unsupported actions are absent. Do not use production data or receipt content.

Requires confirmation​

Frontend test framework ownership, browser matrix, accessibility tooling, visual-regression policy, and release gates require confirmation.

Source References​

  • UI/salary-ui/apps/client-hrms-portal/src/ess/EssPages.tsx
  • UI/salary-ui/apps/client-hrms-portal/src/pages/hr/HrOperationsPage.tsx
  • UI/salary-ui/apps/client-hrms-portal/src/utils/ProtectedRoute.tsx
  • microservices/scripts/smoke-expense.ps1
  • microservices/scripts/compare-expense-parity.ps1

See Also​

Keywords​

  • Expense UI
  • UI Testing Guide

Revision Information​

  • Status: Draft
  • Last reviewed: 2026-07-16
  • Review cycle: Quarterly