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

FilterSelectionDialog: handle non-removable fields #2192

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

labkey-nicka
Copy link
Contributor

Rationale

Update FieldSelectionDialog test component to handle removing all selected fields edge case where some fields are not actually removable.

Related Pull Requests

Changes

  • Skip all fields removed check if not all fields can be removed.

@labkey-nicka labkey-nicka self-assigned this Dec 12, 2024

for(WebElement listItem : allItems)
for (WebElement listItem : allItems)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Occasionally this method will fail because not every item was removed-- one theory I have is that it might be due to how they slide up when the previous one is removed. It might be more reliable to iterate from the bottom up, if it's possible for the click to 'miss' if it happens when the target is moving

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to leave as-is since I'm not looking to triage intermittent failures with this work. What you are proposing seems reasonable.

@labkey-nicka labkey-nicka merged commit 48eb487 into develop Dec 13, 2024
3 checks passed
@labkey-nicka labkey-nicka deleted the fb_registry_changes branch December 13, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants