-
Notifications
You must be signed in to change notification settings - Fork 674
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
Element screenshots are blank/empty after a big page scroll #3292
Comments
@ParachuteCat, |
I believe I'm seeing the same problem, running [email protected] latest release.. I don't think this fix has been included in a new release yet.. can you please explain how to run with this new version to see if it fixes my problem or if I need to raise a new bug? I currently install testcafe by having "testcafe": "^0.23.0", in my 'dependencies' section of package.json. |
@neekfenwick, the fix is included in the
You can check that you have the latest TestCafe version by running the following command:
If you have any problem with the latest TestCafe version, please create a new bug report. |
What is your Test Scenario?
Take a screenshots from multiple elemets from a list of elements inside a testcase.
(I also tryed to seperate each screenshot taken to a single testcase and disabled the 'Use hardware acceleration' of chrome, doesn't work anyway)
Just fyi:
In general I use TestCafé in combination with looksSame(compare images) to provide screenshot/visual regression - tests with advanced user actions (provided by TestCafé)
What is the Current behavior?
Nearly half of the screenshots taken with the testcase below are empty/blank (see screenshots)
It look's like the runner hides the viewport before taking the screenshot, you can reproduce this by running the testcase below in a real browser instead of headless.
What is the Expected behavior?
All screenshots should display their corresponding element.
What is your web application and your TestCafe test code?
This page provides a matching example case:
www.lottohelden.de/gewinnwahrscheinlichkeiten/lotterien/
Test code:
Generated screenshots from the testcase above:
how it should be:
![grafik](https://user-images.githubusercontent.com/30723846/50900980-22133c00-1417-11e9-873a-d4eaa44ca101.png)
where it all starts:
![grafik](https://user-images.githubusercontent.com/30723846/50900996-2dfefe00-1417-11e9-839a-e8e27555e2b2.png)
the issue:
![grafik](https://user-images.githubusercontent.com/30723846/50901013-35260c00-1417-11e9-8798-52e86bed647a.png)
Steps to Reproduce:
Your Environment details:
The text was updated successfully, but these errors were encountered: