154 — Protocol appears in flat grid and grouped by contract grid¶
Description¶
The /protocols page has two tabs: a flat grid ("Protokoly") and a grouped grid ("Seskupené protokoly") that groups protocols by contract. A created protocol appears in both: as a row in the flat grid and under its contract group in the grouped treegrid.
Preconditions¶
- Clean database (
TestControl.cleanDb()) - User logged in with ADMIN and ACCOUNTING roles
- Customer, contract and received order created via API
Steps¶
- Create a WORK_HANDOVER protocol — Expected: created
- On the flat tab, assert the row — Expected: code prefix PPD, type chip,
IN_PROCESSstate chip, order binding - Switch to the "Seskupené protokoly" tab — Expected: treegrid group row shows the contract title in the
__row_group_by_columns_group__column
Related¶
- Spec:
tests/e2e/tests/protocols.spec.ts - Components:
ProtocolGrid(flat),GroupedProtocolGrid(grouped, role=treegrid)