Skip to content

HDPI 3475 written terms confirmation [Welsh Specific]#961

Merged
sdmiddletonSolirius merged 38 commits intomasterfrom
HDPI-3475-written-terms-confirmation-cy-specific
Mar 30, 2026
Merged

HDPI 3475 written terms confirmation [Welsh Specific]#961
sdmiddletonSolirius merged 38 commits intomasterfrom
HDPI-3475-written-terms-confirmation-cy-specific

Conversation

@sdmiddletonSolirius
Copy link
Copy Markdown
Contributor

@sdmiddletonSolirius sdmiddletonSolirius commented Mar 17, 2026

Jira link

See HDPI-3475

Change description

  • Added a new Written terms step to the respond-to-claim journey, wired into stepRegistry and flow.config (Welsh path: landlord registered → landlord licensed → written terms → tenancy type details).
  • Implemented the written-terms form page and template with GOV.UK radios and “Yes / No / I’m not sure” options, plus English and Welsh (cy-prefixed) locale files.
  • Hooked the step into the CCD draft flow, posting defendantResponses.writtenTerms and hydrating the radio selection from CCD using getInitialFormData so answers are remembered after sign-out.

Testing done

Security Vulnerability Assessment

CVE Suppression: Are there any CVEs present in the codebase (either newly introduced or pre-existing) that are being intentionally suppressed or ignored by this commit?

  • Yes
  • No

Checklist

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • Does this PR introduce a breaking change

@sdmiddletonSolirius
Copy link
Copy Markdown
Contributor Author

sdmiddletonSolirius commented Mar 18, 2026

  • Locale files added
Screenshot 2026-03-18 at 13 20 20 Screenshot 2026-03-18 at 13 20 28
  • Data persisting to draft case
Screenshot 2026-03-18 at 10 09 07

@sdmiddletonSolirius sdmiddletonSolirius marked this pull request as ready for review March 18, 2026 13:25
@sdmiddletonSolirius sdmiddletonSolirius requested a review from a team as a code owner March 18, 2026 13:25
Copy link
Copy Markdown
Contributor

@paddy-hmcts paddy-hmcts left a comment

Choose a reason for hiding this comment

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

Minor change requested but LGTM otherwise

…HDPI-3475-Automation-Wales-Specific]-Written-Terms-Confirmation
…tion-cy-specific' into HDPI-3475-Automation-Wales-Specific]-Written-Terms-Confirmation

# Conflicts:
#	src/test/ui/data/page-data/writtenTerms.page.data.ts
#	src/test/ui/e2eTest/respondToClaimWales.spec.ts
#	src/test/ui/utils/actions/custom-actions/respondToClaim.action.ts
@Nitu-Git-mac Nitu-Git-mac added enable_full_functional_tests enable_all_page_functional_tests Enables page functional tests for all e2e pages. labels Mar 27, 2026
…c]-Written-Terms-Confirmation

HDPI-3475-Automation-[Wales Specific] Written Terms Confirmation
@sdmiddletonSolirius sdmiddletonSolirius merged commit e52975c into master Mar 30, 2026
5 checks passed
@sdmiddletonSolirius sdmiddletonSolirius deleted the HDPI-3475-written-terms-confirmation-cy-specific branch March 30, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants