Skip to content

012 — should create a new segment with all form fields filled

Description

Creates a segment with name, code, color and inquiry message subject and verifies it appears in the segments grid.

Preconditions

  • Clean database (TestControl.cleanDb())
  • User logged in with ADMIN role

Steps

  1. Navigate to Settings > Segments (/settings/segments) — Expected: Segments page loads
  2. Click Nový segment, fill name=Test Segment, code=TS, color=#2196F3, subject=Poptávka - Test SegmentExpected: Form populates
  3. Click Save — Expected: Segment appears in grid with correct name and code
  • Spec: tests/e2e/tests/settings.spec.ts