Skip to content

Fix failing tests with WordPress trunk #1532

@felixarntz

Description

@felixarntz

Bug Description

See e.g. https://github.com/WordPress/performance/actions/runs/10820446352/job/30020524054?pr=1492: The PHPUnit tests fail, but that's entirely independent of that PR.

It looks like these failures are because we're looking at the exact img tag markup for the "Modern Image Formats" plugin, which of course was changed as of committing sizes="auto" to Core.

Steps to reproduce

You should see those failures as soon as you open any PR, or run unit tests locally against WordPress trunk.

Metadata

Metadata

Assignees

Labels

[Plugin] Modern Image FormatsIssues for the Modern Image Formats plugin (formerly WebP Uploads)[Type] BugAn existing feature is broken

Type

No type

Projects

Status

Done 😃

Relationships

None yet

Development

No branches or pull requests

Issue actions