Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change action on select generates non-functioning cypress code #45

Open
cjhudson101 opened this issue Dec 2, 2022 · 3 comments
Open
Labels
bug Something isn't working

Comments

@cjhudson101
Copy link

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.

@pmalhotra-eti
Copy link

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

@cjhudson101
Copy link
Author

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. :)

@germandupuy
Copy link

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

@jennifer-shehane jennifer-shehane added the bug Something isn't working label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants