extentreports-java icon indicating copy to clipboard operation
extentreports-java copied to clipboard

Spark - Does not display log details for the method log(status, details, throwable, media)

Open grasshopper7 opened this issue 3 years ago • 0 comments

extent.createTest("Details and Exception and Media Logs").log(Status.PASS, "Details and Exception and Media", ex, MediaEntityBuilder.createScreenCaptureFromPath("logo.png").build());

There is no 'details' displayed in the log.

log-missing-details

The functions with the combination of 'details and media' and 'exception and media' displays the log details correctly.

details and media extent.createTest("Details and Media Logs").log(Status.PASS, "Details and Media", MediaEntityBuilder.createScreenCaptureFromPath("logo.png").build());

log-details-media

exception and media extent.createTest("Exception and Media Logs").log(Status.PASS, ex, MediaEntityBuilder.createScreenCaptureFromPath("logo.png").build());

log-excep-media

grasshopper7 avatar May 24 '21 08:05 grasshopper7