Skip to content

[core] Set default regression port #1786

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

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Apr 26, 2025

I was trying to understand why the visual regression tests work correctly in Base UI but are broken in MUI X. Turns out, we didn't correctly copy Base UI in MUI X mui/mui-x#17564. But also, turns out, that Base UI rely on the default port of Vite to not change (https://www.reddit.com/r/programming/comments/xh1vyr/fun_fact_vites_default_port_is_5173_which_spells/) for this to work. Since we might want to scope the port per project, not be dependent on the default port, and help debug, it seems best to explicitly specify the value.

@oliviertassinari oliviertassinari added core DO NOT USE. This label has been deprecated and replaced by `all components` and `internal`. test labels Apr 26, 2025
Copy link

netlify bot commented Apr 26, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit bc5f869
🔍 Latest deploy log https://app.netlify.com/sites/base-ui/deploys/680e879cf60d5500087d22c4
😎 Deploy Preview https://deploy-preview-1786--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@oliviertassinari oliviertassinari force-pushed the test-regression-hard-code-default-port branch from b11472c to 539552b Compare April 26, 2025 23:17
@oliviertassinari oliviertassinari force-pushed the test-regression-hard-code-default-port branch from dc6eea6 to bc5f869 Compare April 27, 2025 19:38
@oliviertassinari oliviertassinari merged commit e72cb25 into mui:master Apr 28, 2025
22 checks passed
@oliviertassinari oliviertassinari deleted the test-regression-hard-code-default-port branch April 28, 2025 14:34
@michaldudak michaldudak added scope: code-infra Specific to the code-infra product and removed core DO NOT USE. This label has been deprecated and replaced by `all components` and `internal`. labels May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: code-infra Specific to the code-infra product test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants