Skip to content

Commit

Permalink
adapt tests ReferenceArrayField
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanMarmelab committed Dec 18, 2024
1 parent f5144e8 commit b300053
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ describe('<ReferenceArrayField />', () => {
await waitFor(() => {
expect(screen.queryAllByRole('checkbox')).toHaveLength(6);
});
fireEvent.click(screen.getAllByRole('checkbox')[1]);
fireEvent.click(screen.getAllByRole('checkbox')[0]);
expect(
await screen.findByRole('button', { name: 'Select all' })
).toBeDefined();
Expand Down

0 comments on commit b300053

Please sign in to comment.