016 — should prefill segment inquiry message from inquiry settings¶
Description¶
When a new segment is created, its inquiry message field is auto-populated with the default email template from inquiry settings.
Preconditions¶
- Clean database (
TestControl.cleanDb()) - User logged in with ADMIN role
Steps¶
- Save inquiry settings with a custom defaultEmailTemplate — Expected: Settings persisted
- Navigate to Settings > Segments and click Nový segment — Expected: New-segment modal opens
- Inspect inquiry-message rich-text editor — Expected: Contains the custom email template value
Related¶
- Spec:
tests/e2e/tests/settings.spec.ts