MPT-22084 use shortDescription in helpdesk queue fixture#344
Conversation
The queue_data fixture sent the helpdesk queue creation payload with the key "description", but the MPT helpdesk queues API expects "shortDescription" (the camelCase field used consistently by other resources such as extensions and products). Rename the key so the fixture sends a valid payload. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🧰 Additional context used📓 Path-based instructions (2)**/*⚙️ CodeRabbit configuration file
Files:
**⚙️ CodeRabbit configuration file
Files:
🧠 Learnings (8)📚 Learning: 2025-12-12T15:02:20.732ZApplied to files:
📚 Learning: 2026-04-02T09:35:03.825ZApplied to files:
📚 Learning: 2026-01-08T08:34:05.465ZApplied to files:
📚 Learning: 2026-01-08T23:38:19.565ZApplied to files:
📚 Learning: 2026-02-02T13:05:41.144ZApplied to files:
📚 Learning: 2026-04-02T16:26:46.138ZApplied to files:
📚 Learning: 2026-04-06T09:03:34.466ZApplied to files:
📚 Learning: 2026-04-16T13:00:41.320ZApplied to files:
🔇 Additional comments (1)
📝 WalkthroughWalkthroughThe ChangesTest Fixture Payload Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
|



🤖 AI-generated PR — Please review carefully.
Summary
Fixes the helpdesk E2E
queue_datafixture, which built the queue creation payload with the keydescription. The MPT helpdesk queues API expectsshortDescription— the camelCase field used consistently by the other resources (e.g.extensionsandproducts). With the wrong key, the value was never applied to the created queue and the fixture sent a malformed payload.Changes
tests/e2e/helpdesk/conftest.py: rename thequeue_datapayload keydescription→shortDescription.Testing
make check(ruff format/check, flake8, mypy,uv lock --check) — passed.Jira: MPT-22084
Closes MPT-22084
queue_datafixture to use correct API field nameshortDescriptioninstead ofdescription