From 940ed50fef17a5d86f9954803415d37191dae6b1 Mon Sep 17 00:00:00 2001 From: Mohanachandran S Date: Mon, 2 Sep 2024 17:23:14 +0530 Subject: [PATCH] MOSIP-34827 - Added test cases for L2 flow api's Signed-off-by: Mohanachandran S --- .../esignet/AuthenticateUserV3/AuthenticateUser.hbs | 2 +- .../esignet/AuthenticateUserV3/AuthenticateUser.yml | 2 +- .../esignet/IDTAuthentication/IDTAuthentication.hbs | 2 +- .../OAuthDetailsRequestV3/OAuthDetailsRequest.yml | 12 ++++++------ .../PrepareSignupRedirect/PrepareSignupRedirect.hbs | 2 +- .../esignet/SignupAuthorize/SignupAuthorize.yml | 8 ++++---- .../SignupAuthorizeCode/SignupAuthorizeCode.hbs | 2 +- .../SignupAuthorizeCode/SignupAuthorizeCode.yml | 2 +- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/automationtests/src/main/resources/esignet/AuthenticateUserV3/AuthenticateUser.hbs b/automationtests/src/main/resources/esignet/AuthenticateUserV3/AuthenticateUser.hbs index 887633e1120..43ef2d127f4 100644 --- a/automationtests/src/main/resources/esignet/AuthenticateUserV3/AuthenticateUser.hbs +++ b/automationtests/src/main/resources/esignet/AuthenticateUserV3/AuthenticateUser.hbs @@ -1,5 +1,5 @@ { - "encodedHash": "{{encodedHash}}", + "encodedHash": "{{encodedHash}}", "requestTime": "{{requestTime}}", "request": { "transactionId": "{{transactionId}}", diff --git a/automationtests/src/main/resources/esignet/AuthenticateUserV3/AuthenticateUser.yml b/automationtests/src/main/resources/esignet/AuthenticateUserV3/AuthenticateUser.yml index 3ed62b3e28e..0295526dc4d 100644 --- a/automationtests/src/main/resources/esignet/AuthenticateUserV3/AuthenticateUser.yml +++ b/automationtests/src/main/resources/esignet/AuthenticateUserV3/AuthenticateUser.yml @@ -18,7 +18,7 @@ AuthenticateUserV3: "encodedHash": "$ID:OAuthDetailsRequest_V3_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", "requestTime": "$TIMESTAMP$", "transactionId": "$ID:OAuthDetailsRequest_V3_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "individualId": "$ID:AddIdentity_L2_Valid_Parameters_smoke_Pos_UIN$", + "individualId": "$ID:AddIdentity_L2_Valid_Parameters_smoke_Pos_UIN$", "otpChannels": [{channel: "email"},{channel: "phone"}], "sendOtpReqTemplate": "esignet/SendOtp/SendOtp", "sendOtpEndPoint": "/v1/esignet/authorization/send-otp" diff --git a/automationtests/src/main/resources/esignet/IDTAuthentication/IDTAuthentication.hbs b/automationtests/src/main/resources/esignet/IDTAuthentication/IDTAuthentication.hbs index d39a47c1b6a..f48997ac5b2 100644 --- a/automationtests/src/main/resources/esignet/IDTAuthentication/IDTAuthentication.hbs +++ b/automationtests/src/main/resources/esignet/IDTAuthentication/IDTAuthentication.hbs @@ -1,5 +1,5 @@ { - "encodedHash": "{{encodedHash}}", + "encodedHash": "{{encodedHash}}", "requestTime": "{{requestTime}}", "pathFragmentCookie": "{{pathFragmentCookie}}", "pathFragmentCookieTransactionId": "{{pathFragmentCookieTransactionId}}", diff --git a/automationtests/src/main/resources/esignet/OAuthDetailsRequestV3/OAuthDetailsRequest.yml b/automationtests/src/main/resources/esignet/OAuthDetailsRequestV3/OAuthDetailsRequest.yml index 2290bdfbcae..0e385e193c4 100644 --- a/automationtests/src/main/resources/esignet/OAuthDetailsRequestV3/OAuthDetailsRequest.yml +++ b/automationtests/src/main/resources/esignet/OAuthDetailsRequestV3/OAuthDetailsRequest.yml @@ -12,12 +12,12 @@ OAuthDetailsRequestV3: "responseType": "code", "redirectUri": "$IDPREDIRECTURI$", "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" + "prompt": "login", + "acrValues": "mosip:idp:acr:generated-code", + "nonce": "973eieljzng", + "state": "urlInfo1724138417665", + "claimsLocales": "en", + "uiLocales": "en-US" }' output: '{ diff --git a/automationtests/src/main/resources/esignet/PrepareSignupRedirect/PrepareSignupRedirect.hbs b/automationtests/src/main/resources/esignet/PrepareSignupRedirect/PrepareSignupRedirect.hbs index 6bfddc09d6d..042e820a021 100644 --- a/automationtests/src/main/resources/esignet/PrepareSignupRedirect/PrepareSignupRedirect.hbs +++ b/automationtests/src/main/resources/esignet/PrepareSignupRedirect/PrepareSignupRedirect.hbs @@ -1,5 +1,5 @@ { - "encodedHash": "{{encodedHash}}", + "encodedHash": "{{encodedHash}}", "requestTime": "{{requestTime}}", "request": { "transactionId": "{{transactionId}}", diff --git a/automationtests/src/main/resources/esignet/SignupAuthorize/SignupAuthorize.yml b/automationtests/src/main/resources/esignet/SignupAuthorize/SignupAuthorize.yml index cca5eedd263..cfe033da36f 100644 --- a/automationtests/src/main/resources/esignet/SignupAuthorize/SignupAuthorize.yml +++ b/automationtests/src/main/resources/esignet/SignupAuthorize/SignupAuthorize.yml @@ -14,10 +14,10 @@ SignupAuthorize: "scope": "openid", "responseType": "code", "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirect_AuthToken_Xsrf_STransId_uin_Otp_Valid_Smoke_sid_idToken$" + "acrValues": "mosip:idp:acr:id-token", + "state": "urlInfo1724138417665", + "uiLocales": "en", + "idTokenHint": "$ID:PrepareSignupRedirect_AuthToken_Xsrf_STransId_uin_Otp_Valid_Smoke_sid_idToken$" }' output: '{ diff --git a/automationtests/src/main/resources/esignet/SignupAuthorizeCode/SignupAuthorizeCode.hbs b/automationtests/src/main/resources/esignet/SignupAuthorizeCode/SignupAuthorizeCode.hbs index 949919c3da8..e3704b3ec52 100644 --- a/automationtests/src/main/resources/esignet/SignupAuthorizeCode/SignupAuthorizeCode.hbs +++ b/automationtests/src/main/resources/esignet/SignupAuthorizeCode/SignupAuthorizeCode.hbs @@ -1,5 +1,5 @@ { - "encodedHash": "{{encodedHash}}", + "encodedHash": "{{encodedHash}}", "requestTime": "{{requestTime}}", "pathFragmentCookie": "{{pathFragmentCookie}}", "pathFragmentCookieTransactionId": "{{pathFragmentCookieTransactionId}}", diff --git a/automationtests/src/main/resources/esignet/SignupAuthorizeCode/SignupAuthorizeCode.yml b/automationtests/src/main/resources/esignet/SignupAuthorizeCode/SignupAuthorizeCode.yml index 0327e8b6406..753091913d8 100644 --- a/automationtests/src/main/resources/esignet/SignupAuthorizeCode/SignupAuthorizeCode.yml +++ b/automationtests/src/main/resources/esignet/SignupAuthorizeCode/SignupAuthorizeCode.yml @@ -12,7 +12,7 @@ SignupAuthorizeCode: "pathFragmentCookie": "$ID:PrepareSignupRedirect_AuthToken_Xsrf_STransId_uin_Otp_Valid_Smoke_sid_pathFragmentCookie$", "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", "transactionId": "$ID:SignupAuthorize_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "acceptedClaims": [{channel: "email"},{channel: "phone_number"}] + "acceptedClaims": [{channel: "email"},{channel: "phone_number"}] }' output: '{