From fca3e9194fe54ea39eae1c25f0258821ad4e3bef Mon Sep 17 00:00:00 2001 From: Sohan Kumar Dey <72375959+Sohandey@users.noreply.github.com> Date: Thu, 27 Jul 2023 15:49:01 +0530 Subject: [PATCH] enhanced report --- .../apirig/authentication/fw/util/ReportUtil.java | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/automationtests/src/main/java/io/mosip/testrig/apirig/authentication/fw/util/ReportUtil.java b/automationtests/src/main/java/io/mosip/testrig/apirig/authentication/fw/util/ReportUtil.java index dc042667128..b4ff03b752f 100644 --- a/automationtests/src/main/java/io/mosip/testrig/apirig/authentication/fw/util/ReportUtil.java +++ b/automationtests/src/main/java/io/mosip/testrig/apirig/authentication/fw/util/ReportUtil.java @@ -41,11 +41,15 @@ public static String getOutputValidationReport(Map" + dto.getExpValue() + "\r\n" + " " + dto.getActualValue() + "\r\n" + " " + dto.getStatus() + "\r\n" + " \r\n"; } - else if (dto.getStatus().equals("WARNING")) { - htmlforReport = htmlforReport + " \r\n" + " " + dto.getFieldName() + "\r\n" - + " " + dto.getExpValue() + "\r\n" + " " + dto.getActualValue() - + "\r\n" + " " + dto.getStatus() + "\r\n" + " \r\n"; - } + // If it is warning basically we haven't compared or ignored the comparison. + // so no point in printing that content in the report. + /* + * else if (dto.getStatus().equals("WARNING")) { htmlforReport = htmlforReport + + * " \r\n" + " " + dto.getFieldName() + "\r\n" + " " + + * dto.getExpValue() + "\r\n" + " " + dto.getActualValue() + + * "\r\n" + " " + dto.getStatus() + + * "\r\n" + " \r\n"; } + */ } } htmlforReport = htmlforReport + "";