cypress-image-snapshot icon indicating copy to clipboard operation
cypress-image-snapshot copied to clipboard

Swapped dimensions in error message

Open across226 opened this issue 4 years ago • 1 comments

It looks to me dimensions are swapped in error message coming from here: https://github.com/palmerhq/cypress-image-snapshot/blob/7e20afb23811ef212e2a24d73dc5e90cb6b9cd4c/src/command.js#L47

I mean error message like:

Error: Image size (1498x570) different than saved snapshot size (1448x596).

Seems received should go first, then baseline. Currently it's the other way around.

across226 avatar Apr 24 '20 12:04 across226

I can confirm I encountered this issue as well.

MickaelBergem avatar May 30 '20 17:05 MickaelBergem