fix(e2e): disable notifications dispatcher in test profile

This commit is contained in:
Александр Зимин
2026-05-14 15:21:56 +00:00
parent 14f58b4927
commit 5e10bbb6bb
@@ -36,6 +36,15 @@ ordinis:
allow-query-scope: true allow-query-scope: true
outbox: outbox:
enabled: ${ORDINIS_OUTBOX_ENABLED:false} enabled: ${ORDINIS_OUTBOX_ENABLED:false}
# Disable notifications dispatcher in e2e — TODO 7 (MR !190) added a
# @Scheduled poller that reads outbox_events. В тестах outbox event rows
# остаются от draft submit/approve fixture (ApprovalWorkflowE2ETest), и
# dispatcher тик бы рендерил/диспатчил через MessageRenderer + EmailChannel
# на каждом polling cycle. Counters + log noise загрязняют assertions about
# outbox/notification state. Override via ORDINIS_NOTIFICATIONS_ENABLED=true
# если нужно гонять notification e2e отдельно.
notifications:
enabled: ${ORDINIS_NOTIFICATIONS_ENABLED:false}
bundle: bundle:
cuod: cuod:
auto-import: ${ORDINIS_BUNDLE_AUTOIMPORT:false} auto-import: ${ORDINIS_BUNDLE_AUTOIMPORT:false}