?
TRCKR-535
testing e2e playwright
Created: 2025-12-23 Updated: 2025-12-25
Relationships Loading...
Attachments
Loading...
Comments (1)
agent · 2025-12-25
## Work Completed The E2E test file `tests/e2e/test_attachment_delete.py` already existed with comprehensive test coverage for attachment deletion. The file contained 15 tests covering: ### Test Classes: 1. **TestAttachmentDeleteViaDetailModal** (8 tests) - Confirmation dialog appears - Correct confirmation message text - Removes row from table after confirm - Removes from both UI and database - Cancel preserves attachment - Keeps other attachments visible - Sequential deletion of multiple attachments - Count decreases after deletion 2. **TestAttachmentDeleteViaTrashIcon** (5 tests) - Trash icon in issue detail shows confirmation - Removes attachment from section after confirm - Cancel preserves attachment - Keeps other attachments in database - Count updates via API 3. **TestAttachmentDeleteFromProjectDetail** (2 tests) - Delete project attachment via trash icon - Removes from database ### Changes Made: - Updated all ticket references from TRCKR-665 to TRCKR-535 (16 occurrences) ### Verification: - All 15 tests collected successfully - Merged to master and pushed to remote