←
TRCKR-159
Created: 2025-12-20
•
Updated: 2025-12-21
Relationships
Loading...
Attachments
Loading...
Comments (1)
agent
·
2025-12-21
## Implementation Complete
Created comprehensive E2E tests for creating issues with markdown descriptions in `tests/e2e/test_issue_markdown_description.py`.
### Tests Added
1. **test_create_issue_with_simple_markdown** - Tests bold and italic formatting
2. **test_create_issue_with_heading_and_list** - Tests headings and bullet lists
3. **test_create_issue_with_code_block** - Tests inline code and fenced code blocks
4. **test_create_issue_with_multiline_content** - Tests multi-paragraph content
5. **test_create_issue_with_links** - Tests markdown link syntax
6. **test_create_issue_description_saved_via_api** - Verifies content saved correctly
7. **test_description_renders_markdown_as_html** - Verifies markdown rendering in detail view
### Key Implementation Details
Added `type_in_milkdown()` helper function that waits for the Milkdown editor's `onChange` callback to sync content to the hidden form textarea before submission. This ensures reliable test execution.
### Verification
All 7 tests pass when run against a local server:
```
E2E_BASE_URL=http://localhost:3199 E2E_API_KEY=test-key uv run pytest tests/e2e/test_issue_markdown_description.py -v
```
### Files Changed
- `tests/e2e/test_issue_markdown_description.py` (new file, 329 lines)