-
Notifications
You must be signed in to change notification settings - Fork 40
Adding filters to COLUMN_ARRAY_NESTED_FUNCTIONS #413
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
base: main
Are you sure you want to change the base?
Conversation
|
I ran this and it works fine. Solves the issue. |
|
Please also add a changelog. |
Removed duplicate entry for issue plotly#412 in the changelog.
|
@BSd3v Added. |
|
Great, thank you. Could you please add a test for this? |
…d into multifilterFunction
|
@BSd3v I add a test, I would like you to review it, I'm not 100% sure about it...I'm open to any feedback. |
| # Uncheck "Select All" | ||
| dash_duo.find_element('.ag-set-filter-list .ag-set-filter-item .ag-checkbox-input').click() | ||
|
|
||
| # Select "24/08/2008" | ||
| set_filter_items = dash_duo.find_elements('.ag-set-filter-list .ag-virtual-list-item') | ||
| for item in set_filter_items: | ||
| if "24/08/2008" in item.text: | ||
| item.find_element_by_css_selector('.ag-checkbox-input').click() | ||
| break | ||
|
|
||
| # Apply | ||
| dash_duo.find_element('button[ref="applyFilterButton"]').click() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My guess is that this is executing too fast, you need to make sure that the options are actually showing before trying to click or interact.
You can use wait_until or something similar.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I will try that! Thanks!
issue #412