tag tests
This commit is contained in:
parent
6b1aea426a
commit
4414f738ef
@ -151,3 +151,5 @@ export async function runPayAbortTest(t: GlobalTestState) {
|
||||
|
||||
t.assertDeepEqual(txTypes, ["withdrawal", "payment", "refund"]);
|
||||
}
|
||||
|
||||
runPayAbortTest.suites = ["wallet"];
|
@ -209,3 +209,5 @@ export async function runPayPaidTest(t: GlobalTestState) {
|
||||
t.assertTrue(numPaidRequested == 1);
|
||||
t.assertTrue(numPayRequested == 0);
|
||||
}
|
||||
|
||||
runPayPaidTest.suites = ["wallet"];
|
||||
|
@ -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"];
|
||||
|
@ -208,3 +208,5 @@ export async function runPaymentFaultTest(t: GlobalTestState) {
|
||||
|
||||
t.assertTrue(orderStatus.order_status === "paid");
|
||||
}
|
||||
|
||||
runPaymentFaultTest.suites = ["wallet"];
|
||||
|
@ -101,3 +101,5 @@ export async function runPaymentIdempotencyTest(t: GlobalTestState) {
|
||||
|
||||
await t.shutdown();
|
||||
}
|
||||
|
||||
runPaymentIdempotencyTest.suites = ["wallet"];
|
||||
|
@ -158,3 +158,5 @@ export async function runPaymentMultipleTest(t: GlobalTestState) {
|
||||
|
||||
await t.shutdown();
|
||||
}
|
||||
|
||||
runPaymentMultipleTest.suites = ["wallet"];
|
||||
|
@ -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"];
|
||||
|
@ -51,3 +51,5 @@ export async function runPaymentTest(t: GlobalTestState) {
|
||||
|
||||
await wallet.runUntilDone();
|
||||
}
|
||||
|
||||
runPaymentTest.suites = ["wallet"];
|
||||
|
@ -231,3 +231,5 @@ export async function runPaywallFlowTest(t: GlobalTestState) {
|
||||
|
||||
t.assertTrue(pubUnpaidStatus.already_paid_order_id === firstOrderId);
|
||||
}
|
||||
|
||||
runPaywallFlowTest.suites = ["wallet"];
|
@ -98,3 +98,5 @@ export async function runRefundAutoTest(t: GlobalTestState) {
|
||||
|
||||
await t.shutdown();
|
||||
}
|
||||
|
||||
runRefundAutoTest.suites = ["wallet"];
|
@ -125,3 +125,5 @@ export async function runRefundGoneTest(t: GlobalTestState) {
|
||||
|
||||
await t.shutdown();
|
||||
}
|
||||
|
||||
runRefundGoneTest.suites = ["wallet"];
|
@ -188,3 +188,5 @@ export async function runRefundIncrementalTest(t: GlobalTestState) {
|
||||
|
||||
await t.shutdown();
|
||||
}
|
||||
|
||||
runRefundIncrementalTest.suites = ["wallet"];
|
@ -101,3 +101,5 @@ export async function runRefundTest(t: GlobalTestState) {
|
||||
|
||||
await t.shutdown();
|
||||
}
|
||||
|
||||
runRefundTest.suites = ["wallet"];
|
||||
|
@ -202,3 +202,4 @@ export async function runRevocationTest(t: GlobalTestState) {
|
||||
}
|
||||
|
||||
runRevocationTest.timeoutMs = 120000;
|
||||
runRevocationTest.suites = ["wallet"];
|
||||
|
@ -201,3 +201,5 @@ export async function runTimetravelAutorefreshTest(t: GlobalTestState) {
|
||||
|
||||
t.assertTrue(cpr.type === ConfirmPayResultType.Done);
|
||||
}
|
||||
|
||||
runTimetravelAutorefreshTest.suites = ["wallet"];
|
||||
|
@ -88,3 +88,5 @@ export async function runTimetravelWithdrawTest(t: GlobalTestState) {
|
||||
|
||||
// await wallet.runUntilDone({ maxRetries: 5 });
|
||||
}
|
||||
|
||||
runTimetravelWithdrawTest.suites = ["wallet"];
|
||||
|
@ -121,3 +121,5 @@ export async function runTippingTest(t: GlobalTestState) {
|
||||
await doTip();
|
||||
await doTip();
|
||||
}
|
||||
|
||||
runTippingTest.suites = ["wallet", "wallet-tipping"];
|
||||
|
@ -139,3 +139,5 @@ export async function runWalletBackupBasicTest(t: GlobalTestState) {
|
||||
t.assertAmountEquals(bal2.balances[0].available, "TESTKUDOS:23.82");
|
||||
}
|
||||
}
|
||||
|
||||
runWalletBackupBasicTest.suites = ["wallet", "wallet-backup"];
|
||||
|
@ -145,3 +145,5 @@ export async function runWalletBackupDoublespendTest(t: GlobalTestState) {
|
||||
await wallet2.runUntilDone();
|
||||
}
|
||||
}
|
||||
|
||||
runWalletBackupDoublespendTest.suites = ["wallet", "wallet-backup"];
|
||||
|
@ -163,3 +163,5 @@ export async function runWallettestingTest(t: GlobalTestState) {
|
||||
|
||||
await t.shutdown();
|
||||
}
|
||||
|
||||
runWallettestingTest.suites = ["wallet"];
|
||||
|
@ -65,3 +65,5 @@ export async function runWithdrawalAbortBankTest(t: GlobalTestState) {
|
||||
|
||||
await t.shutdown();
|
||||
}
|
||||
|
||||
runWithdrawalAbortBankTest.suites = ["wallet"];
|
||||
|
@ -69,3 +69,5 @@ export async function runWithdrawalBankIntegratedTest(t: GlobalTestState) {
|
||||
|
||||
await t.shutdown();
|
||||
}
|
||||
|
||||
runWithdrawalBankIntegratedTest.suites = ["wallet"];
|
||||
|
@ -76,3 +76,5 @@ export async function runTestWithdrawalManualTest(t: GlobalTestState) {
|
||||
|
||||
await t.shutdown();
|
||||
}
|
||||
|
||||
runTestWithdrawalManualTest.suites = ["wallet"];
|
||||
|
Loading…
Reference in New Issue
Block a user