Skip to content

ImagickException is received in dontSeeVisualChanges() if using fullScreenShot: true setting #64

@justinaszid

Description

@justinaszid

Hello,

today I ran into an odd problem using VisualCeption. When I wrote all my tests everything was working just fine, all images were generated and so on. However, latter in the day, when I was perfecting my tests, I started getting the following error:
[ImagickException] geometry does not contain image' @ warning/transform.c/CropImage/643`

I narrowed down the cause to setting fullScreenShot: true. If using false, everything works just fine.

At first, I thought there is some kind of queue which is cropping images and therefore I cannot get anything else processed, so I tried reinstalling Imagick, php, rebooting computer and so on. Did not manage to get it working. And the error is always the same.

As stated above, it was working and then it just stopped. By any chance I missed something? Or maybe there is some kind of cache I am not aware of and clearing would bring back working VisualCeption?

Configurations I tried so far:
Firefox 71.0 and few older versions, selenium-standalone-server (from newest down to 3.8), Codeception 3.1.2, php 7.4 and macOS Catalina 10.15.1

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