Skip to content

Commit

Permalink
[#330] try to stabilize DownloadFilesExecutorTest
Browse files Browse the repository at this point in the history
  • Loading branch information
oomelianchuk committed Dec 18, 2024
1 parent 682a040 commit 495cd6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void downloadOnFormSubmission()
$(".fc-cta-consent").click();
$("#fileSelector").uploadFile(new File("src/test/resources/2020-in-one-picture.png"));
$("button[aria-label='COMBINED']").shouldBe(enabled, Duration.ofMillis(9000));
$("button[aria-label='COMBINED']").scrollIntoView(true).click();
$("button[aria-label='COMBINED']").scrollIntoView("{block: 'center'}").click();
waitForFileDownloading();
validateFilePresentInDownloadHistory();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void beforeClass() throws IOException
properties.put("browserprofile.chrome_download.browser", "chrome");

// needed to enable validation of chrome://downloads/ page
properties.put("browserprofile.chrome_download.headless", "false");
properties.put("browserprofile.chrome_download.headless", "true");
properties.put("browserprofile.chrome_download.downloadDirectory", "target");

properties.put("browserprofile.firefox_download.name", "firefox_download");
Expand Down

0 comments on commit 495cd6c

Please sign in to comment.