I have a drop down menu in my site is using react component. I am able to open the drop down list, but am having difficulty getting it to select the desired field. How should I approach it. Help here would be appreciated.
Have put sample code and sample site which has a similar component as i am trying to use
import { Selector, ClientFunction } from 'testcafe';
fixture `Drop down `.page `http://jedwatson.github.io/react-select/`
test('Select option', async t => {
const selectArrow = Selector('.Select-arrow-zone');
const item = Selector('#react-select-2--value-item').withText('Queensland')
await t
.click(selectArrow)
.click(item)
.wait(5000);
});