tacoss / testcafe-blink-diff

Visual regression for Testcafé
65 stars 15 forks source link

NativeBinaryHasFailedError / testcafe-browser-tools / Was unable to take a screenshot due to an error. #78

Open jmsalazarsanchez opened 2 months ago

jmsalazarsanchez commented 2 months ago

I was start to experiment a wrong behavior using the tetscafe and testcafe-blink-diff

The error: image

The versions of tescafe used: image

The first thumbnail gives an error and is not created as shown in the console.

and additionally the images that are created are displayed with disproportionate sizes.

chrome Version: 128.0.6613.138 (Official Build) (64-bit)

In another local environment I have done several tests updating the version of testcafe, however I always have the same result. Up to version 1.0.13 the image folders are created but they all appear empty, so no base image or thumbnail is taken, The error: Was unable to take a screenshot due to an error. Error: Unexpected end of input at module.exports.ChunkStream._end

If I try to install a higher version of testcafe the scripts do not run.

Any clue that can help me how to solve this issue?

tomoh1r commented 2 months ago

Hi @jmsalazarsanchez , The packages appear to be quite outdated. How about updating all of them or locking them to a stable version (including both packages and Node.js)?