Repository navigation
test(vehicles): the vehicles list test runs on a fixed day - #582
Open
ibrahimroshdy wants to merge 1 commit into
Open
ibrahimroshdy wants to merge 1 commit into
ibrahimroshdy wants to merge 1 commit into
Conversation
The Corolla's fills and the oil change's anchor are fixed dates, and fresh, stale and the estimated next due are measured from today, so the test started failing on 2026-11-17 and has kept main's fast check red since. It now sets the day, as the costs tests in the same file do. Signed-off-by: Ibrahim Roshdy <22573766+ibrahimroshdy@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Main's
fastcheck has been red since 2026-11-17 on one test,apps/web/src/api/vehicles/mock/mock.test.ts"lists the vehicles in use": the Corolla's fills and the oil change's anchor are fixed dates, while "fresh", "stale" and the estimated next due are measured from today, so the estimate stopped beingestimated: trueas the calendar moved on. Every open PR'sfastfails on it too (#565 pointed it out).The test now runs on a fixed day (2026-10-10), as the costs tests in the same file already do. Test-only; no app code changes.
Definition of done
KEPT_*: n/a.