Volleyball Elite Academy development update
|
Volleyball Elite Academy
Test that a coach's timesheet blocks submission without a required explanation
|
Test that a coach's timesheet blocks submission without a required explanationVolleyball Elite Academy — Development Update • June 7, 2026
--- title: Test that a coach's timesheet blocks submission without a required explanation ---
Test that a coach's timesheet blocks submission without a required explanation
## What & Why The coach session workbench () requires a discrepancy note when a coach's submitted hours diverge from scheduled hours (the rule: scheduledHours > 0 and (hoursDiff > 0.5 or hoursWorked > scheduledHours + 1)). This protects payroll accuracy, but the rule is currently untested — a refactor could silently let mismatched hours through without an explanation.
## Done looks like - A test renders the workbench's After tab with a roster-owned assignment, changes hours so they diverge from scheduled, and asserts the discrepancy-note requirement is enforced (submit disabled / note field surfaces). - A test confirms that when hours match (or note is provided), submission proceeds.
## Relevant files - (, timesheet card) - (harness to mirror)
|
Volleyball Elite Academy Reply to this email — we read every reply. You received this because you have an account with Volleyball Elite Academy. elitevolleyball.training |
|
No comments:
Post a Comment