haim-io / cypress-image-diff

Visual regression test with cypress
MIT License
251 stars 62 forks source link

Missing JSON report when in `cypress OPEN` mode #204

Closed mario-zancanaro closed 8 months ago

mario-zancanaro commented 9 months ago

⚠️ Please, ignore if that is an expected behavior.

We noticed that when run in interface/UI mode:

cypress open 

the JSON report is not automatically generated.

However, when ran as headless mode:

cypress run

it works as expected.

We tested that using you example/template with TS.

PippoRaimondi commented 8 months ago

This plugin was never intended to be used on the open mode...

reason why is that tests need to be consistently ran in the same machinery, if the same test runs in 2 different mac specs, you will get unwanted image differences...

hsoulier commented 8 months ago

Thanks a lot for your response !

mario-zancanaro commented 8 months ago

Hey Pippo! Ok, got it! We couldn't find that info on docs. Thanks for your prompt answer!