032 — should show only Segment 2 in inquiry modal when only Segment 2 has files¶
Description¶
When a single supplier is assigned to Segment 2 and files are uploaded only there, the inquiry modal dropdown shows only Segment 2.
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
- One supplier assigned to Segment 2
Steps¶
- Create documentation, upload files to Segment 2 only — Expected: Only Segment 2 has files
- Open Poptat modal and click segments dropdown — Expected: Listbox shows only
Segment 2; Seg1 and Seg3 not present
Related¶
- Spec:
tests/e2e/tests/documentations.spec.ts