Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Flaky test Account Custom Name.. #26062

Merged
merged 11 commits into from
Jul 24, 2024
Merged
5 changes: 4 additions & 1 deletion test/e2e/accounts/account-custom-name.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down