File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/ra-ui-materialui/src/list/datatable Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ describe('ColumnsButton', () => {
2929 screen
3030 . getByRole ( 'menu' )
3131 . querySelectorAll ( 'li:not(.columns-selector-actions)' )
32- ) . toHaveLength ( 8 ) ; // 7 columns + the filter input li
32+ ) . toHaveLength ( 7 ) ;
3333 // Typing a filter
3434 fireEvent . change (
3535 screen . getByPlaceholderText ( 'ra.action.search_columns' ) ,
@@ -43,7 +43,7 @@ describe('ColumnsButton', () => {
4343 screen
4444 . getByRole ( 'menu' )
4545 . querySelectorAll ( 'li:not(.columns-selector-actions)' )
46- ) . toHaveLength ( 2 ) ; // only the column with 'DiA' in its label should remain + the filter input li
46+ ) . toHaveLength ( 1 ) ;
4747 } ) ;
4848 screen . getByLabelText ( 'Téstïng diàcritics' ) ;
4949 // Clear the filter
@@ -53,7 +53,7 @@ describe('ColumnsButton', () => {
5353 screen
5454 . getByRole ( 'menu' )
5555 . querySelectorAll ( 'li:not(.columns-selector-actions)' )
56- ) . toHaveLength ( 8 ) ;
56+ ) . toHaveLength ( 7 ) ;
5757 } ) ;
5858 } ) ;
5959} ) ;
You can’t perform that action at this time.
0 commit comments