-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[Question]Generating video file took few seconds and it's prolong significantly the test duration #5350
Comments
Could you provide more details about your environment? Playwright version, browser, Operating system. (The Chromium implementation afaik is processing it fully at the end so its depended on how long your page instance was opened how long the close and by that the video processing takes.) |
Thanks @mxschmitt for the response. I'm creating page and context objects per test and closing them in the afterEach (jest). |
Duplicate of #5051. |
@dgozman - Do you mean it's the same in the aspect that it's a bug? |
@hananmalka The actual reason is that saving video is sometimes slow, as you say in this issue. We are working on fixing this. It just happened that #5051 has an additional problem of reusing context. |
Hi,
I have a suite of tests that takes ~3 minutes without using the awesome video feature and ~4+ minutes (133%) with the video feature.
I looked at the logs and saw that each context closing takes few more seconds than without video.
Is there a way to prevent this duration increase?
The text was updated successfully, but these errors were encountered: