Unable to type text in a "Type to search dropdown" which is a react component. I am able to click on the component but unable to type any text in it. Below is the sample code.
import { Selector } from 'testcafe';
test('Select option', async t => {
const dropdown = Selector('.section')
.find('.Select.is-clearable.is-searchable.Select--multi')
.find('.Select-control')
.find('.Select-placeholder')
.withText('Select...');
await t.click(dropdown);
await t.typeText(dropdown, 'abc'); // unable to pass text 'abc'
await t.wait(3000);
});
Sample site which is using a similar component http://jedwatson.github.io/react-select/