diff --git a/test/e2e/accounts/account-custom-name.spec.ts b/test/e2e/accounts/account-custom-name.spec.ts index cdab01cfe826..7b931c91247e 100644 --- a/test/e2e/accounts/account-custom-name.spec.ts +++ b/test/e2e/accounts/account-custom-name.spec.ts @@ -45,7 +45,10 @@ describe('Account Custom Name Persistence', function (this: Suite) { '[data-testid="multichain-account-menu-popover-add-account"]', ); await driver.fill('[placeholder="Account 2"]', anotherAccountLabel); - await driver.clickElement({ text: 'Create', tag: 'button' }); + await driver.clickElementAndWaitToDisappear({ + text: 'Create', + tag: 'button', + }); await locateAccountBalanceDOM(driver); // Verify initial custom account label after freshly added account was active