testbench
testbench copied to clipboard
Vaadin TestBench is a tool for automated user interface testing of Vaadin applications.
The latest Chrome isn't logging anymore. Testbench should provide a seemless exprience for developers and shild them from such things. ```log 2023-07-13T08:41:02.820+02:00 INFO 4999 --- [ool-1-worker-34] o.o.s.remote.service.DriverService : Driver logs...
Add a usage statistics to TestBench for collecting the usage of UI Unit testing features and End-to-End testing features. This was drafted in https://github.com/vaadin/testbench/pull/1587, but doesn't work because of https://github.com/vaadin/testbench/pull/1587#issuecomment-1372084963...
If you have a TypeScript view in your app, e.g. ```ts { path: 'hello', component: 'hello-world-view', action: async () => { await import('./typescript/hello-world-view'); }, }, ``` and you have a...
If I set the `testBench().resizeViewPortTo(1024, 671);` and let the test compare the screenshots using `testBench().compareScreen()` it seems that the result depends on the DPI of the screen. I'm always running...
The `ElementQuery `class contains a very nice method to create a meaningful "NoSuchElement"-Message for a `NoSuchElementException`. ``` private String getNoSuchElementMessage(Integer index) { String msg = "No element with tag found";...
`HasHelper` interface's [default implementation](https://github.com/vaadin/testbench/blob/25e348b5248644fa1486fc173678403f1f28cbda/vaadin-testbench-core/src/main/java/com/vaadin/testbench/HasHelper.java#L36) for `getHelperComponent()` does a query for `[slot='helper']`. It may result in unintentionally returning the helper component of a child component. Example: ```html Helper ``` `CustomFieldElement`'s `getHelperComponent()`...
Regarding the documentation, `ElementQuery#last` should throw a `org.openqa.selenium.NoSuchElementException`, when no element is foundbut it throws a `java.lang.IndexOutOfBoundsException` instead. The reason for this is, that it calls `List#get(index)` instead of `ElementQuery#get(index)`....
[JetBrains Aqua](https://www.jetbrains.com/aqua/) includes an embedded web inspector that enables viewing the web app and capturing page elements required for the tests. The web inspector also generates a unique CSS or...
I have a test where I sort the grid. After sorting the row with index 0 is not visible. When calling `getRow(0)` it throws an exception java.lang.NullPointerException: Cannot invoke "com.vaadin.testbench.TestBenchElement.wrap(java.lang.Class)"...