-
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 Playwright to v1.42 #59339
Upgrade Playwright to v1.42 #59339
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
const result = spawn( 'npx', [ 'playwright', 'install' ], { | ||
stdio: 'inherit', | ||
} ); |
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.
Size Change: 0 B Total Size: 1.71 MB ℹ️ View Unchanged
|
Flaky tests detected in 7e48d59. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/8030483255
|
await page.keyboard.down( 'Shift' ); | ||
await page.keyboard.press( 'ArrowUp' ); | ||
await page.keyboard.up( 'Shift' ); | ||
await pageUtils.pressKeys( 'primary+a', { times: 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.
744b3f4
to
65fa0fe
Compare
I see a problem with artifacts - https://github.com/WordPress/gutenberg/actions/runs/8044664244?pr=59339. We might need to update the configuration. Update: It might be unrelated. I see same error on other PRs - https://github.com/WordPress/gutenberg/actions/runs/8040401372?pr=59350 Screenshot |
They just released v1.42.0, might be good to update to that as well 😆? |
65fa0fe
to
f162e7f
Compare
I updated Playwright to the latest release. Update: The e2e test failures seem to come from the update. I am unsure what has changed; I will look into it later. |
It looks like there's a regression with Playwright v1.42 and chained locators (which the project uses heavily). Reported it upstream - microsoft/playwright#29760. |
e0cdd87
to
9c47039
Compare
9c47039
to
ecf9ecf
Compare
Okay, I rebased on more time and will merge if the checks are green. |
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: kevin940726 <kevin940726@git.wordpress.org>
What?
Upgrade Playwright to v1.41.2
What's new?
https://github.com/microsoft/playwright/releases/tag/v1.41.0
https://github.com/microsoft/playwright/releases/tag/v1.42.0
Testing Instructions