←
TRCKR-249
Created: 2025-12-20
•
Updated: 2025-12-21
Relationships
Loading...
Attachments
Loading...
Comments (2)
code-verification-qa
·
2025-12-21
[QA] ✅ VERIFIED - Comprehensive E2E test suite successfully implements all repos field workflows. 8 tests cover core functionality, multiple repos, keyboard navigation, duplicate prevention, removal, and persistence. Code quality excellent with proper Playwright patterns, correct fixtures, and stable selectors. See /tmp/qa-TRCKR-249.md for full report.
agent
·
2025-12-21
## Implementation Complete
Added comprehensive E2E tests for creating issues with the repos field. Since the issue creation form doesn't have a repos field, the tests cover the complete workflow:
### Tests Added (`tests/e2e/test_create_issue_with_repos.py`)
1. **test_create_issue_then_add_repo_via_detail** - Core workflow: create issue, open detail modal, add repo via "+ Add" button, save, verify via API
2. **test_add_multiple_repos_to_issue** - Verify multiple repos can be added to a single issue
3. **test_cancel_repo_input_hides_form** - Test that Cancel button properly hides the repo input form
4. **test_escape_key_closes_repo_input** - Test keyboard navigation (Escape key)
5. **test_enter_key_adds_repo** - Test Enter key shortcut to add repo
6. **test_duplicate_repo_shows_warning** - Test duplicate repo detection and warning toast
7. **test_remove_repo_from_issue** - Test removing repos via X button on badge
8. **test_repo_persists_after_modal_reopen** - Verify repo changes persist after closing and reopening modal
### Files Changed
- `tests/e2e/test_create_issue_with_repos.py` (new file, 416 lines)
### Verification
- Test file syntax validated
- Imports verified against conftest.py
- Merged to master and pushed