Attendance UI Testing Guide
Summary
Test Attendance UI with synthetic users and data against isolated gateway/service environments. No frontend Attendance test files were found.
Audience
- Frontend/backend developers, QA engineers, accessibility reviewers, and release owners
Prerequisites
- Isolated frontend, gateway, and backend environment
- Synthetic tenant users covering employee, review, settings, and report capabilities
- Seeded Attendance/Time Office data without personal information
Procedure
- Verify unauthenticated, unauthorized, tenant, employee-only, and permitted route behavior.
- Exercise weekly navigation, filters, empty/loading/error states, manual entry, bulk selection, approval/rejection, details and export.
- Exercise punch-in/out disabling, manual/bulk dates, weekly-off work, and reopen creation.
- Exercise reviewer reopen decisions and Payroll-lock failure.
- Exercise Shift create/edit/deactivate, policy create/edit/default/active behavior, and weekly-off toggles.
- Exercise report validation, filtering, pagination, and both export formats.
- Inject API failures and confirm safe recovery without stale success state.
- Test responsive layouts, keyboard navigation, focus, labels, status colors and screen-reader announcements.
- Repeat compatibility and extracted-service paths and compare user-visible outcomes.
Validation or Expected Result
Routes enforce intended access; every confirmed state renders; actions call the expected API family; success refreshes data; failures remain non-destructive; keyboard and responsive checks produce recorded evidence.
Troubleshooting
If behavior differs by routing mode, record the route, user capability set, correlation context, request category, response category, and screenshot with synthetic data, then use the Gateway and compatibility guide.
Source References
UI/salary-ui/apps/client-hrms-portal/src/App.tsxUI/salary-ui/apps/client-hrms-portal/src/pages/AttendanceStatus.tsxUI/salary-ui/apps/client-hrms-portal/src/pages/hr/PayrollFeaturePages.tsxUI/salary-ui/apps/client-hrms-portal/src/pages/AttendanceReportPage.tsxmicroservices/scripts/smoke-attendance.ps1
Related Articles
See Also
Keywords
- Attendance UI
- React
- User workflow
Revision Information
- Status: Draft
- Last reviewed: 2026-07-15
- Review cycle: Quarterly