Skip to content

HDPI-6501-Caseworker-Review-Dates-Automation#2219

Merged
PadmaDeenadayalan merged 16 commits into
HDPI-6501-caseworker-review-datesfrom
HDPI-6501-Caseworker-Review-Dates-Automation
Jul 22, 2026
Merged

HDPI-6501-Caseworker-Review-Dates-Automation#2219
PadmaDeenadayalan merged 16 commits into
HDPI-6501-caseworker-review-datesfrom
HDPI-6501-Caseworker-Review-Dates-Automation

Conversation

@PadmaDeenadayalan

@PadmaDeenadayalan PadmaDeenadayalan commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Jira link

See HDPI-6501

Change description

Automate ExUI CaseWorker Review dates Screens

Testing done

image image

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

@github-actions

Copy link
Copy Markdown

DB breaking change scan

Recommended reading: HMCTS zero-downtime database deployments

No potentially breaking database changes were detected in the changed Flyway migration .sql files.

This check only scans changed .sql files under src/main/resources/db/migration and flags high-risk DDL patterns. It does not replace a full migration review.

Run details: https://github.com/hmcts/pcs-api/actions/runs/29736688409?check_suite_focus=true

@PadmaDeenadayalan
PadmaDeenadayalan changed the base branch from master to HDPI-6501-caseworker-review-dates July 20, 2026 10:55
@github-actions

Copy link
Copy Markdown

CCD diff summary

👉 Full report: https://github.com/hmcts/pcs-api/actions/runs/29736688579?check_suite_focus=true

AuthorisationCaseState.json

UserRoleCaseStateIDCRUD
+circuit-judge
+CASE_ISSUED
+R
+ctsc
+CASE_ISSUED
+CRU
+fee-paid-judge
+CASE_ISSUED
+R
+judge
+CASE_ISSUED
+R
+leadership-judge
+CASE_ISSUED
+R
+wlu-admin
+CASE_ISSUED
+CRU

CaseField.json

RegularExpressionMaxSearchableMinFieldTypeParameterHintTextLabelIDFieldType
+
+
+
+
+
+
+---
+addCaseReviewDate-line-separator
+Label
+
+
+
+1
+ReviewDate
+
+Review date
+reviewDates
+Collection

AuthorisationCaseEvent/AuthorisationCaseEvent.json

UserRoleCaseEventIDCRUD
+circuit-judge
+addCaseReviewDate
+R
+ctsc
+addCaseReviewDate
+CRUD
+ctsc-team-leader
+addCaseReviewDate
+R
+fee-paid-judge
+addCaseReviewDate
+R
+hearing-centre-admin
+addCaseReviewDate
+CRUD
+judge
+addCaseReviewDate
+R
+leadership-judge
+addCaseReviewDate
+R
+wlu-admin
+addCaseReviewDate
+CRUD
+wlu-team-leader
+addCaseReviewDate
+R

AuthorisationCaseField/wlu-team-leader.json

UserRoleCaseFieldIDCRUD
+wlu-team-leader
+addCaseReviewDate-line-separator
+CR
+wlu-team-leader
+reviewDates
+RD

AuthorisationCaseField/wlu-admin.json

UserRoleCaseFieldIDCRUD
+wlu-admin
+addCaseReviewDate-line-separator
+CR
+wlu-admin
+reviewDates
+CRUD

AuthorisationCaseField/leadership-judge.json

UserRoleCaseFieldIDCRUD
+leadership-judge
+addCaseReviewDate-line-separator
+CR
+leadership-judge
+reviewDates
+RD

AuthorisationCaseField/judge.json

UserRoleCaseFieldIDCRUD
+judge
+addCaseReviewDate-line-separator
+CR
+judge
+reviewDates
+RD

AuthorisationCaseField/hearing-centre-admin.json

UserRoleCaseFieldIDCRUD
+hearing-centre-admin
+addCaseReviewDate-line-separator
+CR
+hearing-centre-admin
+reviewDates
+CRUD

AuthorisationCaseField/fee-paid-judge.json

UserRoleCaseFieldIDCRUD
+fee-paid-judge
+addCaseReviewDate-line-separator
+CR
+fee-paid-judge
+reviewDates
+RD

AuthorisationCaseField/ctsc.json

UserRoleCaseFieldIDCRUD
+ctsc
+addCaseReviewDate-line-separator
+CR
+ctsc
+reviewDates
+CRUD

AuthorisationCaseField/ctsc-team-leader.json

UserRoleCaseFieldIDCRUD
+ctsc-team-leader
+addCaseReviewDate-line-separator
+CR
+ctsc-team-leader
+reviewDates
+RD

AuthorisationCaseField/circuit-judge.json

UserRoleCaseFieldIDCRUD
+circuit-judge
+addCaseReviewDate-line-separator
+CR
+circuit-judge
+reviewDates
+RD

CaseEvent/addCaseReviewDate.json

DescriptionEndButtonLabelIDNamePostConditionStatePreConditionState(s)PublishShowEventNotesShowSummary
+Add review date
+Submit
+addCaseReviewDate
+Add review date
+CASE_ISSUED
+CASE_ISSUED
+N
+N
+Y

ComplexTypes/ReviewDate.json

ElementLabelFieldTypeHintTextIDListElementCode
+Date of review
+Date
+For example 16 4 2021
+ReviewDate
+date
+Reason
+FixedRadioList
+ReviewReason
+ReviewDate
+reason
+Description of review
+TextArea
+You can enter up to 500 characters
+ReviewDate
+description

CaseEventToFields/addCaseReviewDate.json

CallBackURLMidEventCaseEventIDCaseFieldIDDisplayContextPageColumnNumberPageDisplayOrderPageFieldDisplayOrderPageIDPageLabel
+http://localhost:3206/callbacks/mid-event?page=addCaseReviewDate&eventId=addCaseReviewDate
+addCaseReviewDate
+addCaseReviewDate-line-separator
+READONLY
+1
+1
+1
+addCaseReviewDate
+Review dates
+addCaseReviewDate
+reviewDates
+COMPLEX
+1
+1
+2
+addCaseReviewDate
+Review dates
+Y

FixedLists/ReviewReason.json

IDListElementListElementCode
+ReviewReason
+Dismiss case
+DISMISS_CASE
+ReviewReason
+General order
+GENERAL_ORDER
+ReviewReason
+Lift a stay
+LIFT_STAY
+ReviewReason
+Other
+OTHER
+ReviewReason
+Stay a case
+STAY_CASE
+ReviewReason
+Unless order
+UNLESS_ORDER

padmakumari added 2 commits July 20, 2026 15:26
@PadmaDeenadayalan
PadmaDeenadayalan marked this pull request as ready for review July 21, 2026 14:31
@PadmaDeenadayalan
PadmaDeenadayalan requested review from a team as code owners July 21, 2026 14:31
@PadmaDeenadayalan
PadmaDeenadayalan requested review from linusnorton and saurabhvalsangkar-hmcts and removed request for a team July 21, 2026 14:31
@hmcts-jenkins-j-to-z
hmcts-jenkins-j-to-z Bot requested a deployment to preview July 21, 2026 14:45 Abandoned
@hmcts-jenkins-j-to-z
hmcts-jenkins-j-to-z Bot requested a deployment to preview July 21, 2026 17:37 Abandoned

@srinijg srinijg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since changes made to common actions pls run full regression

@PadmaDeenadayalan PadmaDeenadayalan added enable_e2e_regression For running regression suite and removed enable_e2e_CM_test labels Jul 21, 2026
}

private async confirmReviewDatesAdded(): Promise<void> {
await performValidation('text', { elementType: 'paragraph', text: 'Case number: ' + caseInfo.fid });

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need these manual validations since we have auto content validation?

@SameenaHMCTS SameenaHMCTS left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@Gautham059 Gautham059 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Action needed for future:

  1. Error validation needs to be improved as the data files are having logic info rather than pure data.
  2. Action files are meant for having the page level actions and all the functional tests like error validation must not be tightly coupled with the e2e flow. This is an important action to maintain the uniformity across the repos.
    @PadmaDeenadayalan please create stories for these on the QAI board and will discuss these in our next improvements meeting.

@hmcts-jenkins-j-to-z
hmcts-jenkins-j-to-z Bot requested a deployment to preview July 22, 2026 15:44 Abandoned
@hmcts-jenkins-j-to-z
hmcts-jenkins-j-to-z Bot requested a deployment to preview July 22, 2026 16:28 Abandoned
@PadmaDeenadayalan PadmaDeenadayalan added enable_e2e_CM_test and removed enable_e2e_regression For running regression suite labels Jul 22, 2026
@PadmaDeenadayalan
PadmaDeenadayalan merged commit 739a7c1 into HDPI-6501-caseworker-review-dates Jul 22, 2026
6 checks passed
@PadmaDeenadayalan
PadmaDeenadayalan deleted the HDPI-6501-Caseworker-Review-Dates-Automation branch July 22, 2026 19:38
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.

4 participants