Skip to content

Commit 2ab9702

Browse files
test(demo app): adjusted scroll distance on e2e test
1 parent d3e06d1 commit 2ab9702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/app.e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ describe('ImageLoader Lib E2E Tests', function () {
9191

9292
it('should load correct image for "md" device size', () => {
9393
page.setWindowSize(768, 580);
94-
page.scrollTo(0, 580 * 2.5);
94+
page.scrollTo(0, 580 * 2);
9595
browser.wait(() => page.getLoadedImageBottomElement());
9696

9797
const imgSrc = page.getImageBottomElement().getAttribute('srcset');

0 commit comments

Comments
 (0)