use of com.aire.ux.test.ViewTest in project aire-components by aire-ux.
the class ApplicationLayoutTest method ensureSelectionWorksWithNoAuxClass.
@ViewTest
void ensureSelectionWorksWithNoAuxClass(@Autowired UserInterface ui) {
val result = ui.selectFirst(Selection.path(":main:navigation"));
assertTrue(result.isPresent());
}
use of com.aire.ux.test.ViewTest in project aire-components by aire-ux.
the class ClientMethodsTest method ensureClientMethodIsInvokable.
@ViewTest
void ensureClientMethodIsInvokable() {
val result = ClientMethods.withUiSupplier(UI::getCurrent).construct(AddVertexTemplateAction.class, new VertexTemplate());
assertNotNull(result);
}
use of com.aire.ux.test.ViewTest in project aire-components by aire-ux.
the class InMemoryFeatureManagerTest method ensureUiIsInjectable.
@ViewTest
void ensureUiIsInjectable(@Context TestContext $) {
$.navigate(TestFeatureView.class);
$.flush();
val button = $.selectFirst("vaadin-button[text*=test]", Button.class);
assertTrue(button.isPresent());
}
Aggregations