UiScreenSpec is available only in cuba module. To write tests with Screen opening in other modules we have to copy this functionality or do some complicated stuff.
To make UiScreenSpec available for all modules we can move it to the separated module and then add it as dependency.
Changes
All functionality for running tests with screens is moved to separated add-on: ui-test-assists.
Add-on coordinates:
io.jmix.ui:jmix-ui-test-assist
Make your base specification extending ScreenSpecification and add ContextConfiguration annotation, for instance:
Description
UiScreenSpec
is available only in cuba module. To write tests with Screen opening in other modules we have to copy this functionality or do some complicated stuff.To make
UiScreenSpec
available for all modules we can move it to the separated module and then add it as dependency.Changes
All functionality for running tests with screens is moved to separated add-on:
ui-test-assists
.Add-on coordinates:
Make your base specification extending
ScreenSpecification
and add ContextConfiguration annotation, for instance: