{ "id": "withdraw-manual-chf", "title": "Fresh wallet -> real CHF withdrawal -> wire-transfer details", "status": "candidate", "why": [ "The manual (non-bank-integrated) withdrawal, which nothing in the", "harness had ever driven. Promoted from c2h-13-e00006, whose 20 newly", "covered features are ALL in ManualWithdrawDone.swift: that file had", "never executed in 1,068 episodes.", "", "It matters beyond the one file. The screen this ends on is the", "wire-transfer details screen, which carries the account chooser behind", "11987 -- two segments rendered identically -- and the ErrorView branch", "added for 11985. Both were reported by a user rather than by the", "harness, because the harness funds wallets with withdrawTestBalance", "and bank-integrated URIs and so had never visited the screen. A", "survey of captured screens cannot find a defect on a screen nothing", "visits; this scenario is what makes that screen visitable.", "", "The path also crosses the terms of service deliberately (steps 3-4),", "which is the one place the app's cached tosStatus and wallet-core's", "view are both exercised -- see 11934's 7037 note.", "", "SHRUNK 2026-11-10 from 9 steps to 7, on evidence rather than taste.", "The promoted walk ended `tap BackButton` then `tap 'Wire transfer'`,", "which was the walk leaving the screen and coming back. The first", "validation run (vm1) failed on exactly that step -- `id=BackButton", "matched nothing` -- while reporting `reached: True`: the app was", "already on Wire Transfer after step 7's Confirm Withdrawal, and the", "two extra steps were a detour the destination did not need. Both", "state oracles and both functions had already passed at that point.", "", "Step 1 of the promoted walk was also dropped, and it was the only", "fragile one: a bare coordinate tap at (0.125, 0.083). In vm1 it hit", "nothing -- the action record says `candidates: 0` and the element tree", "before and after it is identical, down to the clock. So the spec now", "has no coordinate steps at all and every target is an identifier or a", "label, which is what lets it survive a layout change." ], "setup": { "orientation": "portrait", "reset": "per-episode", "defaults": { "minimalistic": "NO", "developerMode": "YES" } }, "budget": { "maxSeconds": 600, "settleMs": 700, "stepTimeoutMs": 90000, "quietMs": 1500 }, "steps": [ { "verb": "tap", "at": { "id": "button.onboarding.withdrawReal" }, "expect": { "withinMs": 8000, "pollMs": 400, "all": [ { "nav": "Withdraw Fr.", "auto": true }, { "exists": { "label": "You must first accept the payment service's terms of service before you can withdraw digital cash to your wallet.", "match": "exact", "type": "staticText" }, "auto": true } ] }, "siblings": [ { "id": "gear" }, { "label": "Actions", "match": "contains", "type": "button" }, { "label": "Swiss francs", "match": "contains", "type": "button" }, { "id": "button.onboarding.demoCash" } ], "fromStep": 4, "reorderGroup": "01b72f434736" }, { "verb": "tap", "at": { "id": "button.withdraw.tos.open" }, "expect": { "withinMs": 8000, "pollMs": 400, "all": [ { "nav": "Terms of Service", "auto": true }, { "exists": { "label": "To unload a Taler wallet, users must transfer their funds to a Swiss bank account. International payments are not permitted. With the Taler wallet installed in the smartphone or web browser, users can make payments (within applicable limits) to natural persons and legal entities that accept this payment method and have a Swiss bank account to receive the funds (e.g., stores, web shops, apps, and other beneficiaries). When users make payments, the corresponding amount of e-money is debited directly from the Taler wallet. At least the transaction amount must be available in the Taler wallet's balance. Users consent to all payments made with the Taler wallet from their digital end device, even if these payments were made without their agreement. Anyone who redeems a token in the Taler wallet has used its represented value of the credit for payment.", "match": "exact", "type": "staticText" }, "auto": true } ] }, "fromStep": 5, "reorderGroup": "Withdraw Fr." }, { "verb": "tap", "at": { "id": "button.withdraw.tos.accept" }, "expect": { "withinMs": 8000, "pollMs": 400, "all": [ { "nav": "Withdraw Fr.", "auto": true }, { "exists": { "label": "inputView", "match": "exact", "type": "other" }, "auto": true } ] }, "siblings": [ { "id": "BackButton" }, { "label": "Language:", "match": "contains", "type": "button" }, { "id": "http://www.taler-ops.ch" } ], "fromStep": 6, "reorderGroup": "Terms of Service" }, { "verb": "tap", "at": { "label": "Shortcut CHF 10.00", "match": "contains", "type": "button" }, "expect": { "withinMs": 8000, "pollMs": 400, "all": [ { "hashChanged": true, "auto": true } ] }, "siblings": [ { "label": "Shortcut CHF 5.00", "match": "contains", "type": "button" }, { "label": "Shortcut CHF 25.00", "match": "contains", "type": "button" }, { "label": "Shortcut CHF 50.00", "match": "contains", "type": "button" }, { "id": "button.withdraw.confirm" }, { "label": "Return", "match": "contains", "type": "button" } ], "fromStep": 8, "reorderGroup": "Withdraw Fr." }, { "verb": "tap", "at": { "label": "Shortcut CHF 50.00", "match": "contains", "type": "button" }, "siblings": [ { "label": "Shortcut CHF 5.00", "match": "contains", "type": "button" }, { "label": "Shortcut CHF 10.00", "match": "contains", "type": "button" }, { "label": "Shortcut CHF 25.00", "match": "contains", "type": "button" }, { "id": "button.withdraw.confirm" } ], "fromStep": 9, "reorderGroup": "Withdraw Fr." }, { "verb": "tap", "at": { "id": "button.withdraw.confirm" }, "expect": { "withinMs": 8000, "pollMs": 400, "all": [ { "nav": "Wire Transfer", "auto": true }, { "exists": { "label": "QR Code", "match": "exact", "type": "other" }, "auto": true } ] }, "siblings": [ { "label": "Shortcut CHF 5.00", "match": "contains", "type": "button" }, { "label": "Shortcut CHF 10.00", "match": "contains", "type": "button" }, { "label": "Shortcut CHF 25.00", "match": "contains", "type": "button" }, { "label": "Shortcut CHF 50.00", "match": "contains", "type": "button" } ], "fromStep": 10, "reorderGroup": "Withdraw Fr." } ], "green": { "assertions": "all", "functions": [ { "name": "acceptManualWithdrawal", "file": "Model+Withdraw.swift", "line": 0 }, { "name": "getWithdrawalDetailsForAmount", "file": "Model+Withdraw.swift", "line": 0 } ], "state": [ { "kind": "oslog", "matches": "acceptManualWithdrawal\\{", "minCount": 1, "note": "the request that creates the reserve. Measured in c2h-13-e00006: the 14 wallet-core requests of this path end prepareWithdrawExchange, getWithdrawalDetailsForAmount, getExchangeTos, setExchangeTosAccepted, acceptManualWithdrawal, getTransactionById. This one is the commitment; the others also happen on paths that abandon the withdrawal." }, { "kind": "oslog", "matches": "setExchangeTosAccepted\\{", "minCount": 1, "note": "steps 3-4 are the terms, and a run that skipped them would reach the amount screen on an exchange whose ToS the app merely believes are accepted -- which is the state behind 11934's 7037." } ] }, "origin": { "run": "c2h-13-e", "episode": "c2h-13-e00006", "features": 20, "keys": [ "tapPoint|point=0.125,0.0833", "tap|id=button.onboarding.withdrawReal", "tap|id=button.withdraw.tos.open", "tap|id=button.withdraw.tos.accept", "tap|label=Shortcut CHF 10.00|match=contains|type=button", "tap|label=Shortcut CHF 50.00|match=contains|type=button", "tap|id=button.withdraw.confirm", "tap|id=BackButton", "tap|label=Wire transfer|match=contains|type=button" ] }, "reached": { "withinMs": 10000, "pollMs": 500, "all": [ { "nav": "Wire transfer", "auto": true }, { "exists": { "label": "Step 3: Finish the wire transfer of CHF\u00a0\u00a050.00 in your banking app or website, then this withdrawal will proceed automatically.\nDepending on your bank the transfer can take from minutes to two working days, please be patient.", "match": "exact", "type": "staticText" }, "auto": true }, { "exists": { "label": "Step 1: If you don't already have it in your banking favorites list, then copy and paste recipient and IBAN into the recipient/IBAN fields in your banking app or website (and save it as favorite for the next time):", "match": "exact", "type": "staticText" }, "auto": true } ] } }