Skip to content

Commit

Permalink
Merge pull request #129 from lidofinance/update-walleta-address
Browse files Browse the repository at this point in the history
fix: wallet address locator
  • Loading branch information
itaven authored Mar 21, 2024
2 parents 52f7562 + 7d5926d commit 8bc4dd8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/wallets/src/metamask/metamask.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,7 @@ export class MetamaskPage implements WalletPage {
await this.page.getByTestId('account-options-menu-button').click();
await this.page.getByTestId('account-list-menu-details').click();
const address = await this.page
.getByTestId('address-copy-button-text')
.nth(1)
.locator("button[data-testid='address-copy-button-text']")
.textContent();
await this.page.close();
return address;
Expand Down

0 comments on commit 8bc4dd8

Please sign in to comment.