From 5db7b8facb1c2b810a77224a201843d33a675ff4 Mon Sep 17 00:00:00 2001 From: Sohan Kumar Dey <72375959+Sohandey@users.noreply.github.com> Date: Fri, 19 Apr 2024 17:10:38 +0530 Subject: [PATCH] IDA Fixes Signed-off-by: Sohan Kumar Dey <72375959+Sohandey@users.noreply.github.com> --- .../main/resources/ida/BioAuth/BioAuth.yml | 2 +- .../main/resources/ida/DemoAuth/DemoAuth.yml | 4 +-- .../main/resources/ida/EkycBio/EkycBio.yml | 2 +- .../main/resources/ida/EkycDemo/EkycDemo.yml | 15 -------- .../ida/MultiFactorAuth/MultiFactorAuth.yml | 36 ------------------- .../ida/RevokeVID/createRevokeVID.yml | 2 +- 6 files changed, 5 insertions(+), 56 deletions(-) diff --git a/automationtests/src/main/resources/ida/BioAuth/BioAuth.yml b/automationtests/src/main/resources/ida/BioAuth/BioAuth.yml index 73553a2467..2f11902918 100644 --- a/automationtests/src/main/resources/ida/BioAuth/BioAuth.yml +++ b/automationtests/src/main/resources/ida/BioAuth/BioAuth.yml @@ -1609,7 +1609,7 @@ BioAuth: output: '{ "errors": [ { - "errorCode": "IDA-MLC-019" + "errorCode": "$IGNORE$" } ], "authStatus": false diff --git a/automationtests/src/main/resources/ida/DemoAuth/DemoAuth.yml b/automationtests/src/main/resources/ida/DemoAuth/DemoAuth.yml index f15354aa73..3b7ec77778 100644 --- a/automationtests/src/main/resources/ida/DemoAuth/DemoAuth.yml +++ b/automationtests/src/main/resources/ida/DemoAuth/DemoAuth.yml @@ -1,6 +1,6 @@ DemoAuthNew: auth_DemoAuth_DOB_Valid_Smoke_UIN: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_Lock_UIN_Unlock_DemoAuth_withValidParameters_smoke_Pos_UIN$&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ + endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -895,7 +895,7 @@ DemoAuthNew: "authStatus": "false" }' auth_DemoAuth_PhoneNumber__with_Valid_TVID_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Temporary_sid_vid$&idType=VID&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ + endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Temp_VID_sid_vid$&idType=VID&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth diff --git a/automationtests/src/main/resources/ida/EkycBio/EkycBio.yml b/automationtests/src/main/resources/ida/EkycBio/EkycBio.yml index 725cfeeb08..52a60accdc 100644 --- a/automationtests/src/main/resources/ida/EkycBio/EkycBio.yml +++ b/automationtests/src/main/resources/ida/EkycBio/EkycBio.yml @@ -1391,7 +1391,7 @@ EkycBio: "kycStatus": "false" }' auth_EkycBio_Face_With_Deactivated_uin: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$id=$ID:AddIdentity_deactivate_UIN_smoke_sid_Pos_UIN$&isKyc=true&partnerUrlSuffix=$KycPartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$KycPartnerName$ + endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID&id=$ID:AddIdentity_deactivate_UIN_smoke_sid_Pos_UIN$&isKyc=true&partnerUrlSuffix=$KycPartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$KycPartnerName$ role: resident kycFields: ["email"] restMethod: post diff --git a/automationtests/src/main/resources/ida/EkycDemo/EkycDemo.yml b/automationtests/src/main/resources/ida/EkycDemo/EkycDemo.yml index ae9909eec3..692b899d8a 100644 --- a/automationtests/src/main/resources/ida/EkycDemo/EkycDemo.yml +++ b/automationtests/src/main/resources/ida/EkycDemo/EkycDemo.yml @@ -943,21 +943,6 @@ EkycDemo: }' output: '{ "kycStatus": "true" -}' - auth_EkycDemo_Auth_With_Valid_NOAUTH_resident_cookie_Neg: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_EkycDemo_Auth_smoke_Pos_UIN$&isKyc=true&partnerUrlSuffix=$KycPartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$KycPartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycDemo/EkycDemo - outputTemplate: ida/EkycDemo/EkycDemoResult - input: '{ - "timestamp": "$TIMESTAMP$", - "transactionId": "$TRANSACTIONID$", - "value": "1970/07/08", - "key": "dob" - }' - output: '{ - "kycStatus": "true" }' auth_EkycDemo_Auth_Without_kyc_attribute_in_policy_Smoke: endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_EkycDemo_Auth_smoke_Pos_UIN$&isKyc=true&partnerUrlSuffix=$UpdatedPartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ diff --git a/automationtests/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.yml b/automationtests/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.yml index de39a767f7..4bf713430e 100644 --- a/automationtests/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.yml +++ b/automationtests/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.yml @@ -1941,42 +1941,6 @@ MultiFactorAuth: "sendOtpResp":{ "sendOtpResTemplate":"ida/OtpAuth/sendOtpRes" } -}' - auth_MultiFactorAuth_Biometric_LeftIris_With_VID_missing_bioType: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&idType=VID&partnerUrlSuffix=$partnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - checkErrorsOnlyInResponse: true - restMethod: post - inputTemplate: ida/MultiFactorAuth/MultiFactorAuth - outputTemplate: ida/MultiFactorAuth/error - input: '{ - "otp": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", - "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", - "bioSubType": "Left", - "bioType": "$REMOVE$", - "bioValue": "$LEFTIRIS$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "SYNCBYTE.MC01A", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Slap", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467175", - "type": "Iris", - "key": "dob", - "value": "1970/07/08", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "authStatus": false, - "sendOtpResp":{ - "sendOtpResTemplate":"ida/OtpAuth/sendOtpRes" - } }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_invalid_bioType: endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_ValidParam_smoke_Pos_UIN$&partnerUrlSuffix=$partnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ diff --git a/automationtests/src/main/resources/ida/RevokeVID/createRevokeVID.yml b/automationtests/src/main/resources/ida/RevokeVID/createRevokeVID.yml index 9b0068292e..520b760164 100644 --- a/automationtests/src/main/resources/ida/RevokeVID/createRevokeVID.yml +++ b/automationtests/src/main/resources/ida/RevokeVID/createRevokeVID.yml @@ -25,7 +25,7 @@ RevokeVID: } }' output: '{ - "message": "Notification has been sent to the provided contact detail(s)", + "message": "$IGNORE$", "sendOtpResp":{ "maskedMobile": "$IGNORE$", "sendOtpResTemplate":"ida/SendOTP/createSendOTPResult",