Skip to content

Conversation

@HardNorth
Copy link
Member

No description provided.

@HardNorth HardNorth requested a review from Copilot October 2, 2025 13:43
@coderabbitai
Copy link

coderabbitai bot commented Oct 2, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

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.

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

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch develop

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds attachment logging functionality to the Karate ReportPortal integration, enabling the embedding of binary attachments (like images) in test reports. The implementation adds support for Karate's karate.embed() function to send attachments to ReportPortal.

  • Adds embedAttachment methods to handle Karate embed objects
  • Integrates attachment handling into both Publisher and Hook execution flows
  • Includes comprehensive test coverage for the new functionality

Reviewed Changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/test/resources/feature/embed.feature Test feature demonstrating image attachment functionality
src/test/java/com/epam/reportportal/karate/utils/TestUtils.java Adds utility method to extract binary parts from multipart requests
src/test/java/com/epam/reportportal/karate/logging/EmbedLoggingTest.java Comprehensive test suite for attachment logging functionality
src/main/java/com/epam/reportportal/karate/ReportPortalUtils.java Core utility method for embedding attachments to ReportPortal
src/main/java/com/epam/reportportal/karate/ReportPortalPublisher.java Integrates attachment handling into the Publisher workflow
src/main/java/com/epam/reportportal/karate/ReportPortalHook.java Integrates attachment handling into the Hook workflow with reflection
CHANGELOG.md Documents the new attachment logging feature

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@HardNorth HardNorth merged commit 281de67 into main Oct 2, 2025
3 checks passed
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.

1 participant