Skip to content

138 — Place multiple openings on drawing — locate and edit actions

Description

Uploads a drawing, places two openings at different canvas positions via "Pridat otvor", verifies both in the panel grid, tests "Najit na vykresu" (locate/pan) and "Detail" (edit) actions. Absorbs the single-placement test — placing two covers the basic path plus multi-opening panel.

Preconditions

  • Clean database
  • User logged in with ADMIN role

Steps

  1. Create project, upload drawing to Otvory folder, open drawing on Otvory tab — Expected: Drawing viewer ready
  2. Place D001 at (0.2, 0.3) and D002 at (0.2, 0.7) — Expected: Both markers on canvas, both in panel grid
  3. Assert panel rows: D001 (Jednokridle, 900, 2100), D002 (Dvoukridle, 1400, 2100) — Expected: Match
  4. Click "Najit na vykresu" on D002 — Expected: D002 marker visible
  5. Click "Detail" on D001 — Expected: Edit modal with correct values
  6. Close modal — Expected: Done
  • Spec: tests/e2e/tests/doors.spec.ts TC-3
  • Absorbs: old TC-4 (single placement)