jmix-framework / jmix-docs

Documentation for Jmix framework
https://www.jmix.io
Creative Commons Attribution 4.0 International
18 stars 45 forks source link

Remove deprecated code in the UI integration Tests section #781

Closed Flaurite closed 3 weeks ago

Flaurite commented 6 months ago

Description

The page: https://docs.jmix.io/jmix/testing/ui-integration-tests.html

See the cause of deprecation: https://github.com/jmix-framework/jmix/issues/3157 Since the https://github.com/jmix-framework/jmix/issues/3350 tests works with both the deprecated method and the new one.

What should be fixed

From

viewNavigators.view(UserListView.class).navigate();

To

viewNavigators.view(UiTestUtils.getCurrentView(), UserListView.class).navigate();
knstvk commented 3 weeks ago

Done