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

[Stepper] Fix classes for icon container #33734

Merged
merged 2 commits into from Aug 4, 2022
Merged

[Stepper] Fix classes for icon container #33734

merged 2 commits into from Aug 4, 2022

Conversation

pratikkarad
Copy link
Contributor

I have tested this fix locally and also tested using a preview package on CodeSandbox.

May close #33410

@mui-bot
Copy link

mui-bot commented Aug 1, 2022

Details of bundle changes

Generated by 🚫 dangerJS against 79e3c7f

@hbjORbj hbjORbj changed the title [stepper] Fix classes for icon container [Stepper] Fix classes for icon container Aug 1, 2022
@hbjORbj hbjORbj added component: stepper This is the name of the generic UI component, not the React module! new feature New feature or request labels Aug 1, 2022
@hbjORbj
Copy link
Member

hbjORbj commented Aug 1, 2022

Can you add unit tests to this file? https://github.com/mui/material-ui/blob/master/packages/mui-material/src/Stepper/Stepper.test.tsx

e.g.,

const items = container.querySelectorAll(`.${stepConnectorClasses.iconContainer}`);
expect(items[0]).to.have.class(stepClasses.completed);
expect(items[0]).to.have.class(stepClasses.active);
...

@pratikkarad
Copy link
Contributor Author

Sure. I'll start with unit tests.

@pratikkarad
Copy link
Contributor Author

Hi @hbjORbj, I have added unit tests. PTAL, Thanks!

@pratikkarad
Copy link
Contributor Author

pratikkarad commented Aug 3, 2022

Hi team @hbjORbj, @siriwatknp, @michaldudak, @mnajdova,
Any updates on this?

Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

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

❤️ Thanks for your first contribution! Look forward to seeing more.

@siriwatknp siriwatknp merged commit 0abfc15 into mui:master Aug 4, 2022
daniel-rabe pushed a commit to daniel-rabe/material-ui that referenced this pull request Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: stepper This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Stepper] Mui-active / Mui-completed classes are not applied to icon container
4 participants