Package com.vaadin.browserless.internal
Class TestingLifecycleHookKt
-
- All Implemented Interfaces:
public final class TestingLifecycleHookKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static BooleanisTemplateprivate static TestingLifecycleHooktestingLifecycleHook
-
Method Summary
Modifier and Type Method Description final BooleangetIsTemplate()TestingLifecycleHookgetTestingLifecycleHook()voidsetTestingLifecycleHook(TestingLifecycleHook value)final static UnitcleanupDialogs()Flow Server does not close the dialog when Dialog.close is called; instead it tells client-side dialog to close, which then fires event back to the server that the dialog was closed, and removes itself from the DOM. -
-
Method Detail
-
getIsTemplate
final Boolean getIsTemplate()
-
getTestingLifecycleHook
TestingLifecycleHook getTestingLifecycleHook()
-
setTestingLifecycleHook
void setTestingLifecycleHook(TestingLifecycleHook value)
-
cleanupDialogs
final static Unit cleanupDialogs()
Flow Server does not close the dialog when Dialog.close is called; instead it tells client-side dialog to close, which then fires event back to the server that the dialog was closed, and removes itself from the DOM. Since there's no browser with browserless testing, we need to cleanup closed dialogs manually, hence this method.
-
-
-
-