Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
justinaszid opened this issue Jan 6, 2020 · 1 comment

Comments

@justinaszid
Copy link

justinaszid commented Jan 6, 2020

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

@justinaszid justinaszid changed the title ImagickException is received in dontSeeVisualChanges() if any navigation was performed ImagickException is received in dontSeeVisualChanges() if using fullScreenShot: true setting Jan 6, 2020
@Sultanov13
Copy link

@juztaz this fork https://github.com/zoonru/VisualCeption works fine, they added 2 new methods dontSeeFullVisualChanges, SeeFullVisualChanges

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants