037 — should show warning when segment has no suppliers¶
Description¶
Verifies a warning is shown when files are uploaded to a segment that has no suppliers assigned — inquiry cannot be sent for that segment.
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¶
- Upload files to a segment with no assigned suppliers — Expected: Files in folder
- Attempt to create inquiry — Expected: Warning shown indicating segment lacks suppliers
Related¶
- Spec:
tests/e2e/tests/documentations.spec.ts