Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOSIP-35959 updated uniqueIdentifier for Pre-reg #738

Merged
merged 9 commits into from
Oct 18, 2024
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
AddLostUinApplication:
Prereg_AddLostUinApplication_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/applications/lostuin
uniqueIdentifier: TC_prereg_AddLostUinApplication_01
description: process the lost UIN application with a valid ID
role: batch
templateFields: ["langCode"]
Expand All @@ -19,6 +20,7 @@ AddLostUinApplication:
}'
Prereg_AddLostUinApplication_Invalid_id:
endPoint: /preregistration/v1/applications/lostuin
uniqueIdentifier: TC_prereg_AddLostUinApplication_02
description: process the lost UIN application with an invalid ID
role: batch
templateFields: ["langCode"]
Expand All @@ -40,6 +42,7 @@ AddLostUinApplication:
}'
Prereg_AddLostUinApplication_invalid_lang_code:
endPoint: /preregistration/v1/applications/lostuin
uniqueIdentifier: TC_prereg_AddLostUinApplication_03
description: Process the lost UIN application with an invalid language code
role: batch
restMethod: post
Expand All @@ -60,6 +63,7 @@ AddLostUinApplication:
}'
Prereg_AddLostUinApplication_without_version:
endPoint: /preregistration/v1/applications/lostuin
uniqueIdentifier: TC_prereg_AddLostUinApplication_04
description: Process the lost UIN application without specifying the version
role: batch
templateFields: ["langCode"]
Expand All @@ -81,6 +85,7 @@ AddLostUinApplication:
}'
Prereg_AddLostUinApplication_without_version_attribute:
endPoint: /preregistration/v1/applications/lostuin
uniqueIdentifier: TC_prereg_AddLostUinApplication_05
description: Process the lost UIN application without specifying the version and attribute
role: batch
templateFields: ["langCode"]
Expand All @@ -102,6 +107,7 @@ AddLostUinApplication:
}'
Prereg_AddLostUinApplication_with_INVALID_version:
endPoint: /preregistration/v1/applications/lostuin
uniqueIdentifier: TC_prereg_AddLostUinApplication_06
description: Process the lost UIN application with an invalid version
role: batch
templateFields: ["langCode"]
Expand All @@ -123,6 +129,7 @@ AddLostUinApplication:
}'
Prereg_AddLostUinApplication_Valid_Smoke_sid:
endPoint: /preregistration/v1/applications/lostuin
uniqueIdentifier: TC_prereg_AddLostUinApplication_07
description: Process the lost UIN application with a valid data
role: batch
templateFields: ["langCode"]
Expand All @@ -142,6 +149,7 @@ AddLostUinApplication:

Prereg_AddLostUinApplication_inValid_langcode:
endPoint: /preregistration/v1/applications/lostuin
uniqueIdentifier: TC_prereg_AddLostUinApplication_08
description: Process the lost UIN application with an invalid language code
role: batch
restMethod: post
Expand All @@ -162,6 +170,7 @@ AddLostUinApplication:
}'
Prereg_AddLostUinApplication_without_any_data:
endPoint: /preregistration/v1/applications/lostuin
uniqueIdentifier: TC_prereg_AddLostUinApplication_09
description: Process the lost UIN application with no data provided
role: batch
restMethod: post
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
AddUpdateRegistration:
Prereg_AddUpdateRegistration_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/applications/updateregistration
uniqueIdentifier: TC_prereg_AddUpdateRegistration_01
description: add an update to the registration with valid data
role: batch
templateFields: ["langCode"]
Expand All @@ -20,6 +21,7 @@ AddUpdateRegistration:

Prereg_AddUpdateRegistration_inValid_langcode:
endPoint: /preregistration/v1/applications/updateregistration
uniqueIdentifier: TC_prereg_AddUpdateRegistration_02
description: add an update to the registration with an invalid data
role: batch
restMethod: post
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CancelApplicationsAppointment:
Prereg_CancelApplicationsAppointment_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/applications/appointment/{preRegistrationId}
uniqueIdentifier: TC_prereg_CancelAppointment_01
description: Canceling appointment for a valid preregistration ID
role: batch
checkErrorsOnlyInResponse: true
Expand All @@ -14,6 +15,7 @@ CancelApplicationsAppointment:
}'
Prereg_CancelApplicationsAppointment_inValid_preRegistrationId_sid:
endPoint: /preregistration/v1/applications/appointment/{preRegistrationId}
uniqueIdentifier: TC_prereg_CancelAppointment_02
description: Canceling appointment for an invalid preregistration ID
role: batch
restMethod: put
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CancelAppointment:
Prereg_CancelAppointment_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/appointment/{preRegistrationId}
uniqueIdentifier: TC_prereg_CancelAppointment_01
description: Cancel appointment for a valid preregistration ID
role: batch
checkErrorsOnlyInResponse: true
Expand All @@ -14,6 +15,7 @@ CancelAppointment:
}'
Prereg_CancelAppointment_with_already_cancelled_appoinment:
endPoint: /preregistration/v1/appointment/{preRegistrationId}
uniqueIdentifier: TC_prereg_CancelAppointment_02
description: Canceling an appointment that has already been cancelled
role: batch
checkErrorsOnlyInResponse: true
Expand All @@ -32,6 +34,7 @@ CancelAppointment:
}'
Prereg_CancelAppointment_cancell_incomplete_appoinment:
endPoint: /preregistration/v1/appointment/{preRegistrationId}
uniqueIdentifier: TC_prereg_CancelAppointment_03
description: Canceling an appointment with an incomplete appointment data
role: batch
checkErrorsOnlyInResponse: true
Expand All @@ -50,6 +53,7 @@ CancelAppointment:
}'
Prereg_CancelAppointment_inValid_preRegistrationId_sid:
endPoint: /preregistration/v1/appointment/{preRegistrationId}
uniqueIdentifier: TC_prereg_CancelAppointment_04
description: Canceling an appointment with an invalid preregistration ID
role: batch
restMethod: put
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CopyDocument:
Prereg_CopyDocument_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/documents/{preRegistrationId}?catCode={doc_cat_code}&sourcePreId={preRegistrationId}
uniqueIdentifier: TC_prereg_CopyDocument_01
description: Copy the valid Proof of Address (POA) document
role: batch
restMethod: put
Expand All @@ -16,6 +17,7 @@ CopyDocument:
}'
Prereg_CopyDocument_in_Valid_doc_cat_code_sid:
endPoint: /preregistration/v1/documents/{preRegistrationId}?catCode={doc_cat_code}&sourcePreId={preRegistrationId}
uniqueIdentifier: TC_prereg_CopyDocument_02
description: Copy the Proof of Address (POA) document with the invalid document category code
role: batch
restMethod: put
Expand All @@ -34,6 +36,7 @@ CopyDocument:
}'
Prereg_CopyDocument_blank_doc_cat_code_sid:
endPoint: /preregistration/v1/documents/{preRegistrationId}?catCode={doc_cat_code}&sourcePreId={preRegistrationId}
uniqueIdentifier: TC_prereg_CopyDocument_03
description: Copy the blank document and categorize it with the code
role: batch
restMethod: put
Expand All @@ -52,6 +55,7 @@ CopyDocument:
}'
Prereg_CopyDocument_Invalid_preRegistrationId_sid:
endPoint: /preregistration/v1/documents/{preRegistrationId}?catCode={doc_cat_code}&sourcePreId={preRegistrationId}
uniqueIdentifier: TC_prereg_CopyDocument_04
description: Copy the Proof of Address (POA) document with the invalid preregistration ID
role: batch
restMethod: put
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
DeleteAllDocForaPRID:
Prereg_DeletePreRegistration_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/documents/preregistration/{preRegistrationId}
uniqueIdentifier: TC_prereg_DeleteAllDocForaPRID_01
description: Delete preregistration with all valid preregistration ID
role: batch
checkErrorsOnlyInResponse: true
Expand All @@ -14,6 +15,7 @@ DeleteAllDocForaPRID:
}'
Prereg_DeletePreRegistration_InValid_preRegistrationId_sid:
endPoint: /preregistration/v1/documents/preregistration/{preRegistrationId}
uniqueIdentifier: TC_prereg_DeleteAllDocForaPRID_02
description: Delete preregistration with an invalid preregisteration ID
role: batch
restMethod: delete
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
DeleteBooking:
Prereg_DeleteBooking_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/applications/appointment?preRegistrationId={preRegistrationId}
uniqueIdentifier: TC_prereg_DeleteBooking_01
description: Delete bookings for all valid preregistration ID
role: batch
restMethod: delete
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
DeleteLostUinApplication:
Prereg_DeleteLostUinApplication_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/applications/prereg/{applicationId}
uniqueIdentifier: TC_prereg_DeleteLostUinApplication_01
description: Delete the lost UIN application with valid data
role: batch
checkErrorsOnlyInResponse: true
Expand All @@ -15,6 +16,7 @@ DeleteLostUinApplication:
}'
Prereg_DeleteLostUinApplication_after_its_deletion:
endPoint: /preregistration/v1/applications/prereg/{applicationId}
uniqueIdentifier: TC_prereg_DeleteLostUinApplication_02
description: Delete the lost UIN application after it has been removed
role: batch
checkErrorsOnlyInResponse: true
Expand All @@ -33,6 +35,7 @@ DeleteLostUinApplication:
}'
Prereg_DeleteLostUinApplication_multiple_application_sid:
endPoint: /preregistration/v1/applications/prereg/{applicationId}
uniqueIdentifier: TC_prereg_DeleteLostUinApplication_03
description: Delete the lost UIN application with multiple preregistration IDs for the application
role: batch
checkErrorsOnlyInResponse: true
Expand All @@ -47,6 +50,7 @@ DeleteLostUinApplication:
}'
Prereg_DeleteLostUinApplication_inValid_preRegistrationId_sid:
endPoint: /preregistration/v1/applications/prereg/{applicationId}
uniqueIdentifier: TC_prereg_DeleteLostUinApplication_04
description: Delete the lost UIN application with an invalid preregistration ID
role: batch
restMethod: delete
Expand All @@ -64,6 +68,7 @@ DeleteLostUinApplication:
}'
Prereg_DeleteLostUinApplication_random_number_sid:
endPoint: /preregistration/v1/applications/prereg/{applicationId}
uniqueIdentifier: TC_prereg_DeleteLostUinApplication_05
description: Delete the lost UIN application with a random number preregistration ID
role: batch
restMethod: delete
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
DeletePreRegistration:
Prereg_DeletePreRegistration_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/applications/prereg/{preRegistrationId}
uniqueIdentifier: TC_prereg_DeletePreRegistration_01
description: Delete the preregistration with a valid preregistration ID
role: batch
restMethod: delete
Expand All @@ -14,6 +15,7 @@ DeletePreRegistration:
}'
Prereg_DeletePreRegistration_inValid_preRegistrationId_sid:
endPoint: /preregistration/v1/applications/prereg/{preRegistrationId}
uniqueIdentifier: TC_prereg_DeletePreRegistration_02
description: Delete the preregistration with an invalid preregistration ID
role: batch
restMethod: delete
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
DeleteSpecificDocForaPRID:
Prereg_DeleteSpecificDocForaPRID_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId}
uniqueIdentifier: TC_prereg_DeleteSpecificDocForaPRID_01
description: Delete specific document for a valid PRID
role: batch
checkErrorsOnlyInResponse: true
Expand All @@ -16,6 +17,7 @@ DeleteSpecificDocForaPRID:
}'
Prereg_DeletePreRegistration_inValid_preRegistrationId_sid:
endPoint: /preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId}
uniqueIdentifier: TC_prereg_DeleteSpecificDocForaPRID_02
description: Delete preregistration with an invalid PRID
role: batch
restMethod: post
Expand All @@ -34,6 +36,7 @@ DeleteSpecificDocForaPRID:
}'
Prereg_DeletePreRegistration_inValid_documentId_sid:
endPoint: /preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId}
uniqueIdentifier: TC_prereg_DeleteSpecificDocForaPRID_03
description: Delete preregistration with an invalid document ID
role: batch
restMethod: post
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FetchApplicationByPrid:
Prereg_FetchApplicationByPrid_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/applications/prereg/{preRegistrationId}
uniqueIdentifier: TC_prereg_FetchApplicationByPrid_01
description: Fetch demographic details using a valid PRID
role: batch
restMethod: get
Expand All @@ -14,6 +15,7 @@ FetchApplicationByPrid:
}'
Prereg_FetchApplicationByPrid_inValid_preRegistrationId_sid:
endPoint: /preregistration/v1/applications/prereg/{preRegistrationId}
uniqueIdentifier: TC_prereg_FetchApplicationByPrid_02
description: Fetch demographic details using an invalid PRID
role: batch
restMethod: get
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FetchAppointmentDetailsByPrid:
Prereg_FetchAppointmentDetailsByPrid_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/applications/appointment/{preRegistrationId}
uniqueIdentifier: TC_prereg_FetchAppointmentDetailsByPrid_01
description: Fetch appointment details for the preregistration ID
role: batch
restMethod: get
Expand All @@ -14,6 +15,7 @@ FetchAppointmentDetailsByPrid:
}'
Prereg_FetchAppointmentDetailsByPrid_inValid_preRegistrationId_sid:
endPoint: /preregistration/v1/applications/appointment/{preRegistrationId}
uniqueIdentifier: TC_prereg_FetchAppointmentDetailsByPrid_02
description: Fetch appointment details for the invalid preregistration ID
role: batch
restMethod: get
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FetchAvailabilityDataByCenterID:
Prereg_FetchAvailabilityDataByCenterID_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/applications/appointment/slots/availability/10003
uniqueIdentifier: TC_prereg_FetchAvailabilityDataByCenterID_01
description: Fetch the available data by center ID
role: batch
restMethod: get
Expand All @@ -14,6 +15,7 @@ FetchAvailabilityDataByCenterID:
}'
Prereg_FetchAvailabilityData_inValid_CenterID_Smoke_sid:
endPoint: /preregistration/v1/applications/appointment/slots/availability/{registrationCenterId}
uniqueIdentifier: TC_prereg_FetchAvailabilityDataByCenterID_02
description: Fetch the available data by invalid center ID
role: batch
restMethod: get
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
GetAllApplications:
Prereg_GetAllApplications_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/applications
uniqueIdentifier: TC_prereg_GetAllApplications_01
description: Retrieve all applications with valid data
role: batch
checkErrorsOnlyInResponse: true
Expand All @@ -14,6 +15,7 @@ GetAllApplications:
}'
Prereg_GetAllApplications_InValid:
endPoint: /preregistration/v1/applications?type={type}
uniqueIdentifier: TC_prereg_GetAllApplications_02
description: Retrieve all applications with invalid data
role: batch
checkErrorsOnlyInResponse: true
Expand All @@ -32,6 +34,7 @@ GetAllApplications:
}'
Prereg_GetAllApplications_InValid_Type:
endPoint: /preregistration/v1/applications?type={type}
uniqueIdentifier: TC_prereg_GetAllApplications_03
description: Retrieve all applications with an invalid type
role: batch
restMethod: get
Expand All @@ -49,6 +52,7 @@ GetAllApplications:
}'
Prereg_GetAllApplications_Valid_Type_Smoke_sid:
endPoint: /preregistration/v1/applications?type={type}
uniqueIdentifier: TC_prereg_GetAllApplications_04
description: Retrieve all applications with a valid type
role: batch
checkErrorsOnlyInResponse: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
GetAllApplicationsWithapplicationId:
Prereg_GetAllApplicationsWithapplicationId_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/applications/{applicationId}
uniqueIdentifier: TC_prereg_GetAllApplicationsWithapplicationId_01
description: Retrieve all applications with the application ID
role: batch
checkErrorsOnlyInResponse: true
Expand All @@ -14,6 +15,7 @@ GetAllApplicationsWithapplicationId:
}'
Prereg_GetAllApplicationsWithapplicationId_with_expired:
endPoint: /preregistration/v1/applications/{applicationId}
uniqueIdentifier: TC_prereg_GetAllApplicationsWithapplicationId_02
description: Retrieve all applications with the expired application ID
role: batch
checkErrorsOnlyInResponse: true
Expand All @@ -27,6 +29,7 @@ GetAllApplicationsWithapplicationId:
}'
Prereg_GetAllApplicationsWithapplicationId_with_invalid_applicationId:
endPoint: /preregistration/v1/applications/{applicationId}
uniqueIdentifier: TC_prereg_GetAllApplicationsWithapplicationId_03
description: Retrieve all applications with an invalid application ID
role: batch
checkErrorsOnlyInResponse: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
GetAllDocForPrId:
Prereg_GetAllDocForPrId_All_Valid_Smoke_sid:
endPoint: /preregistration/v1/documents/preregistration/{preRegistrationId}
uniqueIdentifier: TC_prereg_UploadDocument_01
description: Retrieve all documents associated with the valid Pre-Registration ID
role: batch
checkErrorsOnlyInResponse: true
Expand All @@ -16,6 +17,7 @@ GetAllDocForPrId:
}'
Prereg_GetAllDocForPrId_inValid_preRegistrationId_sid:
endPoint: /preregistration/v1/documents/preregistration/{preRegistrationId}
uniqueIdentifier: TC_prereg_UploadDocument_02
description: Retrieve all documents associated with the invalid Pre-Registration ID
role: batch
restMethod: get
Expand Down
Loading