From f5129107ddf1e2fb09821d7e2144af93789576b4 Mon Sep 17 00:00:00 2001 From: Hara Prasad Date: Mon, 25 Nov 2024 16:45:18 -0600 Subject: [PATCH] Fix pfb export test for navbar changes (#1060) --- 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 cf73eb678..12a3cefce 100644 --- a/suites/portal/pfbExportTest.js +++ b/suites/portal/pfbExportTest.js @@ -322,7 +322,7 @@ Scenario('Visit the Explorer page, select a cohort, export to PFB and download t login.complete.login(users.mainAcct); I.wait(5); I.saveScreenshot('before_checking_navbar.png'); - const navBarButtons = await I.grabTextFromAll({ xpath: 'xpath: //nav[@class=\'nav-bar__nav--items\']//div/a/descendant-or-self::*' }); + const navBarButtons = await I.grabTextFromAll({ xpath: 'xpath: //div[@class=\'nav-bar__nav--items\']//div/a/descendant-or-self::*' }); if (navBarButtons.includes('Exploration')) { I.amOnPage('explorer');