go
go copied to clipboard
Attempt to prevent duplicate h1 tags when page content contains one
An attempt at resolving https://github.com/godaddy-wordpress/go/issues/759
When the page title/custom logo markup is generated we can check for any h1 elements in the post content and not wrap the site title/custom logo in an h1.
Test summary
Run details
| Project | Go |
| Status | Failed |
| Commit | d152f4e327 |
| Started | Mar 31, 2022 3:39 PM |
| Ended | Mar 31, 2022 3:47 PM |
| Duration | 08:18 💡 |
| OS | Linux Debian - 11.1 |
| Browser | Chrome 95 |
View run in Cypress Dashboard ➡️
Failures
|
|
.dev/tests/cypress/integration/customizer/customizer.spec.js |
1 |
|
|---|---|---|---|
| 1 | Test the customizer works as intended. > Test Site title, description and a custom logo |
|
|
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard