Skip to content

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

  1. Save inquiry settings with a custom defaultEmailTemplate — Expected: Settings persisted
  2. Navigate to Settings > Segments and click Nový segmentExpected: New-segment modal opens
  3. Inspect inquiry-message rich-text editor — Expected: Contains the custom email template value
  • Spec: tests/e2e/tests/settings.spec.ts