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

Update attachments.js : Add timeout before resolve files #203

Conversation

ashvinjaiswal
Copy link
Contributor

This changes resolves #202 by adding timeout from option for video file readiness.

Cypress video processing may take extra time after the spec is complete, so add a timeout to wait for the video file readiness.

Cypress video processing may take extra time after the spec is complete, so add a timeout to wait for the video file readiness.
The moov atom in an MP4 file is a crucial part of the file’s structure. It contains metadata about the video, such as the duration, display characteristics, and timing information.

Function check for the moov atom in file content and ensure is video file rediness
Copy link
Member

@AmsterGet AmsterGet left a comment

Choose a reason for hiding this comment

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

Hello @ashvinjaiswal !
Thank you for the suggested fix, your input is very much appreciated :)
Before release, I will merge your check with the waitForFile function to use a single timeout for them, if you don't mind.
Please fix the linter errors to unlock the merge.

@ashvinjaiswal
Copy link
Contributor Author

ashvinjaiswal commented Aug 28, 2024

Hello @AmsterGet, Thanks for review. Let me fix the lint issue.

@ashvinjaiswal
Copy link
Contributor Author

Hi @AmsterGet, I have fixed lint issue. Thanks

@AmsterGet AmsterGet merged commit ff353e3 into reportportal:develop Aug 28, 2024
1 check passed
@AmsterGet
Copy link
Member

Thank you @ashvinjaiswal !
Merged, will be released soon.

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.

Video attachement won't play after downloading
2 participants