Skip to content

Commit 002c93c

Browse files
committed
on dismiss bg try again in restore
1 parent 4bcf7f0 commit 002c93c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

test/helpers/actions.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,12 @@ export async function restoreWallet(
606606
}
607607

608608
if (expectBackGroundPaymentsSheet) {
609-
await dismissBackgroundPaymentsTimedSheet();
609+
try { await dismissBackgroundPaymentsTimedSheet();} catch {
610+
console.info('→ Could not dismiss background payments timed sheet, trying again...');
611+
try { await dismissBackgroundPaymentsTimedSheet({ triggerTimedSheet: true });} catch {
612+
console.info('→ No background payments timed sheet to dismiss, continuing...');
613+
}
614+
}
610615
}
611616

612617
// Wait for Suggestions Label to appear

0 commit comments

Comments
 (0)