diff options
author | Sebastian <sebasjm@gmail.com> | 2021-10-13 14:26:18 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-10-13 14:26:18 -0300 |
commit | fbf501e727ffe37c30a0ebe038dfb8ae900be749 (patch) | |
tree | c3269b60751e1f3b729b2990736c587a6cbcd1b1 /packages/taler-wallet-webextension/src/cta/Withdraw.stories.tsx | |
parent | 021d508337490d25f6d7293bf0deadbb5f298f8c (diff) | |
download | wallet-core-fbf501e727ffe37c30a0ebe038dfb8ae900be749.tar.xz |
fixing tos request
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Withdraw.stories.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Withdraw.stories.tsx | 243 |
1 files changed, 133 insertions, 110 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Withdraw.stories.tsx b/packages/taler-wallet-webextension/src/cta/Withdraw.stories.tsx index 59bbfc3bc..5e29a3e39 100644 --- a/packages/taler-wallet-webextension/src/cta/Withdraw.stories.tsx +++ b/packages/taler-wallet-webextension/src/cta/Withdraw.stories.tsx @@ -785,21 +785,23 @@ export const NewTerms = createExample(TestedComponent, { currency: 'USD', exchangeBaseUrl: 'exchange.demo.taler.net', paytoUris: ['asd'], - },{ + }, { currency: 'USD', exchangeBaseUrl: 'exchange.test.taler.net', paytoUris: ['asd'], }], + exchangeBaseUrl: 'exchange.demo.taler.net', details: { - exchangeInfo: { - baseUrl: 'exchange.demo.taler.net' - } as ExchangeRecord, - withdrawFee: { - currency: 'USD', - fraction: 0, - value: 0 - }, - } as ExchangeWithdrawDetails, + content: '', + contentType: '', + currentEtag: '', + acceptedEtag: undefined, + }, + withdrawalFee: { + currency: 'USD', + fraction: 0, + value: 0 + }, amount: { currency: 'USD', value: 2, @@ -821,21 +823,23 @@ export const TermsReviewingPLAIN = createExample(TestedComponent, { currency: 'USD', exchangeBaseUrl: 'exchange.demo.taler.net', paytoUris: ['asd'], - },{ + }, { currency: 'USD', exchangeBaseUrl: 'exchange.test.taler.net', paytoUris: ['asd'], }], + exchangeBaseUrl: 'exchange.demo.taler.net', details: { - exchangeInfo: { - baseUrl: 'exchange.demo.taler.net' - } as ExchangeRecord, - withdrawFee: { - currency: 'USD', - fraction: 0, - value: 0 - }, - } as ExchangeWithdrawDetails, + content: '', + contentType: '', + currentEtag: '', + acceptedEtag: undefined, + }, + withdrawalFee: { + currency: 'USD', + fraction: 0, + value: 0 + }, amount: { currency: 'USD', value: 2, @@ -858,21 +862,23 @@ export const TermsReviewingHTML = createExample(TestedComponent, { currency: 'USD', exchangeBaseUrl: 'exchange.demo.taler.net', paytoUris: ['asd'], - },{ + }, { currency: 'USD', exchangeBaseUrl: 'exchange.test.taler.net', paytoUris: ['asd'], }], + exchangeBaseUrl: 'exchange.demo.taler.net', details: { - exchangeInfo: { - baseUrl: 'exchange.demo.taler.net' - } as ExchangeRecord, - withdrawFee: { - currency: 'USD', - fraction: 0, - value: 0 - }, - } as ExchangeWithdrawDetails, + content: '', + contentType: '', + currentEtag: '', + acceptedEtag: undefined, + }, + withdrawalFee: { + currency: 'USD', + fraction: 0, + value: 0 + }, amount: { currency: 'USD', value: 2, @@ -910,21 +916,23 @@ export const TermsReviewingPDF = createExample(TestedComponent, { currency: 'USD', exchangeBaseUrl: 'exchange.demo.taler.net', paytoUris: ['asd'], - },{ + }, { currency: 'USD', exchangeBaseUrl: 'exchange.test.taler.net', paytoUris: ['asd'], }], + exchangeBaseUrl: 'exchange.demo.taler.net', details: { - exchangeInfo: { - baseUrl: 'exchange.demo.taler.net' - } as ExchangeRecord, - withdrawFee: { - currency: 'USD', - fraction: 0, - value: 0 - }, - } as ExchangeWithdrawDetails, + content: '', + contentType: '', + currentEtag: '', + acceptedEtag: undefined, + }, + withdrawalFee: { + currency: 'USD', + fraction: 0, + value: 0 + }, amount: { currency: 'USD', value: 2, @@ -948,21 +956,23 @@ export const TermsReviewingXML = createExample(TestedComponent, { currency: 'USD', exchangeBaseUrl: 'exchange.demo.taler.net', paytoUris: ['asd'], - },{ + }, { currency: 'USD', exchangeBaseUrl: 'exchange.test.taler.net', paytoUris: ['asd'], }], + exchangeBaseUrl: 'exchange.demo.taler.net', details: { - exchangeInfo: { - baseUrl: 'exchange.demo.taler.net' - } as ExchangeRecord, - withdrawFee: { - currency: 'USD', - fraction: 0, - value: 0 - }, - } as ExchangeWithdrawDetails, + content: '', + contentType: '', + currentEtag: '', + acceptedEtag: undefined, + }, + withdrawalFee: { + currency: 'USD', + fraction: 0, + value: 0 + }, amount: { currency: 'USD', value: 2, @@ -985,21 +995,23 @@ export const NewTermsAccepted = createExample(TestedComponent, { currency: 'USD', exchangeBaseUrl: 'exchange.demo.taler.net', paytoUris: ['asd'], - },{ + }, { currency: 'USD', exchangeBaseUrl: 'exchange.test.taler.net', paytoUris: ['asd'], }], + exchangeBaseUrl: 'exchange.demo.taler.net', details: { - exchangeInfo: { - baseUrl: 'exchange.demo.taler.net' - } as ExchangeRecord, - withdrawFee: { - currency: 'USD', - fraction: 0, - value: 0 - }, - } as ExchangeWithdrawDetails, + content: '', + contentType: '', + currentEtag: '', + acceptedEtag: undefined, + }, + withdrawalFee: { + currency: 'USD', + fraction: 0, + value: 0 + }, amount: { currency: 'USD', value: 2, @@ -1021,21 +1033,23 @@ export const TermsShowAgainXML = createExample(TestedComponent, { currency: 'USD', exchangeBaseUrl: 'exchange.demo.taler.net', paytoUris: ['asd'], - },{ + }, { currency: 'USD', exchangeBaseUrl: 'exchange.test.taler.net', paytoUris: ['asd'], }], + exchangeBaseUrl: 'exchange.demo.taler.net', details: { - exchangeInfo: { - baseUrl: 'exchange.demo.taler.net' - } as ExchangeRecord, - withdrawFee: { - currency: 'USD', - fraction: 0, - value: 0 - }, - } as ExchangeWithdrawDetails, + content: '', + contentType: '', + currentEtag: '', + acceptedEtag: undefined, + }, + withdrawalFee: { + currency: 'USD', + fraction: 0, + value: 0 + }, amount: { currency: 'USD', value: 2, @@ -1050,6 +1064,7 @@ export const TermsShowAgainXML = createExample(TestedComponent, { }, status: 'new' }, + reviewed: true, reviewing: true, }) @@ -1058,21 +1073,23 @@ export const TermsChanged = createExample(TestedComponent, { currency: 'USD', exchangeBaseUrl: 'exchange.demo.taler.net', paytoUris: ['asd'], - },{ + }, { currency: 'USD', exchangeBaseUrl: 'exchange.test.taler.net', paytoUris: ['asd'], }], + exchangeBaseUrl: 'exchange.demo.taler.net', details: { - exchangeInfo: { - baseUrl: 'exchange.demo.taler.net' - } as ExchangeRecord, - withdrawFee: { - currency: 'USD', - fraction: 0, - value: 0 - }, - } as ExchangeWithdrawDetails, + content: '', + contentType: '', + currentEtag: '', + acceptedEtag: undefined, + }, + withdrawalFee: { + currency: 'USD', + fraction: 0, + value: 0 + }, amount: { currency: 'USD', value: 2, @@ -1094,21 +1111,23 @@ export const TermsNotFound = createExample(TestedComponent, { currency: 'USD', exchangeBaseUrl: 'exchange.demo.taler.net', paytoUris: ['asd'], - },{ + }, { currency: 'USD', exchangeBaseUrl: 'exchange.test.taler.net', paytoUris: ['asd'], }], + exchangeBaseUrl: 'exchange.demo.taler.net', details: { - exchangeInfo: { - baseUrl: 'exchange.demo.taler.net' - } as ExchangeRecord, - withdrawFee: { - currency: 'USD', - fraction: 0, - value: 0 - }, - } as ExchangeWithdrawDetails, + content: '', + contentType: '', + currentEtag: '', + acceptedEtag: undefined, + }, + withdrawalFee: { + currency: 'USD', + fraction: 0, + value: 0 + }, amount: { currency: 'USD', value: 2, @@ -1126,21 +1145,23 @@ export const TermsAlreadyAccepted = createExample(TestedComponent, { currency: 'USD', exchangeBaseUrl: 'exchange.demo.taler.net', paytoUris: ['asd'], - },{ + }, { currency: 'USD', exchangeBaseUrl: 'exchange.test.taler.net', paytoUris: ['asd'], }], + exchangeBaseUrl: 'exchange.demo.taler.net', details: { - exchangeInfo: { - baseUrl: 'exchange.demo.taler.net' - } as ExchangeRecord, - withdrawFee: { - currency: 'USD', - fraction: amountFractionalBase * 0.5, - value: 0 - }, - } as ExchangeWithdrawDetails, + content: '', + contentType: '', + currentEtag: '', + acceptedEtag: undefined, + }, + withdrawalFee: { + currency: 'USD', + fraction: amountFractionalBase * 0.5, + value: 0 + }, amount: { currency: 'USD', value: 2, @@ -1159,21 +1180,23 @@ export const WithoutFee = createExample(TestedComponent, { currency: 'USD', exchangeBaseUrl: 'exchange.demo.taler.net', paytoUris: ['asd'], - },{ + }, { currency: 'USD', exchangeBaseUrl: 'exchange.test.taler.net', paytoUris: ['asd'], }], + exchangeBaseUrl: 'exchange.demo.taler.net', details: { - exchangeInfo: { - baseUrl: 'exchange.demo.taler.net' - } as ExchangeRecord, - withdrawFee: { - currency: 'USD', - fraction: 0, - value: 0 - }, - } as ExchangeWithdrawDetails, + content: '', + contentType: '', + currentEtag: '', + acceptedEtag: undefined, + }, + withdrawalFee: { + currency: 'USD', + fraction: 0, + value: 0, + }, amount: { currency: 'USD', value: 2, |