-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Upgrade Puppeteer to the latest version (1.19.0) #16875
Conversation
d834a62
to
ed12bee
Compare
@gziolo I think there is a big change that this PR will fix intermittent failures. |
Let's see what Travis thinks. |
Whyyyyyyy does Travis fail now? It passes locally! |
It looks like one of those errors we encounter in Puppeteer upgrade branch. For what it's worth, this is a good sign :) Kudos for working on those tests 🥇 |
2805384
to
9bcb247
Compare
@gziolo Any idea why Travis runs into |
9bcb247
to
8eb6500
Compare
I pushed 19eddc1 which hopefully will resolve issues with the npm dependencies setup. |
@ellatrix - I see some failure but I guess most of them can be fixed with cherry-picking fixes from my branch with Puppeteer upgrade. It looks like you managed to fix the issues with intermittent test failures for e2e tests related to writing flow 🎉 I hope I don't celebrate prematurely :) |
@gziolo Thanks! I'm going to work on this in just a bit. :) |
@gziolo How did you fix the package lock file? |
7a23869
to
bb406e6
Compare
I tested paste from outside of the browser. With this branch, I can see the issue again where RichText content gets duplicated. |
@gziolo Which steps do you use to reproduce the issue? Are you sure this branch is checked out? For me it seems to work correctly. |
ce4e9f5
to
c7dc0ae
Compare
Added a new, simplified e2e test that fails before the #16857 fix was merged, and passes locally. Let's see what Travis thinks. |
The latest e2e test should prove that #15724 is still fixed in this branch. The test would fail when run before the fix was merged into master. |
Other than that this branch is ready to go ✅ |
6f69301
to
260a79a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can confirm that copy&paste works properly with the last commit applied.
This PR is ready to go. Huge props for making this happen! 🥇
Thanks for reviewing! |
* 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
* 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
Description
Supersedes and closes #14986.
This PR tries to upgrade Puppeteer and fix failing tests.
Updates
puppeteer
,expect-puppeteer
, andjest-puppeteer
.Updates
RichText
to set internal selection at the earliest occasion.Updates some e2e tests, some updates are takes from #14986.
Adds an e2e test for #16857.
How has this been tested?
Screenshots
Types of changes
Checklist: