use of com.aire.ux.test.Navigate in project aire-components by aire-ux.
the class TopLevelVaadinTestCaseTest method ensureTestMethodGeneratesFrameWithCurrentMethod2.
@ViewTest
@Navigate("test")
@Routes(scanPackage = "com.aire.ux.test.vaadin.scenarios.classroutes")
void ensureTestMethodGeneratesFrameWithCurrentMethod2(@Select ClassScenarioRouteLayout layout) throws NoSuchMethodException {
val method = Frames.resolveCurrentFrame().getContext().getTestMethod();
assertTrue(method.isPresent());
val m = method.get();
assertEquals(m, TopLevelVaadinTestCaseTest.class.getDeclaredMethod("ensureTestMethodGeneratesFrameWithCurrentMethod2", ClassScenarioRouteLayout.class));
}
use of com.aire.ux.test.Navigate in project aire-components by aire-ux.
the class PluginTabViewTest method ensurePluginTabViewIsInjectable.
@ViewTest
@Navigate("zephyr/management/modules/list")
void ensurePluginTabViewIsInjectable(@Context TestContext $) {
val view = $.selectFirst("aire-tab-panel", TabPanel.class);
assertTrue(view.isPresent());
}
Aggregations