Skip to content

Commit

Permalink
Merge pull request #1129 from mohanachandran-s/develop
Browse files Browse the repository at this point in the history
MOSIP-37943 - Fixed an automation failure
  • Loading branch information
ckm007 authored Dec 4, 2024
2 parents 2f7f4bc + 601a701 commit 53d1a0d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ public static void main(String[] arg) {
BaseTestCase.mapUserToZone();
BaseTestCase.mapZone();
AdminTestUtil.getLocationLevelData();
AdminTestUtil.getLocationData();
AdminTestUtil.getZoneName();
AdminTestUtil.getLeafZone();

for (int i = 0; i < localLanguageList.size(); i++) {
BaseTestCase.languageList.clear();
Expand All @@ -118,8 +118,6 @@ public static void main(String[] arg) {
LOGGER.error("Exception " + e.getMessage());
}

OTPListener.bTerminate = true;

if (BaseTestCase.isTargetEnvLTS())
HealthChecker.bTerminate = true;

Expand All @@ -144,8 +142,6 @@ public static void suiteSetup(String runType) {
BaseTestCase.currentModule = GlobalConstants.MASTERDATA;
BaseTestCase.setReportName(GlobalConstants.MASTERDATA);
AdminTestUtil.initiateMasterDataTest();
BaseTestCase.otpListener = new OTPListener();
BaseTestCase.otpListener.run();
}


Expand Down
1 change: 1 addition & 0 deletions api-test/src/main/resources/config/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ generateArgon2HashURL=/v1/keymanager/generateArgon2Hash
appointmentavailabilityurl=/preregistration/v1/appointment/availability/
validateSignatureUrl=v1/identity/validateSign
vciContextURL=https://www.w3.org/2018/credentials/v1
leafZoneUrl=/v1/masterdata/zones/leafzones/

## Auto generated properties while running the test rig(s)
adminAutoGeneratedIdPropFileName=/admin/autoGeneratedId.properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CreateRegistrationCenter:
"perKioskProcessTime":"00:30:00",
"timeZone":"(GTM+01:00) CENTRAL EUROPEAN TIME",
"workingHours":3.5,
"zoneCode":"$ZONE_CODE$",
"zoneCode":"$LEAF_ZONE_CODE$",
"id":"",
"isActive":"false",
"numberOfKiosks":"1",
Expand Down Expand Up @@ -72,7 +72,7 @@ CreateRegistrationCenter:
"perKioskProcessTime": "00:15:00",
"timeZone": "Test Time zone",
"workingHours": "8:00:00",
"zoneCode":"$ZONE_CODE$",
"zoneCode":"$LEAF_ZONE_CODE$",
"id": "96874",
"exceptionHolidayDate": "2020-11-16",
"exceptionHolidayName": "TestHoliday",
Expand Down Expand Up @@ -118,7 +118,7 @@ CreateRegistrationCenter:
"perKioskProcessTime": "00:15:00",
"timeZone": "Test Time zone",
"workingHours": "8:00:00",
"zoneCode":"$ZONE_CODE$",
"zoneCode":"$LEAF_ZONE_CODE$",
"id": "96874",
"exceptionHolidayDate": "2020-11-16",
"exceptionHolidayName": "TestHoliday",
Expand Down Expand Up @@ -163,7 +163,7 @@ CreateRegistrationCenter:
"perKioskProcessTime": "00:15:00",
"timeZone": "Test Time zone",
"workingHours": "8:00:00",
"zoneCode":"$ZONE_CODE$",
"zoneCode":"$LEAF_ZONE_CODE$",
"id": "96874",
"exceptionHolidayDate": "2020-11-16",
"exceptionHolidayName": "TestHoliday",
Expand Down Expand Up @@ -208,7 +208,7 @@ CreateRegistrationCenter:
"perKioskProcessTime":"00:30:00",
"timeZone":"(GTM+01:00) CENTRAL EUROPEAN TIME",
"workingHours":3.5,
"zoneCode":"$ZONE_CODE$",
"zoneCode":"$LEAF_ZONE_CODE$",
"id":"",
"isActive":"false",
"numberOfKiosks":null,
Expand Down Expand Up @@ -257,7 +257,7 @@ CreateRegistrationCenter:
"perKioskProcessTime":"00:30:00",
"timeZone":"(GTM+01:00) CENTRAL EUROPEAN TIME",
"workingHours":3.5,
"zoneCode":"$ZONE_CODE$",
"zoneCode":"$LEAF_ZONE_CODE$",
"id":"",
"isActive":"false",
"numberOfKiosks":"-1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,11 @@ SearchMachineSpec:
output: '{
"data": [{
"id": "$IGNORE$",
"name": "HP",
"name": "$IGNORE$",
"brand": "HP",
"model": "1234",
"machineTypeCode": "$IGNORE$",
"minDriverversion": "3.2",
"description": "HP brand",
"isActive": "$IGNORE$"
}]
}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"isActive": "{{isActive}}",
"id": "{{id}}",
"name": "{{name}}",
"description": "{{description}}",
"model": "{{model}}",
"brand": "{{brand}}",
"machineTypeCode": "{{machineTypeCode}}",
Expand Down

0 comments on commit 53d1a0d

Please sign in to comment.