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] Allow to select a section by type in field tests #9009

Merged

Conversation

flaviendelangle
Copy link
Member

@flaviendelangle flaviendelangle commented May 16, 2023

Now that we have fieldRef, we are able to provide a better DX in our tests.

We created several ways of selecting a section and I'm trying to unify all of that into a single, easy to understand, API.

@flaviendelangle flaviendelangle self-assigned this May 16, 2023
@flaviendelangle flaviendelangle added core Infrastructure work going on behind the scenes component: pickers This is the name of the generic UI component, not the React module! labels May 16, 2023
@mui-bot
Copy link

mui-bot commented May 16, 2023

Netlify deploy preview

Netlify deploy preview: https://deploy-preview-9009--material-ui-x.netlify.app/

Updated pages

No updates.

These are the results for the performance tests:

Test case Unit Min Max Median Mean σ
Filter 100k rows ms 632 1,282.5 1,282.5 954.22 230.72
Sort 100k rows ms 881.7 1,248.1 1,248.1 1,073.42 150.585
Select 100k rows ms 191.6 317.7 299.5 277.48 45.017
Deselect 100k rows ms 204.1 299.7 262.6 255.26 34.268

Generated by 🚫 dangerJS against 49d8698

@flaviendelangle flaviendelangle force-pushed the field-selected-sections-test branch 2 times, most recently from 3fb6d6b to 92be206 Compare May 17, 2023 08:27
@flaviendelangle flaviendelangle marked this pull request as ready for review May 17, 2023 08:52
Copy link
Member

@LukasTy LukasTy left a comment

Choose a reason for hiding this comment

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

Really nice change increasing the section selecting API immensely! 👍 🚀

test/utils/pickers-utils.tsx Outdated Show resolved Hide resolved
test/utils/pickers-utils.tsx Outdated Show resolved Hide resolved
@flaviendelangle flaviendelangle merged commit eab8bdc into mui:master May 19, 2023
17 checks passed
@flaviendelangle flaviendelangle deleted the field-selected-sections-test branch May 19, 2023 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pickers This is the name of the generic UI component, not the React module! core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants