-
Notifications
You must be signed in to change notification settings - Fork 179
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
Update puppeteer #13677
Update puppeteer #13677
Conversation
Plugin builds for e3466b9 are ready 🛎️!
|
Size Change: +8.24 kB (+0.3%) Total Size: 2.77 MB
ℹ️ View Unchanged
|
packages/e2e-test-utils/package.json
Outdated
@@ -27,7 +27,7 @@ | |||
"main": "./src/index.js", | |||
"dependencies": { | |||
"@wordpress/url": "^3.48.0", | |||
"expect-puppeteer": "^9.0.1" | |||
"expect-puppeteer": "^9.0.2" |
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.
The latest version is 10.0.0
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.
This was added automatically after running npm update expect-puppeteer
. Should I update the version manually?
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.
Yes in that case manually would be fastest. npm update
also looks at dependencies and their requirements etc.
Since Puppeteer updates involve a few packages, it's usually easiest to manually update the version numbers in package.json
and then run npm i
packages/e2e-tests/package.json
Outdated
@@ -31,7 +31,7 @@ | |||
"@web-stories-wp/jest-resolver": "*", | |||
"@wordpress/jest-console": "^7.18.0", | |||
"babel-jest": "^29.5.0", | |||
"expect-puppeteer": "^9.0.1", | |||
"expect-puppeteer": "^9.0.2", |
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.
The latest version is 10.0.0
jest-environment-puppeteer
is at 10.0.1
package.json
Outdated
@@ -156,7 +156,7 @@ | |||
"postcss-styled-syntax": "^0.6.4", | |||
"postcss-syntax": "^0.36.2", | |||
"prettier": "^3.2.4", | |||
"puppeteer": "^21.9.0", | |||
"puppeteer": "^21.11.0", |
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.
package.json
Outdated
@@ -156,8 +156,8 @@ | |||
"postcss-jsx": "^0.36.4", | |||
"postcss-styled-syntax": "^0.6.4", | |||
"postcss-syntax": "^0.36.2", | |||
"puppeteer": "^22.9.0", |
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.
The order is incorrect now
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.
Yes, I noticed that, I'll push a fix for it. I was looking at the E2E tests, and saw a lot of TypeError: page.waitForTimeout is not a function
.
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.
Yeah I had fixed those in #13612
but the failing taxonomies tests are annoying..maybe we just have to skip those for now
As I feared, the same error happens as in #13612... 😢 Also, might need to cherry pick some of the fixes I did in that PR because Puppeteer did some API changes. |
This was removed in Puppeteer v22 (cherry picked from commit ef439a2)
Sadly, this looks like quite the rabbit hole 😞 Closing this for now until we figure out a good way to address this. |
Summary
User-facing changes
Testing Instructions
This PR can be tested by following these steps:
Reviews
Does this PR have a security-related impact?
Does this PR change what data or activity we track or use?
Does this PR have a legal-related impact?
Checklist
Type: XYZ
label to the PRFixes #