taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 4f0545fde02ebe46bc7e770dc3f85b3c420e76ed
parent 54c522bf8fd6096a13dde7178e29c1ef97a6caf1
Author: Florian Dold <dold@taler.net>
Date:   Mon, 14 Sep 2026 01:42:38 +0200

taler-harness: accept deposits that have already settled

Allow successful completion when settlement finishes before Maestro
observes the finalizing state. Keep the final completion and bank
balance assertions.

Diffstat:
Mpackages/taler-harness/android/flows/deposit.yaml | 2+-
Mpackages/taler-harness/src/integrationtests/test-wallet-android-kyc.ts | 7+++++--
2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/packages/taler-harness/android/flows/deposit.yaml b/packages/taler-harness/android/flows/deposit.yaml @@ -18,5 +18,5 @@ appId: ${APP_ID} - runFlow: file: transaction-state.yaml env: - STATE: "This transaction is finalizing" + STATE: "This transaction is finalizing|This transaction was completed successfully" - takeScreenshot: deposit-awaiting-settlement diff --git a/packages/taler-harness/src/integrationtests/test-wallet-android-kyc.ts b/packages/taler-harness/src/integrationtests/test-wallet-android-kyc.ts @@ -131,7 +131,8 @@ export async function runWalletAndroidKycDepositTest(t: GlobalTestState) { await wallet.flow("kyc-visit"); await approveAndroidKyc(t, env); await wallet.flow("transaction-state", { - STATE: "This transaction is finalizing", + STATE: + "This transaction is finalizing|This transaction was completed successfully", }); await settleAndroidDeposit(env); await wallet.flow("deposit-complete"); @@ -190,8 +191,10 @@ export async function runWalletAndroidKycAuthDepositTest(t: GlobalTestState) { // The instructions close automatically when the bank transfer authenticates the account. await wallet.flow("kyc-visit"); await approveAndroidKyc(t, env); + // Settlement can finish before Maestro observes the intermediate state. await wallet.flow("transaction-state", { - STATE: "This transaction is finalizing", + STATE: + "This transaction is finalizing|This transaction was completed successfully", }); await settleAndroidDeposit(env); await wallet.flow("deposit-complete");