You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it is using DEFAULT_VIEWPORT which is may be vary for each page, with long content page, some part of the page will not exists on the viewport, this causing IntersectionObserver not triggered, and make the test FAILED
For example in https://css-tricks.com/examples/LazyLoading/ . this sample calling processScroll();, so given correct VIEWPORT the images will be shown even its not using IntersectionObserver. And causing test to PASSED
https://github.com/GoogleChromeLabs/puppeteer-examples/blob/master/lazyimages_without_scroll_events.js#L110
i have doubts
screenshotPageWithoutScroll
:DEFAULT_VIEWPORT
which is may be vary for each page, with long content page, some part of the page will not exists on the viewport, this causingIntersectionObserver
not triggered, and make the test FAILEDprocessScroll();
, so given correct VIEWPORT the images will be shown even its not usingIntersectionObserver
. And causing test toPASSED
Any idea to make the improve accuracy
The text was updated successfully, but these errors were encountered: