I noticed locally when running UI tests that materialize.css has some styles that set the font-family for text controls. This caused them to use the "Ubuntu" font locally, while everything styled by Matomo's CSS used "Liberation Sans" (from querying for sans-serif). Overriding that makes some UI tests pass locally for me now.