Skip to content

038 — should create a new external supplier with all form fields filled

Description

Creates an external supplier with accounting entity, state, note, BOZP and GDPR PDFs. Verifies files upload and supplier appears in grid.

Preconditions

  • Clean database
  • User logged in with ADMIN role
  • Test accounting entity Test Company s.r.o. available
  • Test PDF file available

Steps

  1. Navigate to Suppliers > External Suppliers and click Nový dodavatelExpected: Form opens
  2. Fill entity, state Aktivní, note and upload BOZP + GDPR PDFs — Expected: Both documents marked uploaded
  3. Save — Expected: Supplier Test Company s.r.o. appears in grid
  • Spec: tests/e2e/tests/suppliers.spec.ts