diff --git a/AGENTS.md b/AGENTS.md index 9906251..2ab2c0f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -5,6 +5,7 @@ This file provides guidance to AI agents (Codex/Claude/Cursor/WARP) working in t ## Purpose Bitkit E2E tests for: + - **bitkit-android** (native Android app) - **bitkit-ios** (native iOS app) @@ -39,6 +40,7 @@ BACKEND=regtest ./scripts/build-ios-sim.sh ``` Notes: + - `BACKEND=local` uses local Electrum (default). - `BACKEND=regtest` sets network Electrum against regtest. diff --git a/test/specs/lnurl.e2e.ts b/test/specs/lnurl.e2e.ts index c2a04f0..faf7591 100644 --- a/test/specs/lnurl.e2e.ts +++ b/test/specs/lnurl.e2e.ts @@ -307,9 +307,7 @@ describe('@lnurl - LNURL', () => { }); console.log('withdrawRequest2', withdrawRequest2); - // TODO: after https://github.com/synonymdev/bitkit-android/issues/418 is resolved - // we should test the scan flow here - await enterAddress(withdrawRequest2.encoded, { acceptCameraPermission: false }); + await enterAddressViaScanPrompt(withdrawRequest2.encoded, { acceptCameraPermission: false }); const reviewAmtWithdraw = await elementByIdWithin('WithdrawAmount-primary', 'MoneyText'); await expect(reviewAmtWithdraw).toHaveText('303'); await tap('WithdrawConfirmButton');