Skip to content

028 — should create a new documentation with all form fields filled

Description

Creates a documentation (Poptávka) with title, contact person, offer deadline (today+30d), state Aktivní, implementation dates and note, and verifies it appears in the list/detail.

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
  • Contact person Daniel Kohl available

Steps

  1. Navigate to Documentations and click NewExpected: Form opens
  2. Fill all fields and click Save — Expected: URL changes to detail; documentation visible in grid with correct title
  • Spec: tests/e2e/tests/documentations.spec.ts