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 tests for the custom slots of TreeItem2 #13314

Merged
merged 4 commits into from
Jun 12, 2024

Conversation

flaviendelangle
Copy link
Member

@flaviendelangle flaviendelangle commented May 30, 2024

Part of #12434

@flaviendelangle flaviendelangle self-assigned this May 30, 2024
@flaviendelangle flaviendelangle added test core Infrastructure work going on behind the scenes component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module! labels May 30, 2024
@mui-bot
Copy link

mui-bot commented May 30, 2024

Deploy preview: https://deploy-preview-13314--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against a391a8f

skip: ['reactTestRenderer', 'componentProp', 'componentsProp', 'themeVariants'],
}));

describeSlotsConformance({
Copy link
Member Author

Choose a reason for hiding this comment

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

This works great for super basic slots that are always rendered, but describeSlotsConformance will need a lot more work to support more complex slots like dragAndDropOverlay or components like DatePicker.

But it's a 1st draft and for now I think it does the job.

@flaviendelangle flaviendelangle marked this pull request as ready for review May 31, 2024 13:29
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jun 10, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jun 10, 2024
Copy link
Contributor

@noraleonte noraleonte left a comment

Choose a reason for hiding this comment

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

Very nice addition 🎉 It's a great first step 💙 - it will be interesting to adapt for the label editing 🤔

@flaviendelangle flaviendelangle merged commit 220d83d into mui:master Jun 12, 2024
17 checks passed
@flaviendelangle flaviendelangle deleted the slots-item-test branch June 12, 2024 12:24
DungTiger pushed a commit to DungTiger/mui-x that referenced this pull request Jul 23, 2024
thomasmoon pushed a commit to thomasmoon/mui-x that referenced this pull request Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module! core Infrastructure work going on behind the scenes test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants