taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 3cb75779fefdda06226ad458f5d662e7d13454c7
parent 06ef0470c58181dcb3682ca8105de18ae15e6b22
Author: Florian Dold <florian@dold.me>
Date:   Thu,  8 May 2025 21:13:43 +0200

harness: more tops tests

Diffstat:
Mpackages/taler-harness/src/integrationtests/test-tops-aml-measures.ts | 32++++++++++++++++++++++++++++++--
1 file changed, 30 insertions(+), 2 deletions(-)

diff --git a/packages/taler-harness/src/integrationtests/test-tops-aml-measures.ts b/packages/taler-harness/src/integrationtests/test-tops-aml-measures.ts @@ -58,8 +58,6 @@ export async function runTopsAmlMeasuresTest(t: GlobalTestState) { await expectInvestigate(); } - return; - await decideReset(); // VQF customer type OTHER should lead to @@ -80,6 +78,36 @@ export async function runTopsAmlMeasuresTest(t: GlobalTestState) { await decideReset(); + // Complex legal entity + { + await decideMeasure("kyx"); + await expectNoInvestigate(); + await submitForm("vqf_902_1_customer", { + FORM_ID: "vqf_902_1_customer", + FORM_VERSION: 1, + CUSTOMER_TYPE: "LEGAL_ENTITY", + CUSTOMER_TYPE_VQF: "OPERATIONAL", + FULL_NAME: "Alice A", + DOMICILE_ADDRESS: "Castle St. 1\nWondertown", + }); + await expectNoInvestigate(); + // Form is not validated yet + await submitForm("vqf_902_11_customer", { + FORM_ID: "vqf_902_11_customer", + THIRD_PARTY_OWNERSHIP: true, + FORM_VERSION: 1, + }); + await expectNoInvestigate(); + await submitForm("vqf_902_9_customer", { + // Form is not validated yet + FORM_ID: "vqf_902_9_customer", + FORM_VERSION: 1, + }); + await expectInvestigate(); + } + + await decideReset(); + { await decideMeasure("kyx"); await expectNoInvestigate();