Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Playwright] Save video even for tests that passed and resolution #4303

Closed Unanswered
incoming-th asked this question in Q&A
Discussion options

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?

image

Thanks

You must be logged in to vote

Replies: 2 comments 2 replies

Comment options

Answering my first question after looking at the code, need to add "keepVideoForPassedTests" to true:

image

You must be logged in to vote
0 replies
Comment options

For the video resolution, I have checked the Playwright option:

image

But it seems to never be called in the Playwright helper and use windowSize instead:

image

image

image

Not sure if it's by design or that's not hwo to define the video resolution.

You must be logged in to vote
2 replies
Comment options

shall be resolved with this #4311

Comment options

Excellent thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /