Skip to content

Commit

Permalink
Merge pull request #1851 from cozy/fix/ci-timeout
Browse files Browse the repository at this point in the history
fix: Upgrade puppeteer
  • Loading branch information
Ldoppea committed Jul 13, 2021
2 parents bcdca2d + 48d1178 commit 85dd56c
Show file tree
Hide file tree
Showing 3 changed files with 191 additions and 97 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -117,7 +117,7 @@
"postcss-loader": "2.1.6",
"pretty": "2.0.0",
"prop-types": "15.7.2",
"puppeteer": "2.1.1",
"puppeteer": "10.1.0",
"react": "16.12.0",
"react-dom": "16.12.0",
"react-hot-loader": "^4.3.11",
Expand Down
3 changes: 2 additions & 1 deletion scripts/screenshots.js
Expand Up @@ -55,7 +55,8 @@ const screenshotComponent = async (page, options) => {
screenshotDir,
getScreenshotName({ component, viewport, suffix })
),
fullPage: true
fullPage: true,
captureBeyondViewport: false
})
}

Expand Down

0 comments on commit 85dd56c

Please sign in to comment.