Skip to content

test: cover List empty state with permanent filters#11235

Open
terminalchai wants to merge 1 commit intomarmelab:masterfrom
terminalchai:fix/list-empty-permanent-filter
Open

test: cover List empty state with permanent filters#11235
terminalchai wants to merge 1 commit intomarmelab:masterfrom
terminalchai:fix/list-empty-permanent-filter

Conversation

@terminalchai
Copy link
Copy Markdown

Summary

  • add a regression test for the List empty state when only a permanent filter prop is set
  • confirm the custom empty component still renders when there are no results and no user-applied filters

How To Test

  • corepack yarn test-unit-ci packages/ra-ui-materialui/src/list/List.spec.tsx
  • corepack yarn exec prettier --check packages/ra-ui-materialui/src/list/List.spec.tsx

Notes

This does not change runtime behavior. It adds coverage for issue #8320, which appears to already be fixed in current master.

Closes #8320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In a List, also show the Empty component when no results and only a permanent filter

1 participant