From 9c82b0a366ab48d7c3d020b15e5006efd5666f0d Mon Sep 17 00:00:00 2001 From: Piotr Stachyra Date: Wed, 30 Sep 2026 14:44:04 +0200 Subject: [PATCH 1/3] test: stop dismissing absent rn sheets The E2E RN build no longer shows the backup prompt, so those back presses leave the home screen before the balance check. Co-authored-by: Cursor --- test/specs/migration.e2e.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/specs/migration.e2e.ts b/test/specs/migration.e2e.ts index 0ca38a0..f431ca3 100644 --- a/test/specs/migration.e2e.ts +++ b/test/specs/migration.e2e.ts @@ -785,9 +785,6 @@ async function fundRnWallet(sats: number): Promise { const expectedBalance = sats.toLocaleString('en').replace(/,/g, ' '); await expectText(expectedBalance, { strategy: 'contains' }); console.info(`→ Received ${sats} sats`); - - // Ensure we're back on main screen (dismiss any sheets/modals) - await dismissSheetRN(); } /** @@ -908,7 +905,6 @@ async function transferToSpendingRN(sats: number, existingBalance = 0): Promise< await tap('TransferSuccess-button'); await electrumClient?.waitForSync(); await sleep(3000); - await dismissSheetRN(); const expectedBalance = (existingBalance + sats).toLocaleString('en').replace(/,/g, ' '); await expectText(expectedBalance); console.info(`→ Created spending balance with ${sats} sats`); From 6a5c36734aaaa7e4ba8cc0acb8a9a508f7882990 Mon Sep 17 00:00:00 2001 From: Piotr Stachyra Date: Wed, 30 Sep 2026 16:15:28 +0200 Subject: [PATCH 2/3] test: dismiss the rn receive celebration The Received Bitcoin sheet stays up with E2E=true and covers the activity list, so the post-fund back press is still required. Co-authored-by: Cursor --- test/specs/migration.e2e.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/specs/migration.e2e.ts b/test/specs/migration.e2e.ts index f431ca3..ce2af3c 100644 --- a/test/specs/migration.e2e.ts +++ b/test/specs/migration.e2e.ts @@ -785,6 +785,9 @@ async function fundRnWallet(sats: number): Promise { const expectedBalance = sats.toLocaleString('en').replace(/,/g, ' '); await expectText(expectedBalance, { strategy: 'contains' }); console.info(`→ Received ${sats} sats`); + + // The receive celebration stays up with E2E=true and covers ActivityShort-1. + await dismissSheetRN(); } /** From d21a3b31b4f4110f21273ba785b99d7ccc3e7ec2 Mon Sep 17 00:00:00 2001 From: Piotr Stachyra Date: Wed, 30 Sep 2026 18:00:11 +0200 Subject: [PATCH 3/3] test: dismiss quickpay after rn restore relaunch The second balance check runs after the app is opened again, and the QuickPay intro can cover TotalBalance-primary. Co-authored-by: Cursor --- test/specs/migration.e2e.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/specs/migration.e2e.ts b/test/specs/migration.e2e.ts index ce2af3c..fed1d5a 100644 --- a/test/specs/migration.e2e.ts +++ b/test/specs/migration.e2e.ts @@ -5,6 +5,7 @@ import { confirmInputOnKeyboard, dismissBackupTimedSheet, dismissBackgroundPaymentsTimedSheet, + tryDismissQuickPayIntroIfVisible, doNavigationClose, dragOnElement, elementById, @@ -208,6 +209,7 @@ describe('Wallet migration', () => { await driver.activateApp(getAppId()); // RN migration can schedule this intro for the next launch. await dismissBackgroundPaymentsTimedSheet(); + await tryDismissQuickPayIntroIfVisible(); await verifyMigration(balance, { verifyTags: !driver.isIOS }); });