-
Notifications
You must be signed in to change notification settings - Fork 71
test: extract getting items into helper class #7726
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
test: extract getting items into helper class #7726
Conversation
|
||
public class VirtualListHelpers { | ||
|
||
public static JsonArray getItems(WebDriver driver, WebElement element) { |
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.
I wonder if this should be part of VirtualListElement
instead so that it can be used in custom ITs?
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.
I considered that too, but couldn't be sure. What do you think? Would it be worth having an explicit API there?
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.
I think the API could use some more thought, returning a JsonArray
is both confusing and inconvenient. Let's keep this internal for now.
|
Co-authored-by: Sascha Ißbrücker <sissbruecker@vaadin.com>
Co-authored-by: Sascha Ißbrücker <sissbruecker@vaadin.com>
Description
Extracts the static method
getItems
for virtual list elements to a helper class.Type of change
Checklist