Bug Description
Given 2 image editors: WP_Image_Editor_Imagick and WP_Image_Editor_GD and the default is WP_Image_Editor_Imagick if the default editor does not supports WebP but WP_Image_Editor_GD it does support WebP the tests on Site Health would return that the site supports WebP, however the current implementation does handle this case instead it uses the default image editor regardless of the support.
Support tickets: