Gherkin scenarios assert the submit carries the diploma origin (domestic/foreign) into the process. verify-domain now submits a foreign registration and asserts it parks at CBGVAdvies before Beoordelen, completes CBGV, then advances to Beoordelen — exercising both DMN branches through the engine (the domestic DIRECT path is the first registration already parking straight at Beoordelen). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
20 lines
1.2 KiB
Gherkin
20 lines
1.2 KiB
Gherkin
# language: en
|
|
# Drives S-13 (#14). A registration's diploma origin decides its route: a domestic (Binnenlands)
|
|
# diploma goes straight to beoordeling, a foreign (Buitenlands) one is routed through an extra
|
|
# CBGV-advies step (PRD flow 4). The decision itself is a DMN evaluated inside the workflow
|
|
# (ADR-0016); the domain's part — verified here — is carrying the origin into the process so the DMN
|
|
# can route on it. The DMN evaluation and the CBGV routing are verified live (verify-domain).
|
|
Feature: Een diploma op herkomst routeren
|
|
Als register wil ik een aanvraag met een buitenlands diploma extra laten toetsen
|
|
zodat een CBGV-advies wordt ingewonnen voordat een behandelaar beoordeelt.
|
|
|
|
Scenario: Een binnenlands diploma start de registratie als binnenlands
|
|
Given a zorgprofessional with a "Binnenlands" diploma
|
|
When they submit their registration
|
|
Then the registratie process is started carrying a "Binnenlands" diploma
|
|
|
|
Scenario: Een buitenlands diploma start de registratie als buitenlands
|
|
Given a zorgprofessional with a "Buitenlands" diploma
|
|
When they submit their registration
|
|
Then the registratie process is started carrying a "Buitenlands" diploma
|