Joel Robertson

Results 8 issues of Joel Robertson

The [Custom Testers](https://vaadin.com/docs/latest/testing/ui-unit/component-query#custom-testers) section of the [UI Unit Testing](https://vaadin.com/docs/latest/testing/ui-unit) section could be expanded (possibly into its own page) and improved (including a discussion of best practices akin to the [Tests...

flow

## Description Elements having their labels in their text (such as buttons) must implement a new, method-less interface `HasLabelAsText` in their element tester (such as `NativeButtonElement` for the `NativeButton` component...

enhancement
testbench

`AbstractBrowserTestBase::assertEquals(WebElement, WebElement)` should be deprecated as it is an obsolete workaround for `TestBenchElement` that formerly lacked an implementation for `equals` to correctly compare "wrapped" elements. That issue was resolved with...

enhancement

## Description Added `VirtualListTester` to enable `VirtualLists` to be unit tested with TestBench. As this tester and `GridTester` both support `LitRenderer`s, the common code from `GridTester` was extracted to an...

enhancement
UITest

### Describe your motivation The pattern used to add columns with renderers differs from that of those with values. Value columns require the use of a `ValueProvider`—typically expressed as a...

enhancement
vaadin-grid
vaadin-grid-pro
Impact: Low

## Description Adds missing `ComponentTester` for `RouterLink`. (Attempting to use `AnchorTester` in its place results in an error due to `Anchor` and `RouterLink` being different `Components`. Tester methods include -...

UITest

`RouterLink` is missing its "`RouterLinkTester`" `ComponentTester`. Attempting to use `AnchorTester` in its place (analogous to using `AnchorElement` in e2e testing), such as ``` test(find(Anchor.class) .withText("See previous visitors →") .single()); ```...

enhancement

The row API for `VirtualListElement` and `GridElement` are very similar in that they both have the following methods: - `void scrollToRow(int index)` - `boolean isRowInView(int index)` - `int getRowCount()` -...