Screenshots won't load without using -z · Issue #322 · XCTestHTMLReport/XCTestHTMLReport · GitHub
Skip to content

Screenshots won't load without using -z #322

Open

Description

@Dharna

Hi,

I am on Xcode 14.2 and my XCTestHTMLReport version is 2.3.1. When I try run:

xchtmlreport -r TestResults.xcresult

The report that gets generated does not display any screenshots.

When I run
xchtmlreport -r TestResults.xcresult -z -I

The reports shows the screenshots but they are very compressed. I am not sure to fix this. I do not want to compress my images, but it won't show me the screenshots without using that option. I tried on both Safari and Chrome

Activity

  1. jorogr commented on Feb 12, 2025

    @jorogr

    Currently, if you don't use the -z option the images remains in .heic format which is not supported for display in a web browser. The .heic images are converted to .jpeg only if you use the -z option which is meant to be for compression and not conversion.

    It's more than a good idea to consider decoupling the conversion and compression functions. Conversion from .heic to .jpeg should always happen, whereas compression should be optional and bound to the -z flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions