Skip to content

Commit

Permalink
MOSIP-38404,MOSIP-38440
Browse files Browse the repository at this point in the history
Signed-off-by: Jayesh Kharode <[email protected]>
  • Loading branch information
Jayesh Kharode committed Dec 19, 2024
1 parent 95324eb commit 5c74e16
Showing 1 changed file with 22 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20298,12 +20298,12 @@
"Action": "e2e_CheckUpdatedUIN($$uin1,$$uin3)"
}
},
{
{
"Scenario": "181",
"Tag": "Postive_Test",
"Persona": "ResidentFemaleAdult",
"Group": "Adult_New",
"Description": "Resident goes to reg-center and gets UIN same person goes to center and updates his biometrics for 5 consecutive times at the reg-center and updates his/her biometrics successfully all 5 times",
"Description": "Resident goes to reg-center and gets UIN same person goes to center and updates his biometrics for 2 consecutive times at the reg-center and updates his/her biometrics successfully resident 2 goes to center and generates UIN later resident 2 tries to update his biometrics with resident 1 biometrics",
"Step-0": {
"Description": "Performs health check of given component",
"Input Parameters": "Keyword to check, only packetcreator is supported",
Expand Down Expand Up @@ -20455,112 +20455,88 @@
"Action": "$$uin3=e2e_getUINByRid($$rid3)"
},
"Step-25": {
"Description": "Generates the hash for the given modalities",
"Input Parameters": "Modalitie and persona file path. Other details can be found in the parameter in-line comments",
"Return Value": "Hash value",
"Action": "$$modalityHashValue=e2e_getBioModalityHash(-1/*CHECK_PERSONA_PRESENCE*/,Right IndexFinger@@Left LittleFinger,$$personaFilePath)"
"Description": "Generates persona data",
"Input Parameters": "Details are in parameter in-line comments",
"Return Value": "Persona file path",
"Action": "$$personaFilePath2=e2e_getResidentData(adult/*PERSONA_TYPE*/,false,Female)"
},
"Step-26": {
"Description": "Sets expectatation on mock ABIS",
"Input Parameters": "Modalities hash value. Other details can be found in the parameter in-line comments",
"Return Value": "NA",
"Action": "e2e_configureMockAbis(-1/*CHECK_PERSONA_PRESENCE*/,Right IndexFinger,true/*DUPLICATE_FLAG*/,Right IndexFinger,$$personaFilePath,$$modalityHashValue,-1/*DEFAULT_MOCK_DELAY*/,@@Duplicate/*STATUS_CODE*/)"
},
"Step-27": {
"Description": "Updates Demo graphic details and biometric in the persona file",
"Input Parameters": "Data to update and persona file path. Other details can be found in the parameter in-line comments",
"Return Value": "NA",
"Action": "e2e_updateDemoOrBioDetails(0/*BIO_TYPE*/,face@@leftEye@@rightEye@@rightIndex@@rightLittle@@rightRing@@rightMiddle@@leftIndex@@leftLittle@@leftRing@@leftMiddle@@leftThumb@@rightThumb,0,$$personaFilePath)"
},
"Step-28": {
"Description": "Updates persona with UIN",
"Input Parameters": "Persona file path and UIN",
"Return Value": "NA",
"Action": "e2e_updateResidentWithUIN($$personaFilePath,$$uin3)"
},
"Step-29": {
"Description": "Generates packet template based on the persona data",
"Input Parameters": "Process and persona file path",
"Return Value": "Generated Template file path",
"Action": "$$updateTemplate=e2e_getPacketTemplate(UPDATE/*PACKET_TYPE*/,$$personaFilePath)"
"Action": "$$templatePath2=e2e_getPacketTemplate(NEW/*PACKET_TYPE*/,$$personaFilePath2)"
},
"Step-30": {
"Step-27": {
"Description": "Genertes and uploads packet with given persona and packet template skipping pre-registration step",
"Input Parameters": "Persona file path and template file path",
"Return Value": "RID",
"Action": "$$rid4=e2e_generateAndUploadPacketSkippingPrereg($$personaFilePath,$$updateTemplate)"
"Action": "$$rid4=e2e_generateAndUploadPacketSkippingPrereg($$personaFilePath2,$$templatePath2)"
},
"Step-31": {
"Description": "Checks the RID status against given packet processing status",
"Step-28": {
"Description": "Checkes the RID status against given packet processing status",
"Input Parameters": "Packet processing status and RID",
"Return Value": "NA",
"Action": "e2e_checkStatus(PROCESSED/*PACKET_STATUS*/,$$rid4)"
},
"Step-32": {
"Step-29": {
"Description": "Gets the UIN for the given RID",
"Input Parameters": "RID",
"Return Value": "UIN",
"Action": "$$uin4=e2e_getUINByRid($$rid4)"
},
"Step-33": {
"Step-30": {
"Description": "Generates the hash for the given modalities",
"Input Parameters": "Modalitie and persona file path. Other details can be found in the parameter in-line comments",
"Return Value": "Hash value",
"Action": "$$modalityHashValue=e2e_getBioModalityHash(-1/*CHECK_PERSONA_PRESENCE*/,Right IndexFinger@@Left LittleFinger,$$personaFilePath)"
},
"Step-34": {
"Step-31": {
"Description": "Sets expectatation on mock ABIS",
"Input Parameters": "Modalities hash value. Other details can be found in the parameter in-line comments",
"Return Value": "NA",
"Action": "e2e_configureMockAbis(-1/*CHECK_PERSONA_PRESENCE*/,Right IndexFinger,true/*DUPLICATE_FLAG*/,Right IndexFinger,$$personaFilePath,$$modalityHashValue,-1/*DEFAULT_MOCK_DELAY*/,@@Duplicate/*STATUS_CODE*/)"
},
"Step-35": {
"Step-32": {
"Description": "Updates Demo graphic details and biometric in the persona file",
"Input Parameters": "Data to update and persona file path. Other details can be found in the parameter in-line comments",
"Return Value": "NA",
"Action": "e2e_updateDemoOrBioDetails(0/*BIO_TYPE*/,face@@leftEye@@rightEye@@rightIndex@@rightLittle@@rightRing@@rightMiddle@@leftIndex@@leftLittle@@leftRing@@leftMiddle@@leftThumb@@rightThumb,0,$$personaFilePath)"
},
"Step-36": {
"Step-33": {
"Description": "Updates persona with UIN",
"Input Parameters": "Persona file path and UIN",
"Return Value": "NA",
"Action": "e2e_updateResidentWithUIN($$personaFilePath,$$uin4)"
},
"Step-37": {
"Step-34": {
"Description": "Generates packet template based on the persona data",
"Input Parameters": "Process and persona file path",
"Return Value": "Generated Template file path",
"Action": "$$updateTemplate=e2e_getPacketTemplate(UPDATE/*PACKET_TYPE*/,$$personaFilePath)"
},
"Step-38": {
"Step-35": {
"Description": "Genertes and uploads packet with given persona and packet template skipping pre-registration step",
"Input Parameters": "Persona file path and template file path",
"Return Value": "RID",
"Action": "$$rid5=e2e_generateAndUploadPacketSkippingPrereg($$personaFilePath,$$updateTemplate)"
},
"Step-39": {
"Step-36": {
"Description": "Checks the RID status against given packet processing status",
"Input Parameters": "Packet processing status and RID",
"Return Value": "NA",
"Action": "e2e_checkStatus(PROCESSED/*PACKET_STATUS*/,$$rid5)"
},
"Step-40": {
"Step-37": {
"Description": "Gets the UIN for the given RID",
"Input Parameters": "RID",
"Return Value": "UIN",
"Action": "$$uin5=e2e_getUINByRid($$rid5)"
},
"Step-41": {
"Step-38": {
"Description": "Checks RID stage and stage status",
"Input Parameters": "RID, stage and stage status",
"Return Value": "NA",
"Action": "e2e_CheckRIDStage($$rid5,PRINT_SERVICE,PROCESSED)"
},
"Step-42": {
"Description": "Checks uin after updating it",
"Input Parameters": "RID, stage and stage status",
"Return Value": "NA",
"Action": "e2e_CheckUpdatedUIN($$uin1,$$uin5)"
"Action": "e2e_CheckRIDStage($$rid5,MANUAL_ADJUDICATION,SUCCESS)"
}
},
{
Expand Down

0 comments on commit 5c74e16

Please sign in to comment.