Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle mp4 like any other media in Embed toMap() #2638

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

CPogX
Copy link

@CPogX CPogX commented Dec 19, 2024

Description

com.intuit.karate.core.Embed has a toMap() function with conditional logic for video/mp4 to to encode the HTML tag and text/html instead of encoding the video and using video/mp4. This works for the HTML reports, but not for the cucumber reports.

Removing the conditional logic for videos, and handling them the same way as every other content type to support cucumber json as well.

@ptrthomas ptrthomas merged commit 887c33a into karatelabs:develop Dec 19, 2024
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.

2 participants