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

[core] Ignore a few flaky visual tests #19226

Merged
merged 1 commit into from
Jan 14, 2020

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jan 14, 2020

…Waiting to see if we have more…

I have introduced them in #19175. Oops.

Ignoring these tests is a cheap and easy way out. We could imagine better approaches. For instance, wait for them to load (I have seen Happo do it). However, we have a few random images (using Unsplash API). In which cases, we could add a global class name to have them hidden.
In any case, we have them documented, so we can come back to it later (invest more time) if it proves to be an issue.

Actually, I think that if we had to invest more time on the topic, it would be great to throw if an entry in the blacklist isn't used. It would help with future demo refactorizations.

@mui-pr-bot
Copy link

No bundle size changes comparing e4f33b7...854bf88

Generated by 🚫 dangerJS against 854bf88

@eps1lon
Copy link
Member

eps1lon commented Jan 14, 2020

I would just mock images entirely. Our docs should include dimensions for <img> anyway. For our regression tests the actual image is irrelevant as far as I can tell. Only the dimensions should be stable.

@oliviertassinari
Copy link
Member Author

I'm not sure how it would be implemented. Is it OK if we solve the problem later on? Is this something you want to address? We have a limited number of cases.

@eps1lon
Copy link
Member

eps1lon commented Jan 14, 2020

I'm not sure how it would be implemented. Is it OK if we solve the problem later on? Is this something you want to address? We have a limited number of cases.

Can be solved later.

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.

3 participants