Skip to content

Requirements: Phase 4 — API Tests

REQ-P4-001: Enable and update existing print tests

Section titled “REQ-P4-001: Enable and update existing print tests”

The existing disabled Bruno tests for print endpoints (PrintLabels.bru, PrintBreadcrumb.bru, PrintOneCard.bru, PrintMultpleCards.bru) shall be updated to validate the new composite response shape (CompositeRenderResult) and re-enabled (remove disabled tag).

Traces to: Phase 2 (composite response), Gap A-1

REQ-P4-002: Test multi-template bulk print

Section titled “REQ-P4-002: Test multi-template bulk print”

New Bruno tests shall validate that bulk print requests with mixed template sizes return multiple results in the composite response. Tests shall cover labels, breadcrumbs, and cards.

Traces to: SAC::PRINT::FR-0001, SAC::PRINT::FR-0003

New Bruno tests shall validate:

  • Requests exceeding maxItemsPerRequest are rejected with a descriptive error
  • Large single-template groups are split into sub-batches (multiple result entries for one template)

Traces to: SAC::PRINT::FR-0007, SAC::PRINT::FR-0009

REQ-P4-004: Test unmark-as-printed endpoint

Section titled “REQ-P4-004: Test unmark-as-printed endpoint”

A new Bruno test shall validate the POST /v1/kanban/kanban-card/{eId}/event/unmark endpoint: calling it on a PRINTED card returns the card with NOT_PRINTED status.

Traces to: SAC::PRINT::FR-0012, Phase 1

New Bruno tests shall validate:

  • debug=true returns the Documint payload in the response alongside the PDF URL
  • dry-run=true returns the payload without calling Documint (no URL, no side effects)
  • live-print=false produces a response (watermarked output — content not verifiable via API, but endpoint should succeed)

Traces to: SAC::PRINT-DX::FR-0003, SAC::PRINT-DX::FR-0006

REQ-P4-006: Test notes mapping correctness

Section titled “REQ-P4-006: Test notes mapping correctness”

New Bruno tests shall validate:

  • Card print with KanbanCard.notes = null — response debug payload shows empty notes field (not item order history)
  • Label print — response debug payload shows Item.notes in notes field

Traces to: SAC::PRINT::FR-0014, SAC::PRINT::FR-0015, Phase 1


Copyright: (c) Arda Systems 2025-2026, All rights reserved