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¶
- Navigate to Settings > Segments (
/settings/segments) — Expected: Segments page loads - Click Nový segment, fill name=
Test Segment, code=TS, color=#2196F3, subject=Poptávka - Test Segment— Expected: Form populates - Click Save — Expected: Segment appears in grid with correct name and code
Related¶
- Spec:
tests/e2e/tests/settings.spec.ts