docs(e2e): the happy path's public statuses now come from the register (refs #153)

Comment only — the assertions were already reference-matched and hold unchanged. Names the
new chain (ACL → Objecten → NRC → event-subscriber → projection) so the INGEDIEND assertion
reads as the proof of the re-source that it now is.
This commit is contained in:
not
2026-08-28 12:37:21 +02:00
parent 62fb986701
commit 88a601123b
+11 -6
View File
@@ -1,11 +1,16 @@
import { expect, request, test } from '@playwright/test'; import { expect, request, test } from '@playwright/test';
// Walking-skeleton happy path (S-08d + S-09 + S-09b + S-12 + S-10a): a zorgprofessional logs in via // Walking-skeleton happy path (S-08d + S-09 + S-09b + S-12 + S-10a + S-19b-2): a zorgprofessional
// mock DigiD and submits through the self-service portal → BFF → domain; the entry appears in the // logs in via mock DigiD and submits through the self-service portal → BFF → domain; the entry
// openbaar register as INGEDIEND; the citizen supplies the documents the process is waiting for // appears in the openbaar register as INGEDIEND; the citizen supplies the documents the process is
// (S-10a); a behandelaar then logs in to the behandel portal, finds the registration in the werkbak, // waiting for (S-10a); a behandelaar then logs in to the behandel portal, finds the registration in
// and approves it (goedkeuren); the decision completes the Flowable Beoordelen task and flows via the // the werkbak, and approves it (goedkeuren); the decision completes the Flowable Beoordelen task and
// ACL → NRC → event-subscriber → projection, and the openbaar register shows INGESCHREVEN. // flows via the ACL → Objecten → NRC → event-subscriber → projection, and the openbaar register
// shows INGESCHREVEN.
//
// Since ADR-0030 both public statuses come from the register in Objecten, not from ZGW zaak events:
// the ACL writes the record on submit (INGEDIEND) and upserts it on approval (INGESCHREVEN), so the
// INGEDIEND assertion below is itself proof of the re-sourced path.
test('DigiD submit → public INGEDIEND → documenten → behandelaar goedkeurt → public INGESCHREVEN', async ({ test('DigiD submit → public INGEDIEND → documenten → behandelaar goedkeurt → public INGESCHREVEN', async ({
page, page,
context, context,