kazurayam / materialstore

A domain-specific file system to store "materials" (screenshots, HTML, JSON, XML) collected during End-to-End testings using Selenium WebDriver etc. Features to make "diff" and compiling HTML reports are also included. This is written in pure Java8
Apache License 2.0
0 stars 0 forks source link

Small image is displayed stretched in the report #345

Closed kazurayam closed 1 year ago

kazurayam commented 1 year ago

The following PNG image has width=40 x height=40 pixel

apple

This PNG is rendered reduculous in the report as follows:

スクリーンショット 2022-11-10 19 18 44

If the real width is smaller than the pane, then I should not repand the image.

kazurayam commented 1 year ago

I replaced the small image of apple with larger one.

I shouldn't mind this any longer https://github.com/kazurayam/materialstore/blob/main/src/test/fixtures/apple_mikan_money/03_apple.png