Skip to content

Commit 51902da

Browse files
committed
Bump puppeteer and handle timing issue
1 parent 65b1239 commit 51902da

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

package-lock.json

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"grunt-umd": "^3.0.0",
4646
"imagediff": "git://github.com/cburgmer/js-imagediff#v1.1merged",
4747
"jasmine-core": "^3.1.0",
48-
"puppeteer": "^1.11.0"
48+
"puppeteer": "^1.20.0"
4949
},
5050
"scripts": {
5151
"test": "grunt && ./test/integrationTest.js"

test/integrationTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const runTest = async (browser) => {
6262

6363
(async () => {
6464
try {
65-
const browser = await puppeteer.launch({args: ['--allow-file-access-from-files']});
65+
const browser = await puppeteer.launch({args: ['--allow-file-access-from-files'], slowMo: 100, headless: true});
6666
const success = await runTest(browser);
6767
browser.close();
6868

0 commit comments

Comments
 (0)