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: Upgrade puppeteer #1851

Merged
merged 2 commits into from Jul 13, 2021
Merged

fix: Upgrade puppeteer #1851

merged 2 commits into from Jul 13, 2021

Conversation

Ldoppea
Copy link
Member

@Ldoppea Ldoppea commented Jul 12, 2021

Previous version used to randomly hang while creating screenshots

This issues shows that some old versions are subjective to random
freezes puppeteer/puppeteer#4011

So upgrading to latest version should fix our issue

This fixes #1842

If your changes have graphic impacts, it is useful to deploy a version
of the styleguidist to your repository.

Previous version used to randomly hang while creating screenshots

This issues shows that some old versions are subjective to random
freezes puppeteer/puppeteer#4011

So upgrading to latest version should fix our issue

This fixes #1842
@Ldoppea Ldoppea marked this pull request as draft July 12, 2021 14:03
Puppeteer V7 introduced a breaking change on how ViewPort is handled.

Since this change, page.screenshot() now captures using Clip dimensions
instead of ViewPort size

To come back to old behavior `captureBeyondViewport` should be set to
`false`

See: https://github.com/puppeteer/puppeteer/releases/tag/v7.0.0
@Ldoppea Ldoppea marked this pull request as ready for review July 12, 2021 18:39
@Ldoppea Ldoppea merged commit 85dd56c into master Jul 13, 2021
@Ldoppea Ldoppea deleted the fix/ci-timeout branch July 13, 2021 10:35
@Crash--
Copy link
Contributor

Crash-- commented Jul 13, 2021

Awesome! Thanks you so much for the effort !

cozy-bot pushed a commit that referenced this pull request Jul 13, 2021
@cozy-bot
Copy link

🎉 This PR is included in version 51.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Travis timeout
4 participants