036 — should handle empty segments in inquiry modal¶
Description¶
Edge case: no files uploaded anywhere. Verifies inquiry modal gracefully shows empty state.
Preconditions¶
- Clean database (
TestControl.cleanDb()) - User logged in with ADMIN and ACCOUNTING roles
- Three segments (Seg1, Seg2, Seg3) created
- Suppliers assigned to segments per scenario
Steps¶
- Create documentation without uploading files — Expected: Documentation saved
- Click Poptat — Expected: No selectable segments available (disabled or empty dropdown)
Related¶
- Spec:
tests/e2e/tests/documentations.spec.ts