Skip to content

Commit

Permalink
LPS-191405 Use DownloadTempFile
Browse files Browse the repository at this point in the history
  • Loading branch information
brookedalton authored and brianchandotcom committed Jul 26, 2023
1 parent 458030f commit 026ff83
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ definition {

Button.click(button = "Download");

DownloadTempFile();

DMDocument.assertFileNameFromTempFolder(fileName = "Document_1.docx");

Click(locator1 = "SearchResults#PREVIEW_BACK_BUTTON");
Expand All @@ -278,6 +280,8 @@ definition {

Button.click(button = "Download");

DownloadTempFile();

DMDocument.assertFileNameFromTempFolder(fileName = "Document_1.pdf");
}
}
Expand Down

0 comments on commit 026ff83

Please sign in to comment.