test(domain): acceptance scenario for submitting a registration (refs #6)
Use-case-level BDD (Reqnroll) for S-05: a zorgprofessional submits a registration; the Domain Service starts the registratie process and the OpenZaakAanmaken external task opens a zaak via the ACL, recorded on the aggregate (ADR-0009). Driven against in-memory Workflow Client and ACL stand-ins; real Flowable+ACL+OpenZaak delivery is the live-stack verify-domain check. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
18
tests/acceptance/Features/RegistratieIndienen.feature
Normal file
18
tests/acceptance/Features/RegistratieIndienen.feature
Normal file
@@ -0,0 +1,18 @@
|
||||
# language: en
|
||||
# Drives S-05 (#6). A zorgprofessional submits a registration; the Domain Service starts the
|
||||
# registratie process and, via the external-task worker, opens a zaak through the ACL and records
|
||||
# it on the aggregate (ADR-0009). This scenario exercises the use cases against in-memory stand-ins
|
||||
# for the Workflow Client and the ACL; real Flowable + ACL + OpenZaak delivery is verified by the
|
||||
# live-stack check (verify-domain).
|
||||
Feature: Een registratie indienen
|
||||
Als zorgprofessional wil ik mijn registratie indienen
|
||||
zodat er een registratieproces start en een zaak wordt geopend.
|
||||
|
||||
Scenario: Indienen start het registratieproces en opent een zaak
|
||||
Given a zorgprofessional submits a registration for BSN "123456782"
|
||||
When the domain service handles the submission
|
||||
Then a registratie process is started for the registration
|
||||
And the registration has status "INGEDIEND"
|
||||
When the OpenZaakAanmaken external task is handled for the registration
|
||||
Then a zaak is opened via the ACL for BSN "123456782"
|
||||
And the zaak is recorded on the registration
|
||||
Reference in New Issue
Block a user