Commit 7d8c3b4
authored
chore: disable Puppeteer default viewport to increase its size (#947)
According to [Puppeteer documentation for launch options](https://github.com/GoogleChrome/puppeteer/blob/v1.14.0/docs/api.md#puppeteerlaunchoptions), setting `defaultViewport` to `null` disables the default viewport size of 800x600. When the default viewport is disabled, the viewport size matches the browser size. This makes failture screenshots more meaningful when debugging flaky E2E tests because they will show more than the top left portion of the page that is being tested.1 parent 6c6a25e commit 7d8c3b4
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
0 commit comments