diff options
author | Florian Dold <florian@dold.me> | 2024-01-29 21:29:26 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-01-29 21:29:35 +0100 |
commit | 61e3484d6ce1db846c435d84cbf5b9c3711a30f2 (patch) | |
tree | 841e9889c5814c458622904203a46853aa0e2708 /packages/taler-harness | |
parent | 57d988cf4ceffb51e8936bd36eed4aefcdc2d2dc (diff) | |
download | wallet-core-61e3484d6ce1db846c435d84cbf5b9c3711a30f2.tar.xz |
wallet-core,harness: let runIntegrationTest wait for its own transactions
Diffstat (limited to 'packages/taler-harness')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-wallettesting.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-wallettesting.ts b/packages/taler-harness/src/integrationtests/test-wallettesting.ts index ec393204f..932284d62 100644 --- a/packages/taler-harness/src/integrationtests/test-wallettesting.ts +++ b/packages/taler-harness/src/integrationtests/test-wallettesting.ts @@ -232,6 +232,16 @@ export async function runWallettestingTest(t: GlobalTestState) { merchantBaseUrl: merchant.makeInstanceBaseUrl(), summary: "foo", }); + + await walletClient.call(WalletApiOperation.ClearDb, {}); + await walletClient.call(WalletApiOperation.RunIntegrationTestV2, { + amountToSpend: "TESTKUDOS:5" as AmountString, + amountToWithdraw: "TESTKUDOS:10" as AmountString, + corebankApiBaseUrl: bank.corebankApiBaseUrl, + exchangeBaseUrl: exchange.baseUrl, + merchantAuthToken: merchantAuthToken, + merchantBaseUrl: merchant.makeInstanceBaseUrl(), + }); } runWallettestingTest.suites = ["wallet"]; |