diff --git a/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/AdminTestUtil.java b/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/AdminTestUtil.java index 98c41a904f..ebc2b56b72 100644 --- a/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/AdminTestUtil.java +++ b/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/AdminTestUtil.java @@ -158,6 +158,7 @@ public class AdminTestUtil extends BaseTestCase { String mimotoAutoGeneratedIdPropFileName = properties.getProperty("mimotoAutoGeneratedIdPropFileName"); String pmsAutoGeneratedIdPropFileName = properties.getProperty("pmsAutoGeneratedIdPropFileName"); String injiCertifyAutoGeneratedIdPropFileName = properties.getProperty("injiCertifyAutoGeneratedIdPropFileName"); + String signupAutoGeneratedIdPropFileName = properties.getProperty("signupAutoGeneratedIdPropFileName"); String fullNameForSunBirdRC = properties.getProperty("fullNameForSunBirdRC"); String dobForSunBirdRC = properties.getProperty("dobForSunBirdRC"); @@ -2874,6 +2875,10 @@ public static void initiateMimotoTest() { public static void initiateesignetTest() { copyEsignetTestResource(); } + + public static void initiateSignupTest() { + copySignupTestResource(); + } public static void initiateSyncDataTest() { copySyncDataTestResource(); @@ -2894,6 +2899,10 @@ public static void copyMimotoTestResource() { public static void copyEsignetTestResource() { copymoduleSpecificAndConfigFile(GlobalConstants.ESIGNET); } + + public static void copySignupTestResource() { + copymoduleSpecificAndConfigFile(GlobalConstants.SIGNUP); + } public static void copySyncDataTestResource() { copymoduleSpecificAndConfigFile("syncdata"); @@ -4362,6 +4371,8 @@ else if (testCaseName.toLowerCase().startsWith(GlobalConstants.PARTNERNEW)) autoGenFileName = pmsAutoGeneratedIdPropFileName; else if (testCaseName.toLowerCase().startsWith(GlobalConstants.INJICERTIFY)) autoGenFileName = injiCertifyAutoGeneratedIdPropFileName; + else if (testCaseName.toLowerCase().startsWith(GlobalConstants.SIGNUP)) + autoGenFileName = signupAutoGeneratedIdPropFileName; else { autoGenFileName = "default"; diff --git a/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/GlobalConstants.java b/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/GlobalConstants.java index c2e6e01d21..0d76ed45b4 100644 --- a/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/GlobalConstants.java +++ b/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/GlobalConstants.java @@ -54,6 +54,7 @@ public class GlobalConstants { public static final String MIMOTO = "mimoto"; public static final String INJICERTIFY = "injicertify"; public static final String ESIGNET = "esignet"; + public static final String SIGNUP = "signup"; public static final String APIKEY = "apiKey"; public static final String PARTNER_APIKEY = "partnerApiKey"; public static final String PARTNERID = "partnerId";