Skip to content

030 — should upload files to single segment only

Description

Upload files only to one segment folder and verify inquiry UI only offers that segment as an option.

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

  1. Run singleSegment upload flow — Expected: Files appear only in the selected segment folder
  2. Open inquiry modal — Expected: Only the segment with files is offered in the segments dropdown
  • Spec: tests/e2e/tests/documentations.spec.ts