Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[DataGrid] Improve test coverage of server side data source (@MBilalShafi) #15988

Merged
merged 11 commits into from
Jan 24, 2025

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Dec 23, 2024

Cherry-pick of #15942

Also added a few changes done in #15769

@github-actions github-actions bot added cherry-pick The PR was cherry-picked from the newer alpha/beta/stable branch component: data grid This is the name of the generic UI component, not the React module! feature: Server integration Better integration with backends, e.g. data source test labels Dec 23, 2024
@mui-bot
Copy link

mui-bot commented Dec 23, 2024

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

Generated by 🚫 dangerJS against 1274a93

@cherniavskii
Copy link
Member

@MBilalShafi Should we update and merge this PR?

@zannager zannager requested a review from MBilalShafi January 22, 2025 10:54
@MBilalShafi MBilalShafi requested a review from arminmeh January 24, 2025 10:39
await waitFor(() => {
expect(fetchRowsSpy.callCount).to.equal(1);
});
act(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

I will try to update these with cherry pick from #16101
Once the spy is kept between re-renders we can use setProps and get rid of the act here

@MBilalShafi MBilalShafi enabled auto-merge (squash) January 24, 2025 13:04
@MBilalShafi MBilalShafi merged commit 91083f7 into v7.x Jan 24, 2025
14 checks passed
@MBilalShafi MBilalShafi deleted the cherry-pick-15942 branch January 24, 2025 13:42
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
cherry-pick The PR was cherry-picked from the newer alpha/beta/stable branch component: data grid This is the name of the generic UI component, not the React module! feature: Server integration Better integration with backends, e.g. data source test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants