Wrap contents of BODY in DIV tag in tests related to Optimization Detective#1793
Wrap contents of BODY in DIV tag in tests related to Optimization Detective#1793westonruter merged 7 commits intotrunkfrom
BODY in DIV tag in tests related to Optimization Detective#1793Conversation
|
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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## trunk #1793 +/- ##
=======================================
Coverage 57.43% 57.43%
=======================================
Files 84 84
Lines 6508 6508
=======================================
Hits 3738 3738
Misses 2770 2770
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Summary
This PR is part of addressing #1787. It is exclusively focused on wrapping the contents of
BODYin aDIVto better align with how pages are constructed by WordPress in the real world. The subsequent PR will then replace/*[1][self::HTML]/*[2][self::BODY]/*[1][self::DIV]with/HTML/BODY/DIV.