-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Testing: Upgrade puppeteer to v2.0 to fix the broken interactive mode #18205
Conversation
efed32d
to
e0ad9db
Compare
We should use the new emulateMedia features https://github.com/GoogleChrome/puppeteer/releases to remove our "disable animations plugiin" and also the environment variable we use to disable animations. Instead we should just put the browser in "prefers-reduced-motion" mode. |
Can you file a new issue? I don't want to block this PR as you can't debug code at the moment ... |
Definitely not a blocker, just something I thought of when reading the changelog. I might give it a try after this PR get merged, it should be pretty easy. |
You probably also know best how to tackle it. Ping me when you have PR ready, I can review pretty quick 👍 |
It looks like I upgraded
|
Done with 8de7f70, added to the list of rules to enable in #15452. |
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.
👍🏼
Thanks @gziolo! Regarding Regarding |
Sure thing, the good example is in https://travis-ci.com/WordPress/gutenberg/jobs/251398503#L1066"
|
Ah! Thanks. That seems to relate to the table block: the editable within the table cells needs to be labelled. RIght now, there's nothing there to label the editables, just: Which, in ARIA terms, is equivalent to an input field with no label. |
Description
Reported by @diegohaz:
This PR resolves the issues by upgrading the
puppeteer
to the new major version. As usual, new major version produces some warnings duringnpm install
but we can't do anything about it since external packages need to update theirpackage.json
entries.How has this been tested?
npm run test-e2e -- --puppeteer-interactive
I confirmed it works with the latest version of
puppeteer
.