cypress-chrome-recorder icon indicating copy to clipboard operation
cypress-chrome-recorder copied to clipboard

Change action on select generates non-functioning cypress code

Open cjhudson101 opened this issue 3 years ago • 3 comments

When clicking on and choosing a option within a select, the code generated on cypress export creates cy.get('element').type('value of option')

I believe when the element is of type select/option and the event is change we should do a cy.get('element').select('value or label of option selected') instead.

We simple select a value from a dropdown, export it, run the test in cypress and the select does not work properly.

cjhudson101 avatar Dec 02 '22 19:12 cjhudson101

@cjhudson101 -- Any lead or update on work around on this issue? This is turning out to be a small road-blocker for us.

pmalhotra-eti avatar Mar 14 '23 18:03 pmalhotra-eti

Nope. We were just doing a POC with this thing for a hackathon and at the end of the two day event we decided this application is way too immature to bother with.

Most people at our organization have just written it off. :)

cjhudson101 avatar Mar 14 '23 19:03 cjhudson101

The same issue occurs with dropdown menus. Also, when navigating between pages in a grid. Has anyone found a solution or an answer?

germandupuy avatar Nov 09 '23 13:11 germandupuy