Skip to content

142 — Edit existing opening and verify grid reflects changes

Description

Creates an opening, opens the edit modal, changes type/width/height/note, saves, and verifies the project grid row reflects the updated values. Reopens the modal to confirm persistence.

Preconditions

  • Clean database
  • User logged in with ADMIN role

Steps

  1. Create project, create opening D001 with initial values — Expected: Grid shows original values
  2. Open edit modal, change type, clearWidth, clearHeight, note — Expected: Fields editable
  3. Save — Expected: Modal closes
  4. Assert grid row shows updated values — Expected: Type, width, height, note changed
  5. Reopen edit modal, assert values persisted — Expected: Round-trip correct
  • Spec: tests/e2e/tests/doors.spec.ts TC-6