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

Selected option is not working as expected in Dropdown #2166

Open
poornadeem opened this issue Nov 18, 2021 · 1 comment
Open

Selected option is not working as expected in Dropdown #2166

poornadeem opened this issue Nov 18, 2021 · 1 comment

Comments

@poornadeem
Copy link

After selecting the value from dropdown, selected value will trigger the other values to shown up. but currently i dont see those options .Manually its working fine as expected
onceon is selected,ideally it should be!

image

while script runs:
image

code i used:
await dropDown({ id: ${globalDashboard.scheduleLoc()}}).select({ index: 1 });

devtools:
image

Any suggestions Please

@dvag-sunil
Copy link

I had the same issue. I did a workaround on it.
After the selection using select, i did focus on the dropdown and trigger "Enter" using keyboard.
e.g
await dropDown({ id: ${globalDashboard.scheduleLoc()}}).select({ index: 1 })
await focus(dropDown({ id: ${globalDashboard.scheduleLoc()}}));
await press('Enter');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants