diff options
author | Florian Dold <florian@dold.me> | 2021-05-21 11:47:20 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-05-21 11:47:24 +0200 |
commit | 4414f738ef37effa9a40091ca6b4f2a447edf7bb (patch) | |
tree | 670adcf2aa912f0c57132927f8c5f4a5768d2b01 /packages/taler-wallet-cli/src/integrationtests | |
parent | 6b1aea426a5cb0d6d33757ccaafee831f4875c8c (diff) | |
download | wallet-core-4414f738ef37effa9a40091ca6b4f2a447edf7bb.tar.xz |
tag tests
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests')
23 files changed, 53 insertions, 4 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-pay-abort.ts b/packages/taler-wallet-cli/src/integrationtests/test-pay-abort.ts index 1a4219a94..4d0ea489d 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-pay-abort.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-pay-abort.ts @@ -151,3 +151,5 @@ export async function runPayAbortTest(t: GlobalTestState) { t.assertDeepEqual(txTypes, ["withdrawal", "payment", "refund"]); } + +runPayAbortTest.suites = ["wallet"];
\ No newline at end of file diff --git a/packages/taler-wallet-cli/src/integrationtests/test-pay-paid.ts b/packages/taler-wallet-cli/src/integrationtests/test-pay-paid.ts index 575228a8b..a4f09855e 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-pay-paid.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-pay-paid.ts @@ -209,3 +209,5 @@ export async function runPayPaidTest(t: GlobalTestState) { t.assertTrue(numPaidRequested == 1); t.assertTrue(numPayRequested == 0); } + +runPayPaidTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-payment-claim.ts b/packages/taler-wallet-cli/src/integrationtests/test-payment-claim.ts index a26b6724b..5a8adc966 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-payment-claim.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-payment-claim.ts @@ -19,9 +19,7 @@ */ import { GlobalTestState, MerchantPrivateApi, WalletCli } from "./harness"; import { createSimpleTestkudosEnvironment, withdrawViaBank } from "./helpers"; -import { - PreparePayResultType, -} from "@gnu-taler/taler-util"; +import { PreparePayResultType } from "@gnu-taler/taler-util"; import { TalerErrorCode } from "@gnu-taler/taler-util"; /** @@ -105,3 +103,5 @@ export async function runPaymentClaimTest(t: GlobalTestState) { await t.shutdown(); } + +runPaymentClaimTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-payment-fault.ts b/packages/taler-wallet-cli/src/integrationtests/test-payment-fault.ts index d467eb66f..18ae72a62 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-payment-fault.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-payment-fault.ts @@ -208,3 +208,5 @@ export async function runPaymentFaultTest(t: GlobalTestState) { t.assertTrue(orderStatus.order_status === "paid"); } + +runPaymentFaultTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-payment-idempotency.ts b/packages/taler-wallet-cli/src/integrationtests/test-payment-idempotency.ts index 4d7d5f959..061fe511c 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-payment-idempotency.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-payment-idempotency.ts @@ -101,3 +101,5 @@ export async function runPaymentIdempotencyTest(t: GlobalTestState) { await t.shutdown(); } + +runPaymentIdempotencyTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-payment-multiple.ts b/packages/taler-wallet-cli/src/integrationtests/test-payment-multiple.ts index 6d05df33b..1dfbe4dba 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-payment-multiple.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-payment-multiple.ts @@ -158,3 +158,5 @@ export async function runPaymentMultipleTest(t: GlobalTestState) { await t.shutdown(); } + +runPaymentMultipleTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-payment-transient.ts b/packages/taler-wallet-cli/src/integrationtests/test-payment-transient.ts index 8825def7a..0733cd03b 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-payment-transient.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-payment-transient.ts @@ -27,7 +27,13 @@ import { FaultInjectionRequestContext, FaultInjectionResponseContext, } from "./faultInjection"; -import { codecForMerchantOrderStatusUnpaid, ConfirmPayResultType, PreparePayResultType, TalerErrorCode, TalerErrorDetails } from "@gnu-taler/taler-util"; +import { + codecForMerchantOrderStatusUnpaid, + ConfirmPayResultType, + PreparePayResultType, + TalerErrorCode, + TalerErrorDetails, +} from "@gnu-taler/taler-util"; import { URL } from "@gnu-taler/taler-wallet-core"; /** @@ -163,3 +169,5 @@ export async function runPaymentTransientTest(t: GlobalTestState) { ); } } + +runPaymentTransientTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-payment.ts b/packages/taler-wallet-cli/src/integrationtests/test-payment.ts index 68713fd9d..3512ff046 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-payment.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-payment.ts @@ -51,3 +51,5 @@ export async function runPaymentTest(t: GlobalTestState) { await wallet.runUntilDone(); } + +runPaymentTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts b/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts index 85bcbfd0e..ba4ef2910 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts @@ -231,3 +231,5 @@ export async function runPaywallFlowTest(t: GlobalTestState) { t.assertTrue(pubUnpaidStatus.already_paid_order_id === firstOrderId); } + +runPaywallFlowTest.suites = ["wallet"];
\ No newline at end of file diff --git a/packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts b/packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts index 1b3fb2852..36bdfac2c 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-refund-auto.ts @@ -98,3 +98,5 @@ export async function runRefundAutoTest(t: GlobalTestState) { await t.shutdown(); } + +runRefundAutoTest.suites = ["wallet"];
\ No newline at end of file diff --git a/packages/taler-wallet-cli/src/integrationtests/test-refund-gone.ts b/packages/taler-wallet-cli/src/integrationtests/test-refund-gone.ts index 7158a40af..abaa10f71 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-refund-gone.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-refund-gone.ts @@ -125,3 +125,5 @@ export async function runRefundGoneTest(t: GlobalTestState) { await t.shutdown(); } + +runRefundGoneTest.suites = ["wallet"];
\ No newline at end of file diff --git a/packages/taler-wallet-cli/src/integrationtests/test-refund-incremental.ts b/packages/taler-wallet-cli/src/integrationtests/test-refund-incremental.ts index 9f961b2b7..4c046cbe7 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-refund-incremental.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-refund-incremental.ts @@ -188,3 +188,5 @@ export async function runRefundIncrementalTest(t: GlobalTestState) { await t.shutdown(); } + +runRefundIncrementalTest.suites = ["wallet"];
\ No newline at end of file diff --git a/packages/taler-wallet-cli/src/integrationtests/test-refund.ts b/packages/taler-wallet-cli/src/integrationtests/test-refund.ts index b97b21b3e..4c7d478bf 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-refund.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-refund.ts @@ -101,3 +101,5 @@ export async function runRefundTest(t: GlobalTestState) { await t.shutdown(); } + +runRefundTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-revocation.ts b/packages/taler-wallet-cli/src/integrationtests/test-revocation.ts index 6cd4174a4..f6aad31ca 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-revocation.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-revocation.ts @@ -202,3 +202,4 @@ export async function runRevocationTest(t: GlobalTestState) { } runRevocationTest.timeoutMs = 120000; +runRevocationTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-timetravel-autorefresh.ts b/packages/taler-wallet-cli/src/integrationtests/test-timetravel-autorefresh.ts index c54f667a1..a1a0defb7 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-timetravel-autorefresh.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-timetravel-autorefresh.ts @@ -201,3 +201,5 @@ export async function runTimetravelAutorefreshTest(t: GlobalTestState) { t.assertTrue(cpr.type === ConfirmPayResultType.Done); } + +runTimetravelAutorefreshTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-timetravel-withdraw.ts b/packages/taler-wallet-cli/src/integrationtests/test-timetravel-withdraw.ts index 4af85585a..0ddc6ab06 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-timetravel-withdraw.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-timetravel-withdraw.ts @@ -88,3 +88,5 @@ export async function runTimetravelWithdrawTest(t: GlobalTestState) { // await wallet.runUntilDone({ maxRetries: 5 }); } + +runTimetravelWithdrawTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-tipping.ts b/packages/taler-wallet-cli/src/integrationtests/test-tipping.ts index a89473313..fbd7709ed 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-tipping.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-tipping.ts @@ -121,3 +121,5 @@ export async function runTippingTest(t: GlobalTestState) { await doTip(); await doTip(); } + +runTippingTest.suites = ["wallet", "wallet-tipping"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-wallet-backup-basic.ts b/packages/taler-wallet-cli/src/integrationtests/test-wallet-backup-basic.ts index dd448c87d..3793a5d1a 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-wallet-backup-basic.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-wallet-backup-basic.ts @@ -139,3 +139,5 @@ export async function runWalletBackupBasicTest(t: GlobalTestState) { t.assertAmountEquals(bal2.balances[0].available, "TESTKUDOS:23.82"); } } + +runWalletBackupBasicTest.suites = ["wallet", "wallet-backup"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-wallet-backup-doublespend.ts b/packages/taler-wallet-cli/src/integrationtests/test-wallet-backup-doublespend.ts index b9bc30a95..c5d590771 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-wallet-backup-doublespend.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-wallet-backup-doublespend.ts @@ -145,3 +145,5 @@ export async function runWalletBackupDoublespendTest(t: GlobalTestState) { await wallet2.runUntilDone(); } } + +runWalletBackupDoublespendTest.suites = ["wallet", "wallet-backup"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-wallettesting.ts b/packages/taler-wallet-cli/src/integrationtests/test-wallettesting.ts index 65d8aea25..68d2c7264 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-wallettesting.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-wallettesting.ts @@ -163,3 +163,5 @@ export async function runWallettestingTest(t: GlobalTestState) { await t.shutdown(); } + +runWallettestingTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-abort-bank.ts b/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-abort-bank.ts index 6cd508b25..bfffa23b3 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-abort-bank.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-abort-bank.ts @@ -65,3 +65,5 @@ export async function runWithdrawalAbortBankTest(t: GlobalTestState) { await t.shutdown(); } + +runWithdrawalAbortBankTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-bank-integrated.ts b/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-bank-integrated.ts index 1a3268ada..12e594c44 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-bank-integrated.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-bank-integrated.ts @@ -69,3 +69,5 @@ export async function runWithdrawalBankIntegratedTest(t: GlobalTestState) { await t.shutdown(); } + +runWithdrawalBankIntegratedTest.suites = ["wallet"]; diff --git a/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-manual.ts b/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-manual.ts index 5921510bf..97ea6892a 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-manual.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-manual.ts @@ -76,3 +76,5 @@ export async function runTestWithdrawalManualTest(t: GlobalTestState) { await t.shutdown(); } + +runTestWithdrawalManualTest.suites = ["wallet"]; |