Skip to content

Commit

Permalink
chore: debug2
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz committed Oct 11, 2024
1 parent 275453f commit 1572260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils/metamask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ async function selectAccounts(accountsToSelect: string[], accountLocators: Locat
async function connectMultipleAccounts(notificationPage: Page, accounts: string[]) {
// Wait for the accounts to be loaded as 'all()' doesnt not wait for the results - https://playwright.dev/docs/api/class-locator#locator-all
// Additionally disable default account to reuse necessary delay
console.log('DISABLING DEFAULT ACCOUNT');
await notificationPage.locator(selectors.accountOption).locator(selectors.accountCheckbox).last().setChecked(false);
// console.log('DISABLING DEFAULT ACCOUNT');
// await notificationPage.locator(selectors.accountOption).locator(selectors.accountCheckbox).last().setChecked(false);
console.log('GETTING ACCOUNT LOCATORS');
const accountLocators = await notificationPage.locator(selectors.accountOption).all();
console.log('accountLocators', accountLocators);
Expand Down

0 comments on commit 1572260

Please sign in to comment.