-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/CIV-15868
- Loading branch information
Showing
16 changed files
with
265 additions
and
33 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[ | ||
{ | ||
"ID": "CoscRpaStatus", | ||
"ListElementCode": "CANCELLED", | ||
"ListElement": "Cancelled", | ||
"DisplayOrder": 1 | ||
}, | ||
{ | ||
"ID": "CoscRpaStatus", | ||
"ListElementCode": "SATISFIED", | ||
"ListElement": "Satisfied", | ||
"DisplayOrder": 2 | ||
} | ||
] |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
const {I} = inject(); | ||
|
||
module.exports = { | ||
|
||
async verifyBundleDetails() { | ||
I.waitInUrl('#Bundles', 10); | ||
I.see('Bundle name'); | ||
I.see('Document Uploaded DateTime',); | ||
I.see('Hearing date'); | ||
I.see('Upload a file'); | ||
I.seeNumberOfElements('.complex-panel-table tbody .new-table-row', 2); | ||
I.see('Test bundle name'); | ||
I.see('1 Jan 2026',); | ||
I.see('01-01-2026-Test bundle name.pdf'); | ||
I.see('Test bundle name 1'); | ||
I.see('10 Oct 2027'); | ||
I.see('10-10-2027-Test bundle name 1.pdf'); | ||
}, | ||
}; |
This file contains 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
21 changes: 21 additions & 0 deletions
21
e2e/tests/api_tests/generalapplication/1v2CreateClaim_DiffSol_GA_test.js
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
const config = require('../../../config.js'); | ||
const {assignCaseRoleToUser, addUserCaseMapping, unAssignAllUsers} = require('../../../api/caseRoleAssignmentHelper'); | ||
const {waitForFinishedBusinessProcess} = require('../../../api/testingSupport'); | ||
const mpScenario = 'ONE_V_TWO_TWO_LEGAL_REP'; | ||
let caseNumber; | ||
|
||
Feature('1v2 Different Solicitors General application creation @api-unspec @api-nonprod'); | ||
|
||
Scenario('Make a general application', async ({api_spec}) => { | ||
await api_spec.createClaimWithRepresentedRespondent(config.applicantSolicitorUser); | ||
await api_spec.informAgreedExtensionDate(config.applicantSolicitorUser); | ||
await api_spec.defendantResponse(config.defendantSolicitorUser); | ||
await api_spec.claimantResponse(config.applicantSolicitorUser, 'FULL_DEFENCE', 'ONE_V_ONE', | ||
'AWAITING_APPLICANT_INTENTION'); | ||
|
||
await api_spec.initiateGeneralApplication(caseNumber, config.applicantSolicitorUser, 'JUDICIAL_REFERRAL'); | ||
}); | ||
|
||
AfterSuite(async () => { | ||
await unAssignAllUsers(); | ||
}); |
This file contains 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
31 changes: 31 additions & 0 deletions
31
e2e/tests/ui_tests/minti/spec_intTrack_upload_bundle_test.js
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
const config = require('../../../config.js'); | ||
const judgeUser = config.judgeUserWithRegionId1; | ||
const hearingCenterAdminToBeUsed = config.hearingCenterAdminWithRegionId1; | ||
let civilCaseReference; | ||
const claimAmountPenniesIntermediate = '9900000'; | ||
const claimAmountIntermediate = '99000'; | ||
|
||
Feature('Intermediate track - Upload documents - Bundle @non-prod-e2e-ft'); | ||
|
||
async function prepareSpecClaim(api_spec, mpScenario) { | ||
civilCaseReference = await api_spec.createClaimWithRepresentedRespondent(config.applicantSolicitorUser, mpScenario, false, true, claimAmountPenniesIntermediate); | ||
} | ||
|
||
Scenario('Spec Claim - Int track - 1v2 diff solicitor - Upload bundle', async ({ api_spec, I }) => { | ||
const mpScenario = 'ONE_V_TWO'; | ||
await prepareSpecClaim(api_spec, mpScenario); | ||
await api_spec.defendantResponse(config.defendantSolicitorUser, 'FULL_DEFENCE1', 'ONE_V_ONE_DIF_SOL', 'AWAITING_RESPONDENT_ACKNOWLEDGEMENT', false, true, claimAmountIntermediate); | ||
await api_spec.defendantResponse(config.secondDefendantSolicitorUser, 'FULL_DEFENCE2', 'ONE_V_ONE_DIF_SOL', 'AWAITING_APPLICANT_INTENTION', false, true, claimAmountIntermediate); | ||
await api_spec.claimantResponse(config.applicantSolicitorUser, 'FULL_DEFENCE', mpScenario, 'JUDICIAL_REFERRAL', false, true); | ||
await api_spec.createFinalOrderJO(judgeUser, 'DOWNLOAD_ORDER_TEMPLATE', 'INTERMEDIATE'); | ||
await api_spec.scheduleHearing(hearingCenterAdminToBeUsed, 'FAST_TRACK_TRIAL'); | ||
await api_spec.amendHearingDueDate(config.systemupdate); | ||
await api_spec.hearingFeePaid(hearingCenterAdminToBeUsed); | ||
await api_spec.createFinalOrderJO(judgeUser, 'FREE_FORM_ORDER'); | ||
await I.login(config.secondDefendantSolicitorUser); | ||
await I.evidenceUpload(civilCaseReference, true, true); | ||
}); | ||
|
||
AfterSuite(async ({api_spec}) => { | ||
await api_spec.cleanUp(); | ||
}); |
Oops, something went wrong.