reg-viz / reg-suit

:recycle: Visual Regression Testing tool
https://reg-viz.github.io/reg-suit
MIT License
1.17k stars 101 forks source link

Unable to compare images locally #617

Open Jarzka opened 1 year ago

Jarzka commented 1 year ago

Describe the bug

When I run npx reg-suit run I get the following output:

npx reg-suit run
[reg-suit] info version: 0.12.2
[reg-suit] info Detected the previous snapshot key: 'b34f71b71df63026decb66bdaae226b1ba8d1df9'
[reg-suit] info Skipped to fetch the expected data because publisher plugin is not set up.
[reg-suit] info Comparison Complete
[reg-suit] info    Changed items: 0
[reg-suit] info    New items: 177
[reg-suit] info    Deleted items: 0
[reg-suit] info    Passed items: 0

It seems that reg-suit is unable not compare the images that are already located in my workingDir and actualDir, but instead expects me to install the publisher plugin, which I don't need. It skips the comparison with a message Skipped to fetch the expected data because publisher plugin is not set up.

Reproduced step

Install reg-suit without the publisher plugin and do the comparison.

Expected behavior

Images are compared without the publisher plugin.

Actual behavior

Skips comparison.

undesicimo commented 11 months ago

are you still reproducing this? Happens to me as well

Jarzka commented 11 months ago

My understanding is that this tool does not work without the publisher so I gave up.

undesicimo commented 11 months ago

@Jarzka below is our best bet on running locally. Same functionality as reg-suit https://github.com/reg-viz/reg-cli