Skip to content

Commit

Permalink
fix: getTokenBalance (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vorobeyko authored Aug 13, 2024
1 parent 8dd12f6 commit 4ea51aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wallets/src/metamask/metamask.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ export class MetamaskPage implements WalletPage {
async getTokenBalance(tokenName: string) {
await this.navigate();
const tokenTab = await this.page
.getByTestId('home__asset-tab')
.getByTestId('account-overview__asset-tab')
.locator('text=Tokens');
await tokenTab.click();
//Cannot find locator by exact text since need to find row by text "stETH"/"ETH" but "stETH" contains "ETH"
Expand Down

0 comments on commit 4ea51aa

Please sign in to comment.