diff --git a/portal-web/test/functional/com/liferay/portalweb/tests/coreinfrastructure/search/searchportlet/Search.testcase b/portal-web/test/functional/com/liferay/portalweb/tests/coreinfrastructure/search/searchportlet/Search.testcase index 5241343fececba..5f36fccf54771b 100644 --- a/portal-web/test/functional/com/liferay/portalweb/tests/coreinfrastructure/search/searchportlet/Search.testcase +++ b/portal-web/test/functional/com/liferay/portalweb/tests/coreinfrastructure/search/searchportlet/Search.testcase @@ -266,6 +266,8 @@ definition { Button.click(button = "Download"); + DownloadTempFile(); + DMDocument.assertFileNameFromTempFolder(fileName = "Document_1.docx"); Click(locator1 = "SearchResults#PREVIEW_BACK_BUTTON"); @@ -278,6 +280,8 @@ definition { Button.click(button = "Download"); + DownloadTempFile(); + DMDocument.assertFileNameFromTempFolder(fileName = "Document_1.pdf"); } }