techniq / mui-downshift

Thin layer over paypal's downshift to use Material UI visual components
https://techniq.github.io/mui-downshift/
MIT License
92 stars 24 forks source link

unable to select item using cypress.io #89

Closed jdmairs closed 4 years ago

jdmairs commented 4 years ago

anybody have any experience using cypress.io imagine a mui-downshift loaded with US states. In the input box I type 'Oh', the auto filter narrows down to Ohio. I cannot get the enter or click to select Ohio to populate the input box.

It works fine during manual human testing.

jdmairs commented 4 years ago

here's how

cy.get('#downshift-0-input').click().type('Oh{enter}'); cy.get('#downshift-0-item-0').contains('Ohio').click({ force: true });