Skip to content

141 — Create openings in project, open drawing, verify Projekt tab and place one

Description

Tests the workflow of creating openings in the project Otvory tab first, then opening a drawing and verifying they appear in the Projekt panel tab (unplaced). Places one on the drawing and verifies tab counts and dot indicators.

Preconditions

  • Clean database
  • User logged in with ADMIN role

Steps

  1. Create project, create D001 and D002 via project Otvory tab — Expected: Both in project grid
  2. Upload drawing, open it, switch to Otvory tab — Expected: Vykres(0), Projekt(2)
  3. Projekt tab: both rows visible, neither has green dot — Expected: No dots (not placed)
  4. Place D001 via "Umistit znacku", save — Expected: D001 marker on canvas
  5. Verify Vykres(1), Projekt(2); D001 has dot, D002 does not — Expected: Correct indicators
  • Spec: tests/e2e/tests/doors.spec.ts TC-5