Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] Add font loader for pigment visual regression tests #43789

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Sep 17, 2024

Didn't realize the regression tests have been completely duplicated for pigment. This copies the fontloader logic from the original regression tests to the pigment ones to make sure fontawesome is loaded before rendering the fixture.

Also removing this index page and centralize on the rendered fixtures instead.

Turns out this now also loads the correct font.

@Janpot Janpot added the test label Sep 17, 2024
@mui-bot
Copy link

mui-bot commented Sep 17, 2024

Netlify deploy preview

https://deploy-preview-43789--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against f62af59

@Janpot Janpot marked this pull request as ready for review September 17, 2024 05:34
Copy link
Member

@aarongarciah aarongarciah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@Janpot Janpot merged commit a676453 into mui:master Sep 17, 2024
19 checks passed
@Janpot Janpot deleted the pigment-font-loader branch September 17, 2024 07:09
@DiegoAndai
Copy link
Member

Nice! 🚀

@mnajdova
Copy link
Member

Thanks for the fix! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants