Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
5aa8850
HDPI-5493 - Create Document Type list dynamically to accommodate some…
guygrewal77 May 19, 2026
4eca8cd
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 May 19, 2026
276026d
HDPI-5493 - Keep same ordering of Document types as before
guygrewal77 May 20, 2026
f5226ec
HDPI-5493 - Change not needed
guygrewal77 May 20, 2026
9049f37
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 May 21, 2026
7c597f4
HDPI-5493 - Filename to include Claimant 1 plus other minor changes
guygrewal77 May 21, 2026
ad44ece
HDPI-5493 - Unit test updated
guygrewal77 May 21, 2026
65344b4
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 May 21, 2026
411c391
HDPI-5493 - Only set AdditionalDocuments if user selects Yes.
guygrewal77 May 21, 2026
3406a36
HDPI-5493 - Use Apache library to break filename into basename and fi…
guygrewal77 May 22, 2026
9c23e84
HDPI-5493 - Minor change.
guygrewal77 May 22, 2026
d95a12c
HDPI-5493 - Refactored AdditionalDocumentType
guygrewal77 May 22, 2026
917ac41
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 May 22, 2026
4e162e2
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 Jun 2, 2026
b8c8130
HDPI-5493 - Only build AdditionalDocument list if currently empty.
guygrewal77 Jun 2, 2026
f0d8271
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 Jun 2, 2026
e0dc822
HDPI-5493 - merge issue fixed
guygrewal77 Jun 2, 2026
3fb6fcd
HDPI-5493 - merge issue fixed
guygrewal77 Jun 2, 2026
7d4220e
HDPI-5493 - Fetch AdditionalDocuments from Draft data to set in page …
guygrewal77 Jun 3, 2026
af35d26
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 Jun 3, 2026
7a9d0c0
HDPI-5493 - Filename fix and some refactoring.
guygrewal77 Jun 4, 2026
fff89d6
HDPI-5493 - Checkstyle fix.
guygrewal77 Jun 4, 2026
ebd3748
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 Jun 9, 2026
fba25ec
HDPI-5493 - Return persisted claim entity.
guygrewal77 Jun 9, 2026
5fdd8bc
HDPI-5493 - Fixed unit test
guygrewal77 Jun 9, 2026
2ca837c
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 Jun 12, 2026
708bdeb
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 Jun 12, 2026
edee1e7
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 Jun 12, 2026
2941d1d
HDPI-5493 - Checkstyle fix
guygrewal77 Jun 12, 2026
8b888b5
HDPI-5493 - Document id missing in RequiredDocumentWales.
guygrewal77 Jun 15, 2026
2375274
HDPI-5493 - minor fix
guygrewal77 Jun 15, 2026
706b85a
HDPI-5493 - Notice of Possession and Tenancy views fixes
guygrewal77 Jun 16, 2026
dbbbb9d
HDPI-5493 - Filter out additional documents uploaded from Tenancy Lic…
guygrewal77 Jun 17, 2026
4ed55d1
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 Jun 17, 2026
e1e93ef
HDPI-5493 - Fixed unit tests
guygrewal77 Jun 17, 2026
5e5a647
HDPI-5493 - Fixed unit tests
guygrewal77 Jun 17, 2026
3e1379b
Merge branch 'master' into HDPI-5493-document-cat-related-changes
gmmagruder Jun 19, 2026
63ee8a1
HDPI-5493: fix unit test after merge
gmmagruder Jun 19, 2026
85a2e6b
Merge branch 'master' into HDPI-5493-document-cat-related-changes
srinijg Jun 22, 2026
a117237
Merge branch 'master' into HDPI-5493-document-cat-related-changes
srinijg Jun 22, 2026
5c01fa6
Merge branch 'master' into HDPI-5493-document-cat-related-changes
srinijg Jun 22, 2026
8b6950b
Merge branch 'master' into HDPI-5493-document-cat-related-changes
srinijg Jun 23, 2026
c655f8c
Merge branch 'master' into HDPI-5493-document-cat-related-changes
srinijg Jun 23, 2026
6fae621
Merge branch 'master' into HDPI-5493-document-cat-related-changes
srinijg Jun 23, 2026
c66d3fd
Hdpi 5493 automation (#2010)
srinijg Jun 24, 2026
0e4c7a4
Merge remote-tracking branch 'origin/master' into HDPI-5493-document-…
srinijg Jun 24, 2026
ae5bb4c
tags removed
srinijg Jun 24, 2026
e341bd9
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 Jun 25, 2026
bf143ac
Merge remote-tracking branch 'origin/HDPI-5493-document-cat-related-c…
guygrewal77 Jun 25, 2026
64cc909
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 Jun 25, 2026
e9b24a5
Merge branch 'master' into HDPI-5493-document-cat-related-changes
guygrewal77 Jun 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/e2eTest/config/axe_exclusions.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
export const axe_Exclusions = [
'.govuk-notification-banner__link', // temporary exclusion for link-in-text-block POFCC-165
'#target-size',
'#target-offset',
'.sort-button-icon',
'.toggle-button-icon',
'.overlay-toggle'
];
263 changes: 246 additions & 17 deletions src/e2eTest/data/api-data/submitCase.api.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ export const submitCaseApiData = {
notice_EmailAddress: 'test@gmail.com',
notice_EmailSentDateTime: '2025-12-11T14:22:59',
notice_AbleToUploadDocument: 'No',
notice_UnableToUploadReason: "no documents to upload",
notice_UnableToUploadReason: 'no documents to upload',
rentDetails_CurrentRent: '125000',
rentDetails_Frequency: 'MONTHLY',
rentDetails_CalculatedDailyCharge: '3285',
Expand Down Expand Up @@ -574,7 +574,7 @@ export const submitCaseApiData = {
tenancy_ReasonsForNoTenancyLicenceDocuments: 'user input no tenancy documents',
showIntroductoryDemotedOtherGroundReasonPage: 'Yes',
introGrounds_HasIntroductoryDemotedOtherGroundsForPossession: 'YES',
introGrounds_IntroductoryDemotedOrOtherGrounds: ['RENT_ARREARS', 'ANTI_SOCIAL','BREACH_OF_THE_TENANCY','ABSOLUTE_GROUNDS'],
introGrounds_IntroductoryDemotedOrOtherGrounds: ['RENT_ARREARS', 'ANTI_SOCIAL', 'BREACH_OF_THE_TENANCY', 'ABSOLUTE_GROUNDS'],
antiSocialBehaviourGround: 'Antisocial behaviour test input',
breachOfTheTenancyGround: 'breach of tenancy test data',
absoluteGrounds: 'absolute grounds test data',
Expand Down Expand Up @@ -610,7 +610,7 @@ export const submitCaseApiData = {
suspensionOfRTB_ShowHousingActsPage: 'No',
demotionOfTenancy_ShowHousingActsPage: 'Yes',
suspensionToBuyDemotionOfTenancyPages: 'No',
alternativesToPossession: ['DEMOTION_OF_TENANCY','SUSPENSION_OF_RIGHT_TO_BUY'],
alternativesToPossession: ['DEMOTION_OF_TENANCY', 'SUSPENSION_OF_RIGHT_TO_BUY'],
suspensionOfRightToBuyActs: 'SECTION_6A_2',
demotionOfTenancyActs: 'SECTION_82A_2',
demotionOfTenancy_StatementOfExpressTermsServed: 'YES',
Expand All @@ -623,19 +623,19 @@ export const submitCaseApiData = {
},
hasUnderlesseeOrMortgagee: 'YES',
underlesseeOrMortgagee1: {
nameKnown: 'YES',
name: 'peter',
addressKnown: 'YES',
address: {
AddressLine1: '4 Second Avenue',
AddressLine2: 'Whirlpool Street',
AddressLine3: '',
PostTown: 'London',
County: '',
Country: 'United Kingdom',
PostCode: 'W3 7RX'
}
},
nameKnown: 'YES',
name: 'peter',
addressKnown: 'YES',
address: {
AddressLine1: '4 Second Avenue',
AddressLine2: 'Whirlpool Street',
AddressLine3: '',
PostTown: 'London',
County: '',
Country: 'United Kingdom',
PostCode: 'W3 7RX'
}
},
wantToUploadDocuments: 'NO',
applicationWithClaim: 'NO',
languageUsed: 'ENGLISH',
Expand All @@ -653,6 +653,235 @@ export const submitCaseApiData = {
agreementDefendantLegalRep: []
},
},
submitCasePayloadCaseFileView: {
orgNameFound: 'Yes',
claimantName: 'Possession Claims Solicitor Org',
isClaimantNameCorrect: 'YES',
legislativeCountry: 'England',
claimantType: {
value: {
code: 'PROVIDER_OF_SOCIAL_HOUSING',
label: 'Registered provider of social housing or local authority'
},
valueCode: 'PROVIDER_OF_SOCIAL_HOUSING'
},
claimAgainstTrespassers: 'NO',
claimantContactEmail: 'pcs-solicitor-automation@test.com',
isCorrectClaimantContactEmail: 'YES',
orgAddressFound: 'Yes',
organisationAddress: {
AddressLine1: 'Ministry Of Justice',
AddressLine2: 'Seventh Floor 102 Petty France',
PostTown: 'London',
PostCode: 'SW1H 9AJ',
Country: 'United Kingdom'
},
formattedClaimantContactAddress: 'Ministry Of Justice<br>Seventh Floor 102 Petty France<br>London<br>SW1H 9AJ',
isCorrectClaimantContactAddress: 'YES',
claimantProvidePhoneNumber: 'NO',
defendant1: {
nameKnown: 'YES',
firstName: 'peter',
lastName: 'parker',
addressKnown: 'NO',
addressSameAsPossession: null,
correspondenceAddress: {
AddressLine1: null,
AddressLine2: null,
AddressLine3: null,
PostTown: null,
County: null,
Country: null,
PostCode: null
}
},
addAnotherDefendant: 'NO',
tenancy_TypeOfTenancyLicence: 'ASSURED_TENANCY',
tenancy_TenancyLicenceDate: '2013-01-01',
tenancy_HasCopyOfTenancyLicence: 'YES',
tenancy_TenancyLicenceDocuments: [
{
id: '3bbe3b5d-8a49-46cf-ac3e-8863a7aea372',
value: {
document_url: `${process.env.DM_STORE}/documents/b5aacf07-97b4-4455-9140-c9220725a765`,
document_binary_url: `${process.env.DM_STORE}/documents/b5aacf07-97b4-4455-9140-c9220725a765/binary`,
document_filename: 'tenancy.pdf',
}
}
],
claimDueToRentArrears: 'Yes',
rentArrears_RentArrearsGrounds: [
'RENT_ARREARS_GROUND10'
],
hasOtherAdditionalGrounds: 'No',
preActionProtocolCompleted: 'YES',
mediationAttempted: 'YES',
settlementAttempted: 'YES',
noticeServed: 'Yes',
notice_ServiceMethod: 'FIRST_CLASS_POST',
notice_PostedDate: '2015-12-01',
notice_Documents: [
{
id: '2fbd79a1-19dc-46fb-9baf-83534187f37f',
value: {
document_url: `${process.env.DM_STORE}/documents/f42251d3-70ac-4a60-914d-c1af51f0a5ac`,
document_binary_url: `${process.env.DM_STORE}/documents/f42251d3-70ac-4a60-914d-c1af51f0a5ac/binary`,
document_filename: 'NoticeDetails.pdf',
}
}
],
rentDetails_CurrentRent: '1200',
rentDetails_Frequency: 'WEEKLY',
rentDetails_CalculatedDailyCharge: '171',
rentArrears_StatementDocuments: [
{
id: '468ec779-350f-4484-9694-ea6b3285d86e',
value: {
document_url: `${process.env.DM_STORE}/documents/c88969c7-b5c7-4f87-89b7-5ec0c74c3e52`,
document_binary_url: `${process.env.DM_STORE}/documents/c88969c7-b5c7-4f87-89b7-5ec0c74c3e52/binary`,
document_filename: `rentStatement.pdf`,
}
}
],
rentArrears_Total: '123300',
rentArrears_RecoveryAttempted: 'YES',
rentArrears_RecoveryAttemptDetails: 'test attempts made',
arrearsJudgmentWanted: 'YES',
claimantNamePossessiveForm: 'Possession Claims Solicitor Org’s',
claimantCircumstancesSelect: 'YES',
claimantCircumstancesDetails: 'claimant circumstances',
hasDefendantCircumstancesInfo: 'YES',
defendantCircumstancesInfo: 'defendant circumstances',
suspensionOfRTB_ShowHousingActsPage: 'Yes',
demotionOfTenancy_ShowHousingActsPage: 'No',
suspensionToBuyDemotionOfTenancyPages: 'No',
alternativesToPossession: [
'SUSPENSION_OF_RIGHT_TO_BUY'
],
suspensionOfRTB_HousingAct: 'SECTION_6A_2',
suspensionOfRTB_Reason: 'test reasons',
additionalReasonsForPossession: {
hasReasons: 'YES',
reasons: 'test additional possessions'
},
hasUnderlesseeOrMortgagee: 'YES',
underlesseeOrMortgagee1: {
nameKnown: 'NO',
name: null,
addressKnown: 'NO',
address: {
AddressLine1: null,
AddressLine2: null,
AddressLine3: null,
PostTown: null,
County: null,
Country: null,
PostCode: null
}
},
addAdditionalUnderlesseeOrMortgagee: 'NO',
wantToUploadDocuments: 'YES',
additionalDocuments: [
{
value: {
documentType: {
value: {
code: '4b80f5c9-ed97-472e-a4c9-6dbb7bfd2863',
label: 'Inspection or report'
},
valueCode: '4b80f5c9-ed97-472e-a4c9-6dbb7bfd2863',
valueLabel: 'Inspection or report'
},
description: 'inspection',
document: {
document_url: `${process.env.DM_STORE}/documents/bdedc7cf-21e2-46db-8176-da5dc5728b3e`,
document_binary_url: `${process.env.DM_STORE}/documents/bdedc7cf-21e2-46db-8176-da5dc5728b3e/binary`,
document_filename: 'inspectionOrReport.pdf',
}
},
id: '6cb51a17-7ffe-4d10-b979-625bba2645f5'
},
{
value: {
documentType: {
value: {
code: 'a8a4ddf2-5d14-4b42-a892-de2547e6202e',
label: 'Other document'
},

valueLabel: 'Other document',
valueCode: 'a8a4ddf2-5d14-4b42-a892-de2547e6202e'
},
description: 'test',
document: {
document_url: `${process.env.DM_STORE}/documents/844af629-9597-42bd-9bed-6433f3cc9c86`,
document_binary_url: `${process.env.DM_STORE}/documents/844af629-9597-42bd-9bed-6433f3cc9c86/binary`,
document_filename: 'otherDocument.pdf',
}
},
id: '0765e04d-c8bc-4c64-afab-6f91916d19b2'
},
{
value: {
documentType: {
value: {
code: '8b60b091-8e09-4748-af9d-dc67dd1657cb',
label: 'Legal aid certificate'
},

valueLabel: 'Legal aid certificate',
valueCode: '8b60b091-8e09-4748-af9d-dc67dd1657cb'
},
description: 'legal aid',
document: {
document_url: `${process.env.DM_STORE}/documents/7a829740-61c3-4180-a6f3-0c24ab73cd6c`,
document_binary_url: `${process.env.DM_STORE}/documents/7a829740-61c3-4180-a6f3-0c24ab73cd6c/binary`,
document_filename: 'legalAidCertificate.pdf',
}
},
id: 'c76d0fb7-f5cb-4ea1-826a-29059e6322a3'
},
{
value: {
documentType: {
value: {
code: '1fa7f01c-5376-45f4-9fa6-baaee1d6f65d',
label: 'Notice for service out of the jurisdiction'
},

valueLabel: 'Notice for service out of the jurisdiction',
valueCode: '1fa7f01c-5376-45f4-9fa6-baaee1d6f65d'
},
description: 'Notice for service',
document: {
document_url: `${process.env.DM_STORE}/documents/481ce2ed-8557-4036-be9c-3d8e63638f79`,
document_binary_url: `${process.env.DM_STORE}/documents/481ce2ed-8557-4036-be9c-3d8e63638f79/binary`,
document_filename: 'noticeForService.pdf',
}
},
id: '7e7bcdea-7dd4-465b-b2ab-7e046ca2c57d'
}

],
applicationWithClaim: 'YES',
languageUsed: 'ENGLISH',
completionNextStep: 'SUBMIT_AND_PAY_NOW',
endButtonLabel: 'Submit claim',
statementOfTruth: {
completedBy: 'CLAIMANT',
fullNameParty: 'Jen Parker',
positionParty: 'Rep',
fullNameLegalRep: null,
firmNameLegalRep: null,
positionLegalRep: null,
agreementClaimant: [
'BELIEVE_TRUE'
],
agreementClaimantLegalRep: [],
agreementDefendantLegalRep: []
}

},
submitCasePayloadDefault: {
legislativeCountry: 'England',
claimantType: {
Expand Down Expand Up @@ -736,7 +965,7 @@ export const submitCaseApiData = {
settlementAttempted: 'NO',
noticeServed: 'YES',
notice_AbleToUploadDocument: 'No',
notice_UnableToUploadReason: "no documents to upload",
notice_UnableToUploadReason: 'no documents to upload',
claimantNamePossessiveForm: 'Possession Claims Solicitor Org’s',
claimantCircumstancesSelect: 'NO',
hasDefendantCircumstancesInfo: 'NO',
Expand Down
Loading
Loading