Skip to content

Commit

Permalink
Upgrade Puppeteer (#16875)
Browse files Browse the repository at this point in the history
* Update demo test to make it work with Vimeo mock

* Add e2e test

* Update selection on mouseup/keyup/touchend

* Try to fix e2e tests

* Attempt to upgrade Puppeteer

* Fix package-lock.json file

* Fix preview e2e

* Update snapshot

* Stabilise block hierarchy tests

* Remove new e2e test

* Simplify loop

* Remove puppeteer from devDependencies

* Remove cancelAnimationFrame

* Add e2e test for #16857

* Restore animation frame fix
  • Loading branch information
ellatrix authored and gziolo committed Aug 29, 2019
1 parent e3b8ce0 commit 8d0c356
Show file tree
Hide file tree
Showing 16 changed files with 257 additions and 145 deletions.
265 changes: 177 additions & 88 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions packages/e2e-test-utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,6 @@ _Parameters_
- _key_ `string`: Key to press.
- _count_ `number`: Number of times to press.

_Returns_

- `Promise`: Promise resolving when key presses complete.

<a name="pressKeyWithModifier" href="#pressKeyWithModifier">#</a> **pressKeyWithModifier**

Performs a key press with modifier (Shift, Control, Meta, Alt), where each modifier
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"peerDependencies": {
"jest": ">=24",
"puppeteer": ">=1.6"
"puppeteer": ">=1.19.0"
},
"publishConfig": {
"access": "public"
Expand Down
Loading

0 comments on commit 8d0c356

Please sign in to comment.