Skip to content

MOSIP-37943 - Fixed an automation failure #1129

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

Merged
merged 14 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading