Skip to content

MPT-18394 Add Helpdesk Cases API services with unit and e2e test coverage#241

Merged
jentyk merged 1 commit intomainfrom
feat/MPT-18394
Mar 20, 2026
Merged

MPT-18394 Add Helpdesk Cases API services with unit and e2e test coverage#241
jentyk merged 1 commit intomainfrom
feat/MPT-18394

Conversation

@jentyk
Copy link
Member

@jentyk jentyk commented Mar 20, 2026

Summary

  • add CasesService and AsyncCasesService under Helpdesk with spec endpoints for list/get/create/update and state transitions: query, process, complete
  • wire new .cases accessors into sync and async Helpdesk modules
  • add unit tests for method availability, transition request/response behavior (with and without payload), and absence of delete
  • add e2e test suite scaffolding for sync/async cases flows (list/get/create/update/query/process/complete/not found)

Testing

  • make check-all
  • e2e tests: Not run (not requested)

Closes MPT-18394

Release Notes:

  • Added CasesService and AsyncCasesService for Helpdesk resource management with support for list, get, create, and update operations
  • Implemented three state transition methods on both services: query, process, and complete for managing case workflows
  • Integrated .cases property accessors into Helpdesk and AsyncHelpdesk modules for easy service access
  • Added comprehensive unit tests covering method availability, transition request/response handling with and without payloads, and verification of absent delete method
  • Added end-to-end test suite scaffolding for both synchronous and asynchronous flows covering create, list, get, update, and state transitions (currently marked as skipped pending MPT-19124 completion)

@coderabbitai
Copy link

coderabbitai bot commented Mar 20, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 5b4c7884-9d4a-4d88-9c05-c226fca962d6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • ✅ Review completed - (🔄 Check again to review again)

Comment @coderabbitai help to get the list of available commands and usage tips.

@jentyk jentyk changed the title Add Helpdesk Cases API services with unit and e2e test coverage MPT-18394 Add Helpdesk Cases API services with unit and e2e test coverage Mar 20, 2026
@sonarqubecloud
Copy link

@jentyk jentyk marked this pull request as ready for review March 20, 2026 16:09
@jentyk jentyk requested a review from a team as a code owner March 20, 2026 16:09
@jentyk jentyk requested review from alephsur and d3rky March 20, 2026 16:09
@jentyk jentyk merged commit f785691 into main Mar 20, 2026
4 checks passed
@jentyk jentyk deleted the feat/MPT-18394 branch March 20, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants