diff --git a/docs/test-bugs.md b/docs/test-bugs.md index c97868d..da77f15 100644 --- a/docs/test-bugs.md +++ b/docs/test-bugs.md @@ -637,3 +637,158 @@ Playwright E2E: 10 passed, 24 failed (BUG-011/012/013 — Mock-Daten und data-te - ABACRuleEditor.tsx: 883 lines - **Schweregrad:** Medium - **Status:** ⏳ Nicht gefixt — Refactoring empfohlen + +### BUG-082: 23 Unused Frontend Components +- **Kategorie:** Frontend / Dead Code +- **Erwartet:** 0 unused components +- **Tatsächlich:** 23 von 169 Components werden nirgendwo importiert +- **Beispiele:** AddressList, AgentEditor, AgentMonitor, AgentRunLog, ABACRuleEditor, ContactEditModal, DedupDialog, AskKnowledge, KnowledgeGraph, MailSearchBar, SharedMailboxSelector, PWAInstallPrompt, CsvImportDialog, UnsavedChangesGuard, BulkTagDialog, TagCloud, TagPicker, GoalView, TaskBoard, UndoToast +- **Schweregrad:** Low +- **Status:** ⏳ Nicht gefixt + +### BUG-083: 1 Unused Frontend Hook (useTenant) +- **Kategorie:** Frontend / Dead Code +- **Erwartet:** 0 unused hooks +- **Tatsächlich:** 1 von 11 Hooks wird nirgendwo importiert (useTenant) +- **Schweregrad:** Low +- **Status:** ⏳ Nicht gefixt + +### BUG-084: 5 Missing Database Indexes (companies, company_contacts) +- **Kategorie:** Performance / Database +- **Erwartet:** Alle Indexes vorhanden +- **Tatsächlich:** 5 Indexes fehlen: + - companies.ix_companies_tenant_deleted + - companies.ix_companies_tenant_name + - companies.ix_companies_industry + - company_contacts.ix_cc_company + - company_contacts.ix_cc_contact +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt + +### BUG-085: pytest test_phase_h_wiki — 27 Failures +- **Kategorie:** Tests +- **Modul:** Wiki +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 27 failed, 15 passed +- **Schweregrad:** High +- **Status:** ⏳ Nicht gefixt + +### BUG-086: pytest test_backend_coverage_gaps — 26 Failures +- **Kategorie:** Tests +- **Modul:** Backend Coverage +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 26 failed, 2 passed +- **Schweregrad:** High +- **Status:** ⏳ Nicht gefixt + +### BUG-087: pytest test_companies — 17 Failures +- **Kategorie:** Tests +- **Modul:** Companies +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 17 failed, 1 passed +- **Schweregrad:** High +- **Status:** ⏳ Nicht gefixt + +### BUG-088: pytest test_calendar — 22 Errors +- **Kategorie:** Tests +- **Modul:** Calendar +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 22 errors +- **Schweregrad:** High +- **Status:** ⏳ Nicht gefixt + +### BUG-089: pytest test_ai_proactive — 31 Errors +- **Kategorie:** Tests +- **Modul:** AI Proactive +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 31 errors, 6 passed +- **Schweregrad:** High +- **Status:** ⏳ Nicht gefixt + +### BUG-090: pytest test_api_tokens — 13 Errors +- **Kategorie:** Tests +- **Modul:** API Tokens +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 13 errors +- **Schweregrad:** High +- **Status:** ⏳ Nicht gefixt + +### BUG-091: pytest test_abac — 10 Failures +- **Kategorie:** Tests +- **Modul:** ABAC +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 10 failed, 8 passed +- **Schweregrad:** High +- **Status:** ⏳ Nicht gefixt + +### BUG-092: pytest test_entity_links — 9 Failures +- **Kategorie:** Tests +- **Modul:** Entity Links +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 9 failed +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt + +### BUG-093: pytest test_cross_tenant_security_v2 — 7 Failures +- **Kategorie:** Tests +- **Modul:** Cross-Tenant Security +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 7 failed, 3 passed +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt + +### BUG-094: pytest test_api_audit — 7 Failures +- **Kategorie:** Tests +- **Modul:** API Audit +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 7 failed, 2 passed +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt + +### BUG-095: pytest test_commands — 7 Failures +- **Kategorie:** Tests +- **Modul:** Commands +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 7 failed, 16 passed +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt + +### BUG-096: pytest test_mail — 6 Failures +- **Kategorie:** Tests +- **Modul:** Mail +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 6 failed +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt + +### BUG-097: pytest test_auth — 5 Failures +- **Kategorie:** Tests +- **Modul:** Auth +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 5 failed, 5 passed +- **Schweregrad:** High +- **Status:** ⏳ Nicht gefixt + +### BUG-098: pytest test_rls_coverage — 5 Failures +- **Kategorie:** Tests +- **Modul:** RLS Coverage +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 5 failed, 8 passed +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt + +### BUG-099: pytest test_phase_g_workflows — 4 Failures +- **Kategorie:** Tests +- **Modul:** Workflows +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 4 failed, 39 passed +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt + +### BUG-100: pytest test_spike_i_integration_flow — 4 Failures +- **Kategorie:** Tests +- **Modul:** Integration Flow +- **Erwartet:** Alle Tests passed +- **Tatsächlich:** 4 failed, 4 passed +- **Schweregrad:** Medium +- **Status:** ⏳ Nicht gefixt