commit ebd140b24a4d1efea5fc9f96cc945a785f3725c7
parent fb2b4ffc64603941706b35f58562bbfdf4314b58
Author: ms <ms@taler.net>
Date: Thu, 23 Dec 2021 17:53:24 +0100
bank: trigger WebEx withdrawal
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/bank/src/pages/home/index.tsx b/packages/bank/src/pages/home/index.tsx
@@ -496,7 +496,8 @@ function Account(props: any) {
return (<div>
<p>Scan the following QR code, and then confirm!</p>
<div>{QR({text: talerWithdrawUri})}</div>
- <p>Content: <pre>{talerWithdrawUri}</pre></p>
+ <a href="{talerWithdrawUri}"></a>
+ <p>Withdraw address: <pre>{talerWithdrawUri}</pre></p>
{props.children}
</div>);
}
diff --git a/packages/bank/tests/__tests__/homepage.js b/packages/bank/tests/__tests__/homepage.js
@@ -121,7 +121,6 @@ describe("withdraw", () => {
`http://localhost/demobanks/default/access-api/accounts/${context.username}/withdrawals`,
expect.objectContaining({body: JSON.stringify({amount: "EUR:5"})})
)
- await screen.findByText("give this address to", {exact: false})
// assume wallet POSTed the payment details.
const confirmButton = await screen.findByText("confirm withdrawal", {exact: false})
await waitFor(() => expect(