From 05debd59b6c1190255f5e04518c781ad79b4dbe1 Mon Sep 17 00:00:00 2001 From: Hara Prasad Date: Thu, 5 Dec 2024 12:24:13 -0600 Subject: [PATCH] Update pfbExportTest.js --- suites/portal/pfbExportTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suites/portal/pfbExportTest.js b/suites/portal/pfbExportTest.js index 9b2c2da2a..bd853a5c6 100644 --- a/suites/portal/pfbExportTest.js +++ b/suites/portal/pfbExportTest.js @@ -366,7 +366,7 @@ Scenario('Visit the Explorer page, select a cohort, export to PFB and download t } else { I.saveScreenshot('whatTheHellIsGoingOnWithTheNavBar.png'); console.log('WARN: This environment does not have any Explorer or Files button on the navigation bar. This test should not run here'); - throw new Error('Test failed: Navigation bar is missing "Explorer" and "Files" buttons.'); + I.fail('Test failed: Navigation bar is missing "Explorer" and "Files" buttons.'); } // Click on the Export to PFB button