Class TimePickerLocator
java.lang.Object
com.vaadin.browserless.locator.Locator<TimePicker,TimePickerLocator>
com.vaadin.flow.component.timepicker.TimePickerLocator
- All Implemented Interfaces:
Clickable<TimePicker>,HasAriaLabelFilter<TimePicker,,TimePickerLocator> HasLabelFilter<TimePicker,,TimePickerLocator> HasThemeFilter<TimePicker,,TimePickerLocator> HasValueFilter<TimePicker,LocalTime, TimePickerLocator>
@Generated("com.vaadin.browserless.locator.processor.LocatorProcessor")
public class TimePickerLocator
extends Locator<TimePicker,TimePickerLocator>
implements Clickable<TimePicker>, HasLabelFilter<TimePicker,TimePickerLocator>, HasAriaLabelFilter<TimePicker,TimePickerLocator>, HasValueFilter<TimePicker,LocalTime,TimePickerLocator>, HasThemeFilter<TimePicker,TimePickerLocator>
Generated locator for
TimePicker, derived from
TimePickerTester. Filter steps are inherited from
Locator; action methods delegate to a fresh tester
around the resolved component, so behavioral changes belong on the
tester, not here.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnsures the component is in a usable state before interaction.Gets the component being tested.voidSet the time to the component.Methods inherited from class com.vaadin.browserless.locator.Locator
atIndex, component, components, exists, inside, inside, invalidate, self, with, withAttribute, withAttribute, withClassName, withCondition, withId, withoutAttribute, withoutAttribute, withoutClassNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.browserless.Clickable
click, click, click, middleClick, middleClick, rightClick, rightClickMethods inherited from interface com.vaadin.browserless.locator.HasAriaLabelFilter
withAriaLabel, withAriaLabelContainingMethods inherited from interface com.vaadin.browserless.locator.HasLabelFilter
withLabel, withLabelContainingMethods inherited from interface com.vaadin.browserless.locator.HasThemeFilter
withoutTheme, withThemeMethods inherited from interface com.vaadin.browserless.locator.HasValueFilter
withValue
-
Constructor Details
-
TimePickerLocator
public TimePickerLocator() -
TimePickerLocator
-
-
Method Details
-
getComponent
Description copied from interface:ClickableGets the component being tested.- Specified by:
getComponentin interfaceClickable<TimePicker>- Returns:
- the component under test
-
ensureComponentIsUsable
public void ensureComponentIsUsable()Description copied from interface:ClickableEnsures the component is in a usable state before interaction.- Specified by:
ensureComponentIsUsablein interfaceClickable<TimePicker>
-
setValue
Set the time to the component. Will throw if component is not enabled or value is not valid. Javadoc copied fromTimePickerTester.setValue(java.time.LocalTime).- Parameters:
time- time to set to component- Throws:
IllegalArgumentException- if value is invalid
-