jmix-framework / jmix-docs

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

Remove deprecated code in the UI integration Tests section #781

Open Flaurite opened 1 month ago

Flaurite commented 1 month 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();