test+seed: fresh virtual wallet per @data scenario + seed events reach the index
- @data Before hook sets a UNIQUE virtual-wallet id (username) per scenario so each scenario starts on a fresh, empty virtual wallet — isolation without touching the physical wallet; "le portefeuille est vide" is now a fast check, not a full scan. resetDataState / clearWallet fan-out dropped. - bootstrapWallet now submits each seeded PUBLIC event to the discovery index (mirrors the product createEvent), so a fresh virtual wallet can see seeded events through discovery rather than as its own docs. Note: @data still red — seeded/published events do not surface in the discovery read (submit→readIndex round-trip against the real broker), and some publish steps time out. The 75s ORM hang is gone; this is a distinct discovery-index integration issue, still under diagnosis.
This commit is contained in:
@@ -8,3 +8,5 @@
|
||||
- TOUCHED src/modules/workshop/features/read-model-probe.feature @2026-07-05 (session 0b064e8b-1717-421f-a20e-a4318ad217b1)
|
||||
- TOUCHED src/modules/workshop/steps/data/read-model-probe.steps.ts @2026-07-05 (session 0b064e8b-1717-421f-a20e-a4318ad217b1)
|
||||
- TOUCHED src/modules/event/steps/data/inscription.steps.ts @2026-07-05 (session 0b064e8b-1717-421f-a20e-a4318ad217b1)
|
||||
- TOUCHED src/shared/support/hooks.ts @2026-07-06 (session 0b064e8b-1717-421f-a20e-a4318ad217b1)
|
||||
- TOUCHED src/modules/auth/steps/data/connexion.steps.ts @2026-07-06 (session 0b064e8b-1717-421f-a20e-a4318ad217b1)
|
||||
|
||||
Reference in New Issue
Block a user