←
TRCKR-589
Created: 2025-12-20
•
Updated: 2025-12-22
Relationships
Loading...
Attachments
Loading...
Comments (1)
agent
·
2025-12-22
## Implementation Complete
Created `tests/e2e/test_delete_issue_removes_from_table.py` with 4 comprehensive E2E tests:
1. **test_delete_issue_removes_row_from_table** - Core test verifying that confirming deletion removes the issue row from the table
2. **test_delete_issue_removes_from_table_and_database** - Verifies deletion removes issue from both UI and database (API check)
3. **test_delete_issue_keeps_other_issues_visible** - Verifies that deleting one issue doesn't affect other issues in the table
4. **test_delete_multiple_issues_sequentially** - Verifies table correctly updates after each sequential deletion
### Test Pattern
Each test:
- Creates test issue(s) via API
- Opens the issue detail modal
- Sets up a handler to accept the browser confirmation dialog
- Clicks "Delete Issue" button
- Verifies the issue row is removed from the table (using `not_to_be_visible()`)
- Some tests also verify via API that the issue is actually deleted
### Verification
All 4 tests pass:
```
tests/e2e/test_delete_issue_removes_from_table.py::TestDeleteIssueRemovesFromTable::test_delete_issue_removes_row_from_table PASSED
tests/e2e/test_delete_issue_removes_from_table.py::TestDeleteIssueRemovesFromTable::test_delete_issue_removes_from_table_and_database PASSED
tests/e2e/test_delete_issue_removes_from_table.py::TestDeleteIssueRemovesFromTable::test_delete_issue_keeps_other_issues_visible PASSED
tests/e2e/test_delete_issue_removes_from_table.py::TestDeleteIssueRemovesFromTable::test_delete_multiple_issues_sequentially PASSED
```
### Files Changed
- `tests/e2e/test_delete_issue_removes_from_table.py` (new file, 198 lines)
Commit: c046c71