Skip to content

Node crash if dimension mismatch in I.seeVisualDiff #41

@tairun

Description

@tairun
  • codeceptjs-resemblehelper: 1.6.0
  • codeceptjs: 2.1.5
  • node: 10.14.0

When using release 1.6.0 of this helper, node crashes with the following error if the dimension of the screenshots is not the same:

error

This is most likely due to the version of resemblejs being used. In the package.json the version specified is: ^3.0.0 which installs 3.2.0. A simple fix would be to always use 3.0.0, which worked for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions