diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/History.stories.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/History.stories.tsx | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/History.stories.tsx b/packages/taler-wallet-webextension/src/wallet/History.stories.tsx index 13f4c8230..d89027e5f 100644 --- a/packages/taler-wallet-webextension/src/wallet/History.stories.tsx +++ b/packages/taler-wallet-webextension/src/wallet/History.stories.tsx @@ -21,6 +21,7 @@ import { PaymentStatus, + ScopeType, TalerProtocolTimestamp, TransactionCommon, TransactionDeposit, @@ -66,6 +67,7 @@ const exampleData = { confirmed: false, exchangePaytoUris: ["payto://x-taler-bank/bank/account"], type: WithdrawalType.ManualTransfer, + reserveIsReady: false, }, } as TransactionWithdrawal, payment: { @@ -176,6 +178,11 @@ export const SomeBalanceWithNoTransactions = tests.createExample( pendingOutgoing: "TESTKUDOS:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, ], }, @@ -190,6 +197,11 @@ export const OneSimpleTransaction = tests.createExample(TestedComponent, { pendingOutgoing: "USD:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, ], }); @@ -205,6 +217,11 @@ export const TwoTransactionsAndZeroBalance = tests.createExample( pendingOutgoing: "USD:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, ], }, @@ -224,6 +241,11 @@ export const OneTransactionPending = tests.createExample(TestedComponent, { pendingOutgoing: "USD:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, ], }); @@ -253,6 +275,11 @@ export const SomeTransactions = tests.createExample(TestedComponent, { pendingOutgoing: "USD:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, ], }); @@ -277,6 +304,11 @@ export const SomeTransactionsWithTwoCurrencies = tests.createExample( pendingOutgoing: "USD:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, { available: "TESTKUDOS:10", @@ -284,6 +316,11 @@ export const SomeTransactionsWithTwoCurrencies = tests.createExample( pendingOutgoing: "TESTKUDOS:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, ], }, @@ -298,6 +335,11 @@ export const FiveOfficialCurrencies = tests.createExample(TestedComponent, { pendingOutgoing: "USD:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, { available: "EUR:881", @@ -305,6 +347,11 @@ export const FiveOfficialCurrencies = tests.createExample(TestedComponent, { pendingOutgoing: "TESTKUDOS:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, { available: "COL:4043000.5", @@ -312,6 +359,11 @@ export const FiveOfficialCurrencies = tests.createExample(TestedComponent, { pendingOutgoing: "TESTKUDOS:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, { available: "JPY:11564450.6", @@ -319,6 +371,11 @@ export const FiveOfficialCurrencies = tests.createExample(TestedComponent, { pendingOutgoing: "TESTKUDOS:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, { available: "GBP:736", @@ -326,6 +383,11 @@ export const FiveOfficialCurrencies = tests.createExample(TestedComponent, { pendingOutgoing: "TESTKUDOS:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, ], }); @@ -341,6 +403,11 @@ export const FiveOfficialCurrenciesWithHighValue = tests.createExample( pendingOutgoing: "USD:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, { available: "EUR:10", @@ -348,12 +415,22 @@ export const FiveOfficialCurrenciesWithHighValue = tests.createExample( pendingOutgoing: "TESTKUDOS:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, { available: "COL:443000123123000.5123123", pendingIncoming: "TESTKUDOS:0", pendingOutgoing: "TESTKUDOS:0", hasPendingTransactions: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, requiresUserInput: false, }, { @@ -362,6 +439,11 @@ export const FiveOfficialCurrenciesWithHighValue = tests.createExample( pendingOutgoing: "TESTKUDOS:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, { available: "GBP:736001231231200.23123", @@ -369,6 +451,11 @@ export const FiveOfficialCurrenciesWithHighValue = tests.createExample( pendingOutgoing: "TESTKUDOS:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, ], }, @@ -388,6 +475,11 @@ export const PeerToPeer = tests.createExample(TestedComponent, { pendingOutgoing: "USD:0", hasPendingTransactions: false, requiresUserInput: false, + scopeInfo: { + currency: "Ásd", + type: ScopeType.Auditor, + url: "", + }, }, ], }); |