Skip to content

Commit

Permalink
Update pfbExportTest.js
Browse files Browse the repository at this point in the history
  • Loading branch information
haraprasadj authored Dec 5, 2024
1 parent 3df3ef7 commit 5d3101a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions suites/portal/pfbExportTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ 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: //div[@class=\'nav-bar__nav--items\']//div/a/descendant-or-self::*' });

const navBarButtons = await I.grabTextFromAll('.nav-button__icon');
console.log(`### Nav bar buttons: ${navBarButtons}`);
if (navBarButtons.includes('Exploration')) {
I.amOnPage('explorer');
console.log('### I am on Exploration Page');
Expand Down

0 comments on commit 5d3101a

Please sign in to comment.