Skip to content

Conversation

@westonruter
Copy link
Member

@westonruter westonruter commented Apr 30, 2024

Fixes #1124

The test changes are pretty much all just increasing the XPath indices to start from 1 instead of 0.

Also, aa7404d fixes some typing issues with \OD_Optimization_Tests::get_validated_url_metric(). Moved to #1195.

@westonruter westonruter added [Type] Bug An existing feature is broken [Plugin] Optimization Detective Issues for the Optimization Detective plugin labels Apr 30, 2024
@westonruter westonruter requested a review from felixarntz as a code owner April 30, 2024 17:47
@github-actions
Copy link

github-actions bot commented Apr 30, 2024

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: westonruter <[email protected]>
Co-authored-by: swissspidy <[email protected]>
Co-authored-by: thelovekesh <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

… fix/xpath-starting-number

* 'trunk' of https://github.com/WordPress/performance:
  Fix minor issues
  Enqueue a11y script
  Add a11y message
  Apply suggestions from code review
  Add empty line
  Add Progress indicator
  Make variable name more explicit
  Facilitate embedding Optimization Detective in other plugins/themes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Plugin] Optimization Detective Issues for the Optimization Detective plugin [Type] Bug An existing feature is broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

XPaths in Optimization Detective are invalid due to being zero-based instead of one-based

4 participants