extentreports-cucumber7-adapter icon indicating copy to clipboard operation
extentreports-cucumber7-adapter copied to clipboard

Not getting Thumbnail for Base64 type screenshot for failed scenarios in Extent html report.

Open Sumit-Systango opened this issue 1 year ago • 0 comments

Hi, I'm using cucumber 7-adapter v1.14.0 with aventstack extent report v5.1.2. Now the issue is I'm getting the thumbnail for Base64 type image for failure screenshot for spark reports but not for the html report with the same configuration.

Below is my extent.properties file Extentproperties

Screenshot for spark report spark report

Screenshot for html report extent report

Code for extent-config.xml

    <!-- report theme -->
    <!-- STANDARD, DARK -->
    <theme>DARK</theme>

    <!-- document encoding -->
    <!-- defaults to UTF-8 -->
    <encoding>UTF-8</encoding>

    <!-- protocol for script and stylesheets -->
    <!-- defaults to https -->
    <!-- HTTP, HTTPS -->
    <protocol>HTTPS</protocol>

    <!-- offline report -->
    <timelineEnabled>true</timelineEnabled>

    <!-- offline report -->
    <enableOfflineMode>false</enableOfflineMode>

    <!-- use thumbnails for base64 images -->
    <thumbnailForBase64>true</thumbnailForBase64>

    <!-- title of the document -->
    <documentTitle>Test Automation Report</documentTitle>

    <!-- report name - displayed at top-nav -->
    <reportName>
        Test Automation Report
    </reportName>

    <!-- timestamp format -->
    <timeStampFormat>MMM dd, yyyy HH:mm:ss</timeStampFormat>

    <!-- custom javascript -->
    <scripts>
        <![CDATA[
    $(document).ready(function() {

    });
  ]]>
    </scripts>

    <!-- custom styles -->
    <styles>
        <![CDATA[

  ]]>
    </styles>
</configuration>

Sumit-Systango avatar Aug 04 '24 06:08 Sumit-Systango