-
-
Notifications
You must be signed in to change notification settings - Fork 751
[Playwright] Save video even for tests that passed and resolution #4303
-
Hi,
I am using Playwright helper and I have enabled the video. However it seems the video are saved in the output directory only when the tests failed. Is there a way to save them even if the tests succeeded?
Additionally, how to change the resolution of the video? I see there is an empty space for the subtitles, but when now using the subtitles this should not appear?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments 2 replies
-
Answering my first question after looking at the code, need to add "keepVideoForPassedTests" to true:
Beta Was this translation helpful? Give feedback.
All reactions
-
For the video resolution, I have checked the Playwright option:
But it seems to never be called in the Playwright helper and use windowSize instead:
Not sure if it's by design or that's not hwo to define the video resolution.
Beta Was this translation helpful? Give feedback.
All reactions
-
shall be resolved with this #4311
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Excellent thanks a lot!
Beta Was this translation helpful? Give feedback.