-
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
Patterns: Change deprecated social icons for standard in e2e #65312
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. |
Size Change: 0 B Total Size: 1.77 MB ℹ️ View Unchanged
|
Thanks for the quick fix! Let's see if all the E2E tests pass 👀 |
It looks like "cancels dragging patterns from the global inserter by pressing Escape" test also needs to be updated. |
Co-authored-by: Kai Hao <kevin830726@gmail.com>
960bdae
to
b3d86b2
Compare
Updated a couple more, although I'm not sure of what those tests do 😓
|
You can update the snapshots by appending the
|
I was just fixing that 😅 The tests passed locally. |
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.
LGTM 👍 Let's wait for the CI to pass though.
Sorry, it seems like I chose the wrong pattern 😅.
There are two standards in
|
name: 'core/social-links-shared-background-color', | ||
title: 'Social links with a shared background color', | ||
name: 'core/standard', | ||
title: 'Standard', |
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.
A block pattern called "Standard" is already loaded here.
Perhaps we should just delete this object itself?
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.
Alternatively, it looks like this test isn't calling the core patterns, but is just preparing the patterns for testing. If we revert the changes in this file itself, does the test pass?
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.
Let's try.
What?
Social links shared background color has been deprecated in Core: WordPress/wordpress-develop@a78540b
Why?
To fix CI.
How?
Using the standard pattern for testing.
Testing Instructions
e2e should pass.