Skip to content

Commit

Permalink
Increasing the Amount of scroll needed
Browse files Browse the repository at this point in the history
  • Loading branch information
RahulARanger committed Jun 5, 2023
1 parent 80503ba commit 52f5bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/expectation/scrollScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function simple_scroll_test() {
await browser.keys([Key.Enter]);
await browser.pause(1000);
await browser.saveScreenshot("./beforeScroll.png");
await browser.execute("window.scrollTo(0,900)");
await browser.execute("window.scrollTo(0,3000)");
await browser.saveScreenshot("./afterScroll.png");
await pageClass._2rdPage.scrollIntoView();
await pageClass._2rdPage.waitForDisplayed({ reverse: false, timeout: 3000 });
Expand Down

0 comments on commit 52f5bfc

Please sign in to comment.