Merge branch 'fix/e2e-notifications-disable' into 'main'

fix(e2e): disable notifications dispatcher in test profile

See merge request 2-6/2-6-4/terravault/ordinis!191
This commit is contained in:
Александр Зимин
2026-05-14 15:21:56 +00:00
@@ -36,6 +36,15 @@ ordinis:
allow-query-scope: true
outbox:
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:
cuod:
auto-import: ${ORDINIS_BUNDLE_AUTOIMPORT:false}