Skip to content
This repository was archived by the owner on Aug 5, 2020. It is now read-only.
This repository was archived by the owner on Aug 5, 2020. It is now read-only.

VisualReview generates invalid PNGs #85

@nemue

Description

@nemue

I'm running VisualReview on a Mac (MacOS 10.13). I've send some screenshots to the screenshot endpoint, but it seems, VisualReview is generating invalid PNG files. When I search for them on my system, I can find, but not open them. On the localhost I see the the icon for a missing image:

Bildschirmfoto 2019-05-17 um 10 16 24

The files on the system have sizes of about 1.8 MB, so they're not empty. Is there any way to fix this? What information do you need?

I seem to get a valid response from the server:

2019-05-17 10:06:20.285 INFO com.xebia.visualreview.middleware - Response:
# headers:
Vary: Accept
Content-Type: application/json;charset=UTF-8
# body:
{"id":15,"size":1786783,"properties":{"browser":"android","resolution":"1080\u2006\u00d7\u20061920"},"meta":{"component":"login"},"screenshotName":"screenshot","imageId":43}

When I open http://localhost:7000/api/runs/60/screenshots, the file paths seem to be messed up though:

Bildschirmfoto 2019-05-17 um 10 24 51

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