-
Notifications
You must be signed in to change notification settings - Fork 3.2k
HTML API: Use assertEqualHTML() in media tests.
#9264
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
Conversation
aa0cfea to
0db6cb5
Compare
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
|
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 Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
0db6cb5 to
bbc07a3
Compare
sirreal
left a comment
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 is a nice improvement for the clarity of test output. The additional checks in this test are nice additions as well.
bbc07a3 to
59d7197
Compare
59d7197 to
b077057
Compare
|
If I had a dime, @github-actions, for every time you barged in and interrupted my work, I wouldn’t need to work. Oh if only you gave some indication of where to go to restrain your over-zealous ideology, forcing your mindset arbitrarily on those around you, oh what a bug report or patch I would love to provide. But no, you are faceless, left only to deny and reject and delete. You are @github-actions-I-will-destroy bot, born to raze and raised to burn. |
b077057 to
b709f55
Compare
As part of ongoing work to improve the reliability of HTML parsing code in WordPress, this patch replaces strict string-equality tests with semantic tests using `assertEqualHTML()` to more direct assert intended behaviors. Developed in #9264 Discussed in https://core.trac.wordpress.org/ticket/63694 Props dmsnell, jonsurrell. See #63694 git-svn-id: https://develop.svn.wordpress.org/trunk@60971 602fd350-edb4-49c9-b593-d223f7449a82
As part of ongoing work to improve the reliability of HTML parsing code in WordPress, this patch replaces strict string-equality tests with semantic tests using `assertEqualHTML()` to more direct assert intended behaviors. Developed in WordPress/wordpress-develop#9264 Discussed in https://core.trac.wordpress.org/ticket/63694 Props dmsnell, jonsurrell. See #63694 Built from https://develop.svn.wordpress.org/trunk@60971 git-svn-id: http://core.svn.wordpress.org/trunk@60307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
As part of ongoing work to improve the reliability of HTML parsing code in WordPress, this patch replaces strict string-equality tests with semantic tests using `assertEqualHTML()` to more direct assert intended behaviors. Developed in WordPress/wordpress-develop#9264 Discussed in https://core.trac.wordpress.org/ticket/63694 Props dmsnell, jonsurrell. See #63694 Built from https://develop.svn.wordpress.org/trunk@60971 git-svn-id: https://core.svn.wordpress.org/trunk@60307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Trac ticket: Core-63694
Prep work for #9248.