Skip to content

Conversation

@latin-panda
Copy link
Collaborator

@latin-panda latin-panda commented Jan 5, 2026

I have verified this PR works in these browsers (latest versions):

  • Chrome
  • Firefox
  • Safari (macOS)
  • Safari (iOS)
  • Chrome for Android
  • Not applicable

What else has been done to verify that this works as intended?

Why is this the best possible solution? Were any other approaches considered?

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Do we need any specific form for testing your changes? If so, please attach one.

What's changed

Update birth year options in child_vaccination_VOL_tool_v12-alt.xml to support current test dates.
Previously, the <select1> for /data/household/child_repeat/dob_year only included outdated options (2017-2019), which prevented valid selections for dynamic DOB calculations (e.g., 2024 for a 23-month-old child in 2026). This caused mismatches in leap year logic and test failures in January when DOBs land in February of a leap year.

Updated options to 2024, 2025, and 2026 to align with children under 2 years old, as a practical quick fix. Tests now pass consistently. No changes to test code or data.
Note: This will need revisiting in January 2030, but it's sufficient for now.

See error in CI

@changeset-bot
Copy link

changeset-bot bot commented Jan 5, 2026

⚠️ No Changeset found

Latest commit: 6c2a8f8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@latin-panda latin-panda marked this pull request as ready for review January 5, 2026 17:09
Copy link
Member

@lognaturel lognaturel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I probably would have looked at setting the date in the test fixture but I'm happy to go along with the easy change for now!

@latin-panda latin-panda merged commit 4580a5f into main Jan 6, 2026
54 checks passed
@latin-panda latin-panda deleted the fixes-scenario-test-suite branch January 6, 2026 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants