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

fix(test-runner): allow viewport null values #7225

Merged
merged 1 commit into from
Jun 21, 2021

Conversation

mxschmitt
Copy link
Member

Fixes #7223

Copy link
Contributor

@JoelEinbinder JoelEinbinder left a comment

Choose a reason for hiding this comment

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

This works, only typescript complains?

@mxschmitt
Copy link
Member Author

This works, only typescript complains?

Yes we have a strict undefined check in place:

if (viewport !== undefined)
options.viewport = viewport;

@mxschmitt mxschmitt merged commit 4d0d392 into microsoft:master Jun 21, 2021
aslushnikov pushed a commit to aslushnikov/playwright that referenced this pull request Jun 25, 2021
aslushnikov added a commit that referenced this pull request Jun 25, 2021
PR #7225 SHA 4d0d392

Co-authored-by: Max Schmitt <max@schmitt.mx>
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.

[BUG] test-runner viewport can't be null
2 participants