diff --git a/ccd-definition/AuthorisationCaseField/AuthorisationCaseField-JO-nonprod.json b/ccd-definition/AuthorisationCaseField/AuthorisationCaseField-JO-nonprod.json index 7ef7877c94..0f4a3ea454 100644 --- a/ccd-definition/AuthorisationCaseField/AuthorisationCaseField-JO-nonprod.json +++ b/ccd-definition/AuthorisationCaseField/AuthorisationCaseField-JO-nonprod.json @@ -382,5 +382,41 @@ "CRUD": "R" } ] + }, + { + "CaseTypeID": "CIVIL${CCD_DEF_VERSION}", + "CaseFieldID": "joDefendantMarkedPaidInFullIssueDate", + "AccessControl": [ + { + "UserRoles": [ + "caseworker-civil-systemupdate" + ], + "CRUD": "CRU" + } + ] + }, + { + "CaseTypeID": "CIVIL${CCD_DEF_VERSION}", + "CaseFieldID": "joMarkedPaidInFullIssueDate", + "AccessControl": [ + { + "UserRoles": [ + "caseworker-civil-systemupdate" + ], + "CRUD": "CRU" + } + ] + }, + { + "CaseTypeID": "CIVIL${CCD_DEF_VERSION}", + "CaseFieldID": "joCoscRpaStatus", + "AccessControl": [ + { + "UserRoles": [ + "caseworker-civil-systemupdate" + ], + "CRUD": "CRU" + } + ] } ] diff --git a/ccd-definition/AuthorisationCaseField/AuthorisationCaseField-R2-CUI.json b/ccd-definition/AuthorisationCaseField/AuthorisationCaseField-R2-CUI.json index 08cd0948df..5da66f345d 100644 --- a/ccd-definition/AuthorisationCaseField/AuthorisationCaseField-R2-CUI.json +++ b/ccd-definition/AuthorisationCaseField/AuthorisationCaseField-R2-CUI.json @@ -2439,6 +2439,25 @@ } ] }, + { + "CaseTypeID": "CIVIL${CCD_DEF_VERSION}", + "CaseFieldID": "respondentResponsePcqId", + "AccessControl": [ + { + "UserRoles": [ + "CITIZEN-DEFENDANT-PROFILE" + ], + "CRUD": "CRU" + }, + { + "UserRoles": [ + "CITIZEN-CLAIMANT-PROFILE", + "caseworker-civil-citizen-ui-pcqextractor" + ], + "CRUD": "R" + } + ] + }, { "CaseTypeID": "CIVIL${CCD_DEF_VERSION}", "CaseFieldID": "helpWithFees", diff --git a/ccd-definition/AuthorisationCaseField/AuthorisationCaseFieldGAspec-R2-CUI-nonprod.json b/ccd-definition/AuthorisationCaseField/AuthorisationCaseFieldGAspec-R2-CUI-nonprod.json index 17d87312fe..e58604eab6 100644 --- a/ccd-definition/AuthorisationCaseField/AuthorisationCaseFieldGAspec-R2-CUI-nonprod.json +++ b/ccd-definition/AuthorisationCaseField/AuthorisationCaseFieldGAspec-R2-CUI-nonprod.json @@ -518,6 +518,19 @@ } ] }, + { + "CaseTypeID": "CIVIL${CCD_DEF_VERSION}", + "CaseFieldID": "gaDraftDocRespondentSol", + "AccessControl": [ + { + "UserRoles": [ + "CITIZEN-CLAIMANT-PROFILE", + "CITIZEN-DEFENDANT-PROFILE" + ], + "CRUD": "CRU" + } + ] + }, { "CaseTypeID": "CIVIL${CCD_DEF_VERSION}", "CaseFieldID": "gaDraftDocument", diff --git a/ccd-definition/CaseField/CaseField-CUI-R2.json b/ccd-definition/CaseField/CaseField-CUI-R2.json index 5ac8e67f66..749b073bb4 100644 --- a/ccd-definition/CaseField/CaseField-CUI-R2.json +++ b/ccd-definition/CaseField/CaseField-CUI-R2.json @@ -24,6 +24,14 @@ "SecurityClassification": "Public", "Searchable": "Y" }, + { + "CaseTypeID": "CIVIL${CCD_DEF_VERSION}", + "ID": "respondentResponsePcqId", + "Label": "PCQ id", + "FieldType": "Text", + "SecurityClassification": "Public", + "Searchable": "Y" + }, { "CaseTypeID": "CIVIL${CCD_DEF_VERSION}", "ID": "helpWithFees", diff --git a/ccd-definition/CaseField/CaseField-JO-nonprod.json b/ccd-definition/CaseField/CaseField-JO-nonprod.json index b888f51688..b574da1a8d 100644 --- a/ccd-definition/CaseField/CaseField-JO-nonprod.json +++ b/ccd-definition/CaseField/CaseField-JO-nonprod.json @@ -327,5 +327,30 @@ "FieldType": "Date", "SecurityClassification": "Public", "Searchable": "N" + }, + { + "CaseTypeID": "CIVIL${CCD_DEF_VERSION}", + "ID": "joDefendantMarkedPaidInFullIssueDate", + "Label": " ", + "FieldType": "DateTime", + "SecurityClassification": "Public", + "Searchable": "N" + }, + { + "CaseTypeID": "CIVIL${CCD_DEF_VERSION}", + "ID": "joMarkedPaidInFullIssueDate", + "Label": " ", + "FieldType": "DateTime", + "SecurityClassification": "Public", + "Searchable": "N" + }, + { + "CaseTypeID": "CIVIL${CCD_DEF_VERSION}", + "ID": "joCoscRpaStatus", + "Label": " ", + "FieldType": "FixedList", + "FieldTypeParameter": "CoscRpaStatus", + "SecurityClassification": "Public", + "Searchable": "N" } ] diff --git a/ccd-definition/FixedLists/CoscRpaStatus-JO-nonprod.json b/ccd-definition/FixedLists/CoscRpaStatus-JO-nonprod.json new file mode 100644 index 0000000000..739986a75d --- /dev/null +++ b/ccd-definition/FixedLists/CoscRpaStatus-JO-nonprod.json @@ -0,0 +1,14 @@ +[ + { + "ID": "CoscRpaStatus", + "ListElementCode": "CANCELLED", + "ListElement": "Cancelled", + "DisplayOrder": 1 + }, + { + "ID": "CoscRpaStatus", + "ListElementCode": "SATISFIED", + "ListElement": "Satisfied", + "DisplayOrder": 2 + } +] diff --git a/codecept.conf.js b/codecept.conf.js index f5d9bbdd06..ba149dfadd 100644 --- a/codecept.conf.js +++ b/codecept.conf.js @@ -1,5 +1,5 @@ exports.config = { - tests: process.env.CCD_UI_TESTS == 'true' ? [ + tests: process.env.CCD_UI_TESTS === 'true' ? [ './e2e/tests/ui_tests/*.js', './e2e/tests/ui_tests/damages/*_test.js', './e2e/tests/ui_tests/lrspec/*_test.js', @@ -9,6 +9,7 @@ exports.config = { './e2e/tests/ui_tests/settle_discontinue/*_test.js', './e2e/tests/ui_tests/sdo/*_test.js', './e2e/tests/ui_tests/carm/*_test.js', + './e2e/tests/ui_tests/minti/*_test.js', './e2e/tests/ui_tests/refunds/*_test.js', './e2e/tests/ui_tests/default_judgement/*_test.js', './e2e/tests/ui_tests/hearings/*_test.js', @@ -18,6 +19,7 @@ exports.config = { './e2e/tests/api_tests/judgmentOnline/*_test.js', './e2e/tests/api_tests/mediation/*_test.js', './e2e/tests/api_tests/sdo_R2/*_test.js', + './e2e/tests/api_tests/generalapplication/*_test.js', './e2e/tests/api_tests/defaultJudgments/*_test.js', './e2e/tests/api_tests/damages/*_test.js', './e2e/tests/api_tests/sdo/*_test.js', diff --git a/e2e/api/steps.js b/e2e/api/steps.js index a66f1419d0..9442e32bc2 100644 --- a/e2e/api/steps.js +++ b/e2e/api/steps.js @@ -13,8 +13,6 @@ const apiRequest = require('./apiRequest.js'); const claimData = require('../fixtures/events/createClaim.js'); const createDJ = require('../fixtures/events/createDJ.js'); const createDJDirectionOrder = require('../fixtures/events/createDJDirectionOrder.js'); -const genAppClaimData = require('../fixtures/events/createGeneralApplication.js'); -const genAppClaimDataLR = require('../fixtures/events/createGeneralApplicationLR.js'); const expectedEvents = require('../fixtures/ccd/expectedEvents.js'); const nonProdExpectedEvents = require('../fixtures/ccd/nonProdExpectedEvents.js'); const testingSupport = require('./testingSupport'); @@ -45,8 +43,6 @@ const dismissCase = require('../fixtures/events/dismissCase'); const data = { - INITIATE_GENERAL_APPLICATION: genAppClaimData.createGAData('Yes', null, '27500','FEE0442'), - INITIATE_GENERAL_APPLICATION_LR: genAppClaimDataLR.createGAData('Yes', null, '27500','FEE0442'), CREATE_CLAIM: (mpScenario, claimAmount, pbaV3, sdoR2, hmcTest) => claimData.createClaim(mpScenario, claimAmount, pbaV3, sdoR2, hmcTest), CREATE_CLAIM_RESPONDENT_LIP: claimData.createClaimLitigantInPerson, CREATE_CLAIM_RESPONDENT_LR_LIP: claimData.createClaimLRLIP, @@ -885,25 +881,6 @@ module.exports = { return await fetchCaseDetails(user, caseId, expectedStatus); }, - initiateGeneralApplication: async (caseNumber, user, expectedState) => { - eventName = 'INITIATE_GENERAL_APPLICATION'; - caseId = caseId || caseNumber; - console.log('caseid is..', caseId); - - await apiRequest.setupTokens(user); - await apiRequest.startEvent(eventName, caseId); - - var isCOSCEnabled = await checkToggleEnabled(COSC); - var gaData = isCOSCEnabled ? data.INITIATE_GENERAL_APPLICATION_LR : data.INITIATE_GENERAL_APPLICATION; - const response = await apiRequest.submitEvent(eventName, gaData, caseId); - const responseBody = await response.json(); - assert.equal(response.status, 201); - assert.equal(responseBody.state, expectedState); - - console.log('General application created when main case state is', expectedState); - assert.equal(responseBody.callback_response_status_code, 200); - }, - addDefendantLitigationFriend: async (user, mpScenario, solicitor) => { eventName = 'ADD_DEFENDANT_LITIGATION_FRIEND'; await apiRequest.setupTokens(user); diff --git a/e2e/api/steps_LRspec.js b/e2e/api/steps_LRspec.js index 76905c8591..728d1360d9 100644 --- a/e2e/api/steps_LRspec.js +++ b/e2e/api/steps_LRspec.js @@ -9,7 +9,7 @@ const {expect, assert} = chai; const {waitForFinishedBusinessProcess} = require('../api/testingSupport'); const {assignCaseRoleToUser, addUserCaseMapping, unAssignAllUsers} = require('./caseRoleAssignmentHelper'); -const {PBAv3, SDOR2, isJOLive} = require('../fixtures/featureKeys'); +const {PBAv3, SDOR2, isJOLive, COSC} = require('../fixtures/featureKeys'); const apiRequest = require('./apiRequest.js'); const claimData = require('../fixtures/events/createClaimSpec.js'); const expectedEvents = require('../fixtures/ccd/expectedEventsLRSpec.js'); @@ -43,6 +43,8 @@ const {adjustCaseSubmittedDateForMinti, getMintiTrackByClaimAmount, assertTrackA const stayCase = require('../fixtures/events/stayCase'); const manageStay = require('../fixtures/events/manageStay'); const dismissCase = require('../fixtures/events/dismissCase'); +const genAppClaimData = require('../fixtures/events/createGeneralApplication'); +const genAppClaimDataLR = require('../fixtures/events/createGeneralApplicationLR'); let caseId, eventName, mintiClaimTrack; let caseData = {}; @@ -51,6 +53,8 @@ let mpScenario = 'ONE_V_ONE'; const data = { CREATE_CLAIM: (scenario, pbaV3, isMintiCaseEnabled, mintiClaimAmount) => claimData.createClaim(scenario, pbaV3, isMintiCaseEnabled, mintiClaimAmount), + INITIATE_GENERAL_APPLICATION: genAppClaimData.createGAData('Yes', null, '27500','FEE0442'), + INITIATE_GENERAL_APPLICATION_LR: genAppClaimDataLR.createGAData('Yes', null, '27500','FEE0442'), DEFENDANT_RESPONSE: (response, camundaEvent) => require('../fixtures/events/defendantResponseSpec.js').respondToClaim(response, camundaEvent), DEFENDANT_RESPONSE_MULTI_CLAIM: (response, camundaEvent) => require('../fixtures/events/defendantResponseMultiClaimSpec.js').respondToClaim(response, camundaEvent), DEFENDANT_RESPONSE_INTERMEDIATE_CLAIM: (response, camundaEvent) => require('../fixtures/events/defendantResponseIntermediateClaimSpec.js').respondToClaim(response, camundaEvent), @@ -1054,6 +1058,25 @@ module.exports = { } }, + initiateGeneralApplication: async (caseNumber, user, expectedState) => { + eventName = 'INITIATE_GENERAL_APPLICATION'; + caseId = caseId || caseNumber; + console.log('caseid is..', caseId); + + await apiRequest.setupTokens(user); + await apiRequest.startEvent(eventName, caseId); + + var isCOSCEnabled = await checkToggleEnabled(COSC); + var gaData = isCOSCEnabled ? data.INITIATE_GENERAL_APPLICATION_LR : data.INITIATE_GENERAL_APPLICATION; + const response = await apiRequest.submitEvent(eventName, gaData, caseId); + const responseBody = await response.json(); + assert.equal(response.status, 201); + assert.equal(responseBody.state, expectedState); + + console.log('General application created when main case state is', expectedState); + assert.equal(responseBody.callback_response_status_code, 200); + }, + mediationUnsuccessful: async (user, carmEnabled = false) => { eventName = 'MEDIATION_UNSUCCESSFUL'; diff --git a/e2e/pages/bundlesTab.page.js b/e2e/pages/bundlesTab.page.js new file mode 100644 index 0000000000..84c54ea8ee --- /dev/null +++ b/e2e/pages/bundlesTab.page.js @@ -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'); + }, +}; diff --git a/e2e/steps_file.js b/e2e/steps_file.js index 6e14d9f23e..6e1dd2dcad 100644 --- a/e2e/steps_file.js +++ b/e2e/steps_file.js @@ -41,6 +41,7 @@ const cosNotifyClaimDetailsPage = require('./pages/notifyClaimDetails/certificat const cosNotifyClaimCYAPage = require('./pages/cosNotifyClaimCYA.page'); const cosTab = require('./pages/cosTab.page'); +const bundlesTab = require('./pages/bundlesTab.page'); const selectDefendantSolicitorPage = require('./pages/notifyClaimDetails/selectDefendantSolicitor.page'); @@ -699,6 +700,13 @@ module.exports = function () { ]); }, + async verifyBundleDetails(caseNumber) { + await this.triggerStepsWithScreenshot([ + () =>caseViewPage.navigateToTab('Bundles'), + () => bundlesTab.verifyBundleDetails() + ]); + }, + async navigateToTab(tabName) { await this.triggerStepsWithScreenshot([ () =>caseViewPage.navigateToTab(tabName), diff --git a/e2e/tests/api_tests/generalapplication/1v2CreateClaim_DiffSol_GA_test.js b/e2e/tests/api_tests/generalapplication/1v2CreateClaim_DiffSol_GA_test.js new file mode 100644 index 0000000000..f7954de34a --- /dev/null +++ b/e2e/tests/api_tests/generalapplication/1v2CreateClaim_DiffSol_GA_test.js @@ -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(); +}); diff --git a/e2e/tests/ui_tests/damages/1v2CreateClaim_DiffSol_fast_track_test.js b/e2e/tests/ui_tests/damages/1v2CreateClaim_DiffSol_fast_track_test.js index ab5c0fc5fc..fc2f60e265 100644 --- a/e2e/tests/ui_tests/damages/1v2CreateClaim_DiffSol_fast_track_test.js +++ b/e2e/tests/ui_tests/damages/1v2CreateClaim_DiffSol_fast_track_test.js @@ -148,12 +148,6 @@ Scenario.skip('Defendant solicitor uploads evidence', async ({I}) => { await I.evidenceUpload(caseNumber, true); }).retry(3); -Scenario('Make a general application', async ({api}) => { - if (['preview', 'demo'].includes(config.runningEnv)) { - await api.initiateGeneralApplication(caseNumber, config.applicantSolicitorUser, 'CASE_PROGRESSION'); - } -}).retry(3); - Scenario('Create a Hearing Request', async ({I}) => { if (['demo'].includes(config.runningEnv)) { await I.login(config.hearingCenterAdminWithRegionId1); diff --git a/e2e/tests/ui_tests/minti/spec_intTrack_upload_bundle_test.js b/e2e/tests/ui_tests/minti/spec_intTrack_upload_bundle_test.js new file mode 100644 index 0000000000..87097b28cc --- /dev/null +++ b/e2e/tests/ui_tests/minti/spec_intTrack_upload_bundle_test.js @@ -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(); +}); diff --git a/e2e/tests/ui_tests/minti/spec_multiTrack_upload_bundle_test.js b/e2e/tests/ui_tests/minti/spec_multiTrack_upload_bundle_test.js new file mode 100644 index 0000000000..5567e4a93e --- /dev/null +++ b/e2e/tests/ui_tests/minti/spec_multiTrack_upload_bundle_test.js @@ -0,0 +1,35 @@ +const config = require('../../../config.js'); +const claimAmountPenniesMulti = '20000001'; +const claimAmountMulti = '200001'; +const judgeUser = config.judgeUserWithRegionId1; +const hearingCenterAdminToBeUsed = config.hearingCenterAdminWithRegionId1; +let civilCaseReference; + +Feature('Multi track - Upload documents - Bundle @non-prod-e2e-ft'); + +async function prepareSpecClaim(api_spec, mpScenario) { + civilCaseReference = await api_spec.createClaimWithRepresentedRespondent(config.applicantSolicitorUser, mpScenario, false, true, claimAmountPenniesMulti); +} + +Scenario('Spec Claim - Multi track - 1v2 same solicitor - Upload bundle', async ({ api_spec, I }) => { + const mpScenario = 'ONE_V_TWO_SAME_SOL'; + await prepareSpecClaim(api_spec, mpScenario); + await api_spec.defendantResponse(config.defendantSolicitorUser, 'FULL_DEFENCE', 'ONE_V_TWO', 'AWAITING_APPLICANT_INTENTION', false, true, claimAmountMulti); + await api_spec.claimantResponse(config.applicantSolicitorUser, 'FULL_DEFENCE', 'ONE_V_TWO', 'JUDICIAL_REFERRAL', false, true); + await api_spec.createFinalOrderJO(judgeUser, 'DOWNLOAD_ORDER_TEMPLATE', 'MULTI'); + await api_spec.scheduleHearing(hearingCenterAdminToBeUsed, 'FAST_TRACK_TRIAL'); + await api_spec.amendHearingDueDate(config.systemupdate); + await api_spec.hearingFeePaid(hearingCenterAdminToBeUsed); + await I.login(config.applicantSolicitorUser); + await I.evidenceUpload(civilCaseReference, false, true); + await I.login(config.defendantSolicitorUser); + await I.evidenceUpload(civilCaseReference, true, true, true, 'ONE_V_TWO_ONE_LEGAL_REP'); + await I.login(config.applicantSolicitorUser); + await I.amOnPage(config.url.manageCase + '/cases/case-details/' + civilCaseReference); + await I.waitForText('Summary'); + await I.verifyBundleDetails(civilCaseReference); +}); + +AfterSuite(async ({ api_spec }) => { + await api_spec.cleanUp(); +}); diff --git a/e2e/tests/ui_tests/sdo/minti_cp_test.js b/e2e/tests/ui_tests/minti/unSpec_minti_finalOrder_upload_bundle_test.js similarity index 82% rename from e2e/tests/ui_tests/sdo/minti_cp_test.js rename to e2e/tests/ui_tests/minti/unSpec_minti_finalOrder_upload_bundle_test.js index 5a691c305f..52c44481c2 100644 --- a/e2e/tests/ui_tests/sdo/minti_cp_test.js +++ b/e2e/tests/ui_tests/minti/unSpec_minti_finalOrder_upload_bundle_test.js @@ -8,6 +8,7 @@ const claimAmountMulti = '200001'; const track = 'INTERMEDIATE_CLAIM'; const judgeUser = config.judgeUserWithRegionId1; +const hearingCenterAdminToBeUsed = config.hearingCenterAdminWithRegionId1; let civilCaseReference; Feature('Intermediate and Multi tracks - Download order template Journey - Upload Bundle @non-prod-e2e-ft'); @@ -28,6 +29,11 @@ Scenario('1v2 Same Solicitor Int Track - Download order template - Upload Bundle await I.login(config.defendantSolicitorUser); await I.evidenceUpload(civilCaseReference, true, true, true, mpScenario); + + await I.login(config.applicantSolicitorUser); + await I.amOnPage(config.url.manageCase + '/cases/case-details/' + civilCaseReference); + await I.waitForText('Summary'); + await I.verifyBundleDetails(civilCaseReference); }); Scenario('1v2 Different Solicitor Multi Track claim - Download order template - Upload Bundle', async ({api, I}) => { @@ -37,8 +43,9 @@ Scenario('1v2 Different Solicitor Multi Track claim - Download order template - await api.notifyClaimDetails(config.applicantSolicitorUser); await api.defendantResponse(config.defendantSolicitorUser, mpScenario, 'solicitorOne'); await api.defendantResponse(config.secondDefendantSolicitorUser, mpScenario, 'solicitorTwo'); - await api.claimantResponse(config.applicantSolicitorUser, mpScenario, 'AWAITING_APPLICANT_INTENTION', 'FOR_SDO', 'MULTI_CLAIM'); - + await api.claimantResponse(config.applicantSolicitorUser, mpScenario, 'JUDICIAL_REFERRAL', 'FOR_SDO', 'MULTI_CLAIM'); + await api.createFinalOrder(judgeUser, 'DOWNLOAD_ORDER_TEMPLATE', 'MULTI'); + await api.scheduleHearing(hearingCenterAdminToBeUsed, 'FAST_TRACK_TRIAL'); await I.login(judgeUser); await I.initiateFinalOrder(civilCaseReference, 'Multi Track', 'Fix a date for CCMC');