I'm not sure if this is a bug in this one or something in jest-puppeteer library we use. I'm not sure if screenshot command is in this plugin.
I scroll an element to the bottom (scrollTo), then use await container.screenshot({ on it.
After this the scroll position has been moved up somewhat and the screenshot is affected as well.
As I step through the code I see that after scrollTo it is correctly at the bottom, but then after screenshot the scroll position is moved up slightly and the screenshot shows this as well.
Hi,
I'm not sure if this is a bug in this one or something in jest-puppeteer library we use. I'm not sure if
screenshot
command is in this plugin.I scroll an element to the bottom (
scrollTo
), then useawait container.screenshot({
on it. After this the scroll position has been moved up somewhat and the screenshot is affected as well. As I step through the code I see that afterscrollTo
it is correctly at the bottom, but then afterscreenshot
the scroll position is moved up slightly and the screenshot shows this as well.Thanks!
Night