We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b9a13a commit 6519308Copy full SHA for 6519308
test/browser/column/renderEditCell.test.tsx
@@ -75,8 +75,8 @@ describe('Editor', () => {
75
expect(onSave).not.toHaveBeenCalled();
76
const saveButton = page.getByRole('button', { name: 'save' });
77
78
- // await userEvent.click() triggers both mousedown and click, but without delay,
79
- // which isn't realistic, and isn't enough to trigger outside click detection
+ // without delay, `click()` triggers both `mousedown` and `click` events
+ // too quickly for outside clicks to be detected
80
await userEvent.click(saveButton, { delay: 10 });
81
82
expect(onSave).toHaveBeenCalledTimes(1);
0 commit comments