From b410f43d2847f50052011c5ca6d5a234a9348425 Mon Sep 17 00:00:00 2001 From: Tom McGuire Date: Fri, 22 Nov 2024 17:11:17 -0800 Subject: [PATCH] test(e2e): add static wait after importing the wallet --- e2e/src/utils/utils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/src/utils/utils.js b/e2e/src/utils/utils.js index 8db474ebdc9..7d13a22a6f8 100644 --- a/e2e/src/utils/utils.js +++ b/e2e/src/utils/utils.js @@ -189,7 +189,9 @@ export async function quickOnboarding({ } await scrollIntoView('Restore', 'ImportWalletKeyboardAwareScrollView') - await element(by.id('ImportWalletButton')).tap() + await waitForElementByIdAndTap('ImportWalletButton') + // Wait for the wallet to restored + await sleep(5 * 1000) try { // case where account not funded yet. continue with onboarding.