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');