Package io.jmix.flowui.sys
Class UiTestIdManagerImpl
java.lang.Object
io.jmix.flowui.sys.UiTestIdManagerImpl
- All Implemented Interfaces:
UiTestIdManager
@Component("flowui_UiTestIdManagerImpl")
public class UiTestIdManagerImpl
extends Object
implements UiTestIdManager
Implementation of the
UiTestIdManager interface that generates unique static ID attributes
for UI components for testing purposes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateUiTestId(com.vaadin.flow.component.Component component)
-
Constructor Details
-
UiTestIdManagerImpl
public UiTestIdManagerImpl()
-
-
Method Details
-
generateUiTestId
- Specified by:
generateUiTestIdin interfaceUiTestIdManager- Parameters:
component- component for calculating static ID attribute for testing- Returns:
- UI test ID calculated based on the type and state of the passed component
-