Skip to content

Commit

Permalink
chore: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
zone-live committed Jun 19, 2024
1 parent acb5f3d commit 13a865c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/mmi/pageObjects/mmi-main-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class MMIMainPage {
}

async closeCustodyConfirmLink() {
return this.page.getByTestId('custody-confirm-link__btn').click();
return this.page.locator('button[aria-label="Close"]').click();
}

async selectMainAction(action: string) {
Expand Down
1 change: 1 addition & 0 deletions test/e2e/mmi/specs/transactions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const sendTransaction = async (

// Check that action took place
await mainPage.bringToFront();
await mainPage.closeCustodyConfirmLink();
await mainPage.openActivityTab();
await mainPage.checkLastTransactionStatus(/created/iu);
// Get custodianTxId to mine the transaction
Expand Down

0 comments on commit 13a865c

Please sign in to comment.