-
Notifications
You must be signed in to change notification settings - Fork 37
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
Blank images from current views ... #43
Comments
Hi, you can try run |
There is no other .image-plan in my code: pasted. What you suggested did produce a fullscreen image of the page displayed. Still the problem with the element persists. Here is the div I'm trying to capture, you can find it in the pastebin contents:
And here's the computed code of the css styles applied to it:
If I had to guess, I would say the bit that extracts the component from the page only extracts it up to the point where the background-color is white and does not extract it fully with a background-image. Although the fullscreen produced image does in fact generate every element accordingly fullscreen, so no clue as to whats the issue |
Any followups? |
Hello ... I'm currently using VisualCeption to see if the original design specifications are met in every page of my website. I followed the install and configuration guidelines and it is up and running. This is the configuration I used in my acceptance suite:
This correctly produces a tests/_data/referenceObjects directory where I can store my original element designs and it also produces a tests/_output/currentObjects directory where the current items from my pages are stored.
The problem lies when I run my test. The DOM element is being identified correctly but the produced image is blank with the correct dimensions. For example, this is my test:
There is an element with a class .image-plan that has a background image and promotion_icon is an image file called: testFrontendCest.visualMatch.promotion_icon.png in the referenceObjects directory. The result comparison is in this link Visualcept blank and as you can see the original is being loaded and compared to a blank image. This Screenshot is the produced screenshot with the Recorder extension.
I'm using Webdriver and PhantomJS.
Thanks in advance
The text was updated successfully, but these errors were encountered: