135 — Create opening with full field coverage and verify in edit modal¶
Description¶
Creates an opening with every non-conditional field populated (identification, dimensions, opening configuration, glazing, colors, performance ratings, hardware, building systems, accessories, notes), then verifies the grid row and reopens the Edit modal to assert every filled value round-tripped correctly. Absorbs the old minimal-create test — any successful full create also validates the basic path.
Preconditions¶
- Clean database
- User logged in with ADMIN role
Steps¶
- Create project, open Otvory tab — Expected: Empty grid
- Fill and save opening with all non-conditional fields (type, number, dimensions, openSide, doorSill, glazing, colors, performance, hardware, building systems, accessories, note) — Expected: "Uloženo" toast, modal closes
- Assert grid row shows D001 with type, number, openSide, clearWidth, clearHeight, note — Expected: All match input
- Reopen Edit modal, assert every field round-tripped — Expected: All values intact
Related¶
- Spec:
tests/e2e/tests/doors.spec.tsTC-1 - Absorbs: old TC-1 (min-field create)