Skip to content

MPT-19486 unskip attachment e2e tests#255

Merged
d3rky merged 1 commit intomainfrom
feat/MPT-19486
Mar 30, 2026
Merged

MPT-19486 unskip attachment e2e tests#255
d3rky merged 1 commit intomainfrom
feat/MPT-19486

Conversation

@jentyk
Copy link
Copy Markdown
Member

@jentyk jentyk commented Mar 30, 2026

Closes MPT-19486

  • Unskip three async attachment e2e tests in test_async_attachment.py: test_get_chat_attachment_not_found, test_update_chat_attachment_not_found, and test_delete_chat_attachment_not_found
  • Unskip three sync attachment e2e tests in test_sync_attachment.py: test_get_chat_attachment_not_found, test_update_chat_attachment_not_found, and test_delete_chat_attachment_not_found
  • These tests now execute and validate that the corresponding ChatAttachmentsService methods raise MPTAPIError with HTTPStatus.NOT_FOUND status

@jentyk jentyk requested a review from a team as a code owner March 30, 2026 08:19
@jentyk jentyk requested review from albertsola and alephsur March 30, 2026 08:19
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 30, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

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

Review profile: CHILL

Plan: Pro

Run ID: 6b9d0ff1-86d7-4ed5-a9c0-3a12cc9aef4b

📥 Commits

Reviewing files that changed from the base of the PR and between 9ef1497 and bf8bf21.

📒 Files selected for processing (2)
  • tests/e2e/helpdesk/chats/attachment/test_async_attachment.py
  • tests/e2e/helpdesk/chats/attachment/test_sync_attachment.py
💤 Files with no reviewable changes (2)
  • tests/e2e/helpdesk/chats/attachment/test_sync_attachment.py
  • tests/e2e/helpdesk/chats/attachment/test_async_attachment.py

📝 Walkthrough

Walkthrough

The pull request removes @pytest.mark.skip decorators from six e2e test functions across two test files, enabling these previously skipped tests to execute. The tests continue to assert that specific ChatAttachmentsService methods raise MPTAPIError with HTTPStatus.NOT_FOUND status.

Changes

Cohort / File(s) Summary
Chat Attachments E2E Tests
tests/e2e/helpdesk/chats/attachment/test_async_attachment.py, tests/e2e/helpdesk/chats/attachment/test_sync_attachment.py
Removed @pytest.mark.skip(reason="Unskip after MPT-19124 completed") decorators from three test functions in each file (test_get_chat_attachment_not_found, test_update_chat_attachment_not_found, test_delete_chat_attachment_not_found). Test assertions remain unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Jira Issue Key In Title ✅ Passed The PR title contains exactly one valid Jira issue key (MPT-19486) in the correct format.
Test Coverage Required ✅ Passed The pull request modifies only test files in the tests/ folder, removing skip decorators. No code files outside the tests/ folder are modified.
Single Commit Required ✅ Passed The pull request contains exactly one commit that removes pytest skip decorators from attachment e2e tests.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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

@sonarqubecloud
Copy link
Copy Markdown

@d3rky d3rky merged commit 5d58703 into main Mar 30, 2026
4 checks passed
@d3rky d3rky deleted the feat/MPT-19486 branch March 30, 2026 09:00
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