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 3dd85ac commit b8b813dCopy full SHA for b8b813d
tests/search.spec.tsx
@@ -429,9 +429,7 @@ describe('Cascader.Search', () => {
429
/>,
430
);
431
432
- const inputNode = container.querySelector<HTMLInputElement>(
433
- '.rc-cascader-selection-search-input',
434
- );
+ const inputNode = container.querySelector<HTMLInputElement>('input');
435
fireEvent.change(inputNode as HTMLInputElement, { target: { value: 'little' } });
436
expect(inputNode).toHaveValue('little');
437
fireEvent.click(document.querySelector('.rc-cascader-checkbox') as HTMLElement);
0 commit comments