extentreports-java
extentreports-java copied to clipboard
Spark - Does not display log details for the method log(status, details, throwable, media)
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.
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());
exception and media
extent.createTest("Exception and Media Logs").log(Status.PASS, ex, MediaEntityBuilder.createScreenCaptureFromPath("logo.png").build());