Package com.vaadin.flow.component.dialog
Class DialogLocator
java.lang.Object
com.vaadin.browserless.locator.Locator<Dialog,DialogLocator>
com.vaadin.flow.component.dialog.DialogLocator
- All Implemented Interfaces:
Clickable<Dialog>,HasThemeFilter<Dialog,DialogLocator>
@Generated("com.vaadin.browserless.locator.processor.LocatorProcessor")
public class DialogLocator
extends Locator<Dialog,DialogLocator>
implements Clickable<Dialog>, HasThemeFilter<Dialog,DialogLocator>
Generated locator for
Dialog, derived from
DialogTester. 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
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.HasThemeFilter
withoutTheme, withTheme
-
Constructor Details
-
DialogLocator
public DialogLocator() -
DialogLocator
-
-
Method Details
-
getComponent
Description copied from interface:ClickableGets the component being tested.- Specified by:
getComponentin interfaceClickable<Dialog>- 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<Dialog>
-
open
public void open()Open the dialog. Javadoc copied fromDialogTester.open(). -
close
public void close()Close the dialog. Javadoc copied fromDialogTester.close().
-