Skip to content

Commit

Permalink
wait for elem to disappear after click
Browse files Browse the repository at this point in the history
  • Loading branch information
seaona committed Jul 16, 2024
1 parent 2d416bf commit 963a758
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/e2e/accounts/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,5 +383,8 @@ export async function createBtcAccount(driver: Driver) {
text: messages.addNewBitcoinAccount.message,
tag: 'button',
});
await driver.clickElement({ text: 'Create', tag: 'button' });
await driver.clickElementAndWaitToDisappear({
text: 'Create',
tag: 'button',
});
}

0 comments on commit 963a758

Please sign in to comment.