Marco Collovati

Results 70 issues of Marco Collovati

Currently, Testbench `@BrowserConfiguration` does not work correctly with JUnit `@Nested` annotation that is meant to work with not-static inner classes. The problem is that when `BrowserExtension.evaluateExecutionCondition` evaluates whether the test...

bug

Currently, a UI Unit Test always navigates to the main route (blank path), then in the test the developer can navigate to another view before starting assertions. It would be...

enhancement
UITest

This [PR](https://github.com/vaadin/flow/pull/14034) improved the UI class by adding navigation methods that take query parameters. UI Unit Test base class should also provide such helpers.

enhancement
UITest

In the UI Unit Test base class, there's the `fireShortcut` method that can be used to simulate a keyboard shortcut performed on the browser. However, the method is meant to...

enhancement
UITest

If a JUnit 5 test (based on `BrowserTestBase`) that opens a browser window contains an assumption that aborts the execution, the browser window will not be closed automatically. For example,...

bug

ComponentWrap class should have a method (e.g `contextMenu()` or `openContextMenu()`) to get the potential context menu assigned to the UI component. The method should return an `Optional`. Document the fact...

UITest

After searching for a Component by text (equals or contained) it would be helpful to get the matching text through the ComponentWrap. The `ComponentWrap.getText()` method should in the same way...

UITest

Provide a way to add authentication details to `MockRequest` for non spring projects. At the moment authentication details can already be injected by providing a custom `MockRequestCustomizer` implementation class in...

UITest

At the moment we can chain the query on a single found component, either by using `thenOn(index, ...)` or `thenOnFirst(...)`. I may be useful to find nested component for all...

UITest

Vaadin components should not be augmented with testing functionality. All extension methods that adds expectations should be removed and tests fixed

UITest