Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
$
- $(Class<T>) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Deprecated, for removal: This API element is subject to removal in a future version.
- $(Class<T>, Component) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Deprecated, for removal: This API element is subject to removal in a future version.since 1.1, for removal in 26.0; use
BaseBrowserlessTest.find(Class, Component)instead. - $view(Class<T>) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Deprecated, for removal: This API element is subject to removal in a future version.since 1.1, for removal in 26.0; use
BaseBrowserlessTest.findInView(Class)instead.
A
- AbstractLoginTester<T> - Class in com.vaadin.flow.component.login
-
Class with common functions for Login components LoginForm and LoginOverlay.
- AbstractLoginTester(T) - Constructor for class com.vaadin.flow.component.login.AbstractLoginTester
-
Wrap given component for testing.
- AccordionLocator - Class in com.vaadin.flow.component.accordion
-
Generated locator for
Accordion, derived fromAccordionTester. - AccordionLocator() - Constructor for class com.vaadin.flow.component.accordion.AccordionLocator
-
Creates a locator that searches for a
Accordion. - AccordionLocator(Accordion) - Constructor for class com.vaadin.flow.component.accordion.AccordionLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- AccordionTester<T> - Class in com.vaadin.flow.component.accordion
-
Tester for Accordion components.
- AccordionTester(T) - Constructor for class com.vaadin.flow.component.accordion.AccordionTester
-
Wrap given component for testing.
- activate() - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Activates this UI context on the current thread.
- activateLocatorContext() - Method in class com.vaadin.browserless.BrowserlessUIContext
- activateLocatorContext() - Method in interface com.vaadin.browserless.locator.CommercialLocators
- activateLocatorContext() - Method in interface com.vaadin.browserless.locator.GeneratedCommercialLocators
-
Hook for context-bound implementations to install Vaadin thread-locals before a locator is built.
- activateLocatorContext() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Hook for context-bound implementations to install Vaadin thread-locals before a locator is built.
- activateLocatorContext() - Method in interface com.vaadin.browserless.locator.Locators
-
Hook for context-bound implementations to install Vaadin thread-locals before a locator is built.
- activateTesterContext() - Method in class com.vaadin.browserless.BrowserlessUIContext
- activateTesterContext() - Method in interface com.vaadin.browserless.TesterWrappers
-
Hook for context-bound implementations to install Vaadin thread-locals before a component is wrapped in a tester.
- activeTrackers() - Method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Returns currently active tracker sessions for this UI.
- addCookie(Cookie) - Method in class com.vaadin.browserless.mocks.MockRequest
-
Adds a cookie to the request, as the browser would send it.
- addCookie(Cookie) - Method in class com.vaadin.browserless.mocks.MockResponse
- addDateHeader(String, long) - Method in class com.vaadin.browserless.mocks.MockResponse
- addFilter(String, Filter) - Method in class com.vaadin.browserless.mocks.MockContext
- addFilter(String, Class<? extends Filter>) - Method in class com.vaadin.browserless.mocks.MockContext
- addFilter(String, String) - Method in class com.vaadin.browserless.mocks.MockContext
- addHandler(JavaScriptDispatcher.Handler) - Method in class com.vaadin.browserless.JavaScriptDispatcher
-
Registers a handler that is offered every invocation sent from now on.
- addHeader(String, String) - Method in class com.vaadin.browserless.mocks.MockResponse
- addIntHeader(String, int) - Method in class com.vaadin.browserless.mocks.MockResponse
- additionalServices - Variable in class com.vaadin.browserless.mocks.MockVaadinHelper.BrowserlessLookupInitializer
-
Services the testing environment wires through the
Lookup, mapping a service interface to its default implementation. - addJspFile(String, String) - Method in class com.vaadin.browserless.mocks.MockContext
- addListener(Class<? extends EventListener>) - Method in class com.vaadin.browserless.mocks.MockContext
- addListener(String) - Method in class com.vaadin.browserless.mocks.MockContext
- addListener(T) - Method in class com.vaadin.browserless.mocks.MockContext
- addServlet(String, Servlet) - Method in class com.vaadin.browserless.mocks.MockContext
- addServlet(String, Class<? extends Servlet>) - Method in class com.vaadin.browserless.mocks.MockContext
- addServlet(String, String) - Method in class com.vaadin.browserless.mocks.MockContext
- addToModalComponent(Component) - Method in class com.vaadin.browserless.mocks.MockedUI
- afterSessionClose(VaadinSession, UIFactory) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Internal function, do not call directly.
- all() - Method in class com.vaadin.browserless.ComponentQuery
-
Executes the search against current context and returns a list of matching components.
- allLookupServices() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Gets the lookup services to register, combining the ones required by the framework integration, the ones provided by the deprecated
BaseBrowserlessTest.lookupServices()hook, and the ones declared by the test configuration. - allLookupServices(BrowserlessConfiguration) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Same as
BaseBrowserlessTest.allLookupServices(), but for a configuration that has already been resolved. - alt() - Method in class com.vaadin.browserless.MetaKeys
-
Set alt key down to
true. - AnchorLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
Anchor, derived fromAnchorTester. - AnchorLocator() - Constructor for class com.vaadin.flow.component.html.AnchorLocator
-
Creates a locator that searches for a
Anchor. - AnchorLocator(Anchor) - Constructor for class com.vaadin.flow.component.html.AnchorLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- AnchorTester - Class in com.vaadin.flow.component.html
-
Tester for Anchor components.
- AnchorTester(Anchor) - Constructor for class com.vaadin.flow.component.html.AnchorTester
-
Wrap given component for testing.
- ANY - Static variable in class com.vaadin.browserless.internal.CountRange
-
Accepts any number of components, which is what a lookup expects unless it is told otherwise.
- applicationProperties() - Element in annotation interface com.vaadin.browserless.BrowserlessTestConfig
-
Vaadin application properties (init parameters) to apply to the mock Vaadin environment created for the annotated test.
- apply(MockRequest) - Method in interface com.vaadin.browserless.internal.MockRequestCustomizer
-
Customizes given request.
- applySessionLockCheckStrategy(VaadinService, VaadinSession) - Static method in class com.vaadin.browserless.mocks.MockVaadinServlet
-
Applies the service's session lock check strategy to the given session, as Flow does for a session it creates itself.
- ariaLabelContains(String) - Static method in class com.vaadin.browserless.ElementConditions
-
Checks if the component's aria-label contains the given text.
- assertSerializable(Object) - Static method in class com.vaadin.browserless.SerializationDebugUtil
-
Asserts that the given object graph is fully serializable.
- assertSerializable(Object, StringBuilder) - Static method in class com.vaadin.browserless.SerializationDebugUtil
-
Asserts that the given object graph is fully serializable.
- atIndex(int) - Method in class com.vaadin.browserless.ComponentQuery
-
Executes the search against current context and returns the component at given index.
- atIndex(int) - Method in class com.vaadin.browserless.locator.Locator
-
Picks the n-th match (1-based) when the filter chain yields multiple matches.
- authenticate(HttpServletResponse) - Method in class com.vaadin.browserless.mocks.MockRequest
- autoClose() - Method in class com.vaadin.flow.component.notification.NotificationLocator
-
Simulates auto-close of the notification, because of show duration timeout.
- autoClose() - Method in class com.vaadin.flow.component.notification.NotificationTester
-
Simulates auto-close of the notification, because of show duration timeout.
- autoDiscoverViews() - Method in class com.vaadin.browserless.internal.Routes
-
Auto-discovers everything in the whole classpath, registers it into
thisand returnsthis. - autoDiscoverViews(String...) - Method in class com.vaadin.browserless.internal.Routes
-
Auto-discovers everything, registers it into
thisand returnsthis. - AvatarGroupLocator - Class in com.vaadin.flow.component.avatar
-
Generated locator for
AvatarGroup, derived fromAvatarGroupTester. - AvatarGroupLocator() - Constructor for class com.vaadin.flow.component.avatar.AvatarGroupLocator
-
Creates a locator that searches for a
AvatarGroup. - AvatarGroupLocator(AvatarGroup) - Constructor for class com.vaadin.flow.component.avatar.AvatarGroupLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- AvatarGroupTester<T> - Class in com.vaadin.flow.component.avatar
-
Tester for AvatarGroup components.
- AvatarGroupTester(T) - Constructor for class com.vaadin.flow.component.avatar.AvatarGroupTester
-
Wrap given component for testing.
- awaitAfterLookup() - Method in interface com.vaadin.browserless.internal.TestingLifecycleHook
-
Invoked after every component lookup.
- awaitBeforeLookup() - Method in interface com.vaadin.browserless.internal.TestingLifecycleHook
-
Invoked before every component lookup.
B
- BACK - Enum constant in enum class com.vaadin.browserless.MouseButton
-
The first additional button, typically the back button.
- BaseBrowserlessTest - Class in com.vaadin.browserless
-
Base class for browserless tests.
- BaseBrowserlessTest() - Constructor for class com.vaadin.browserless.BaseBrowserlessTest
-
Creates the test base; subclasses are instantiated by the test engine.
- BasicUtils - Class in com.vaadin.browserless.internal
-
Basic utilities for firing events on components and checking their state.
- BEFORE_OPEN_EVENT - Static variable in class com.vaadin.browserless.internal.GridContextMenuSupport
-
DOM event the grid fires on its target element to let the menu know that the user asked for it.
- BigDecimalFieldLocator - Class in com.vaadin.flow.component.textfield
-
Generated locator for
BigDecimalField, derived fromTextFieldTester. - BigDecimalFieldLocator() - Constructor for class com.vaadin.flow.component.textfield.BigDecimalFieldLocator
-
Creates a locator that searches for a
BigDecimalField. - BigDecimalFieldLocator(BigDecimalField) - Constructor for class com.vaadin.flow.component.textfield.BigDecimalFieldLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- blur() - Method in class com.vaadin.browserless.ComponentTester
-
Simulates the wrapped component losing keyboard focus, firing a blur event as if it came from the client.
- BreadcrumbsLocator - Class in com.vaadin.flow.component.breadcrumbs
-
Generated locator for
Breadcrumbs, derived fromBreadcrumbsTester. - BreadcrumbsLocator() - Constructor for class com.vaadin.flow.component.breadcrumbs.BreadcrumbsLocator
-
Creates a locator that searches for a
Breadcrumbs. - BreadcrumbsLocator(Breadcrumbs) - Constructor for class com.vaadin.flow.component.breadcrumbs.BreadcrumbsLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- BreadcrumbsTester<T> - Class in com.vaadin.flow.component.breadcrumbs
-
Tester for Breadcrumbs components.
- BreadcrumbsTester(T) - Constructor for class com.vaadin.flow.component.breadcrumbs.BreadcrumbsTester
-
Wrap given component for testing.
- BrowserlessApplicationContext - Class in com.vaadin.browserless
-
Application-level context for multi-user browserless testing.
- BrowserlessApplicationContext.Builder - Class in com.vaadin.browserless
-
Builder for creating a customized
BrowserlessApplicationContext. - BrowserlessConfiguration - Class in com.vaadin.browserless
-
Custom Vaadin configuration to apply to a mock Vaadin environment.
- BrowserlessConfiguration.Builder - Class in com.vaadin.browserless
-
Builder for
BrowserlessConfigurationinstances. - BrowserlessFeatureFlags - Class in com.vaadin.browserless.internal
-
FeatureFlagsimplementation that applies test defined feature flag overrides on top of the ones resolved by Vaadin. - BrowserlessGeolocationClientFactory - Class in com.vaadin.flow.component.geolocation
-
GeolocationClientFactorythat produces an in-memory test client and publishes aGeolocationSimulatoron the UI for tests to drive. - BrowserlessGeolocationClientFactory() - Constructor for class com.vaadin.flow.component.geolocation.BrowserlessGeolocationClientFactory
-
Creates the factory; Flow looks it up through the service loader.
- BrowserlessLookupInitializer() - Constructor for class com.vaadin.browserless.mocks.MockVaadinHelper.BrowserlessLookupInitializer
-
Creates an initializer registering the browserless environment's own services.
- BrowserlessTestConfig - Annotation Interface in com.vaadin.browserless
-
Applies a custom Vaadin configuration to a single test class or test method.
- BrowserlessTestSetupException - Exception Class in com.vaadin.browserless
-
Exception thrown by
BaseBrowserlessTestmethods when the mock environment has not been set up correctly. - BrowserlessTestSetupException(String) - Constructor for exception class com.vaadin.browserless.BrowserlessTestSetupException
-
Creates an exception with the given message.
- BrowserlessTestSetupException(String, Throwable) - Constructor for exception class com.vaadin.browserless.BrowserlessTestSetupException
-
Creates an exception with the given message and cause.
- BrowserlessUIContext - Class in com.vaadin.browserless
-
UI-level context for multi-user browserless testing.
- BrowserlessUserContext - Class in com.vaadin.browserless
-
User-level context for multi-user browserless testing.
- build() - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Builds the application context.
- build() - Method in class com.vaadin.browserless.BrowserlessConfiguration.Builder
-
Builds the configuration.
- build() - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Builds the secured application context.
- builder() - Static method in class com.vaadin.browserless.BrowserlessConfiguration
-
Creates a new builder for a custom Vaadin configuration.
- Builder() - Constructor for class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Creates a builder with no pre-seeded routes.
- ButtonLocator - Class in com.vaadin.flow.component.button
-
Generated locator for
Button, derived fromButtonTester. - ButtonLocator() - Constructor for class com.vaadin.flow.component.button.ButtonLocator
-
Creates a locator that searches for a
Button. - ButtonLocator(Button) - Constructor for class com.vaadin.flow.component.button.ButtonLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- ButtonTester<T> - Class in com.vaadin.flow.component.button
-
Tester for Button components.
- ButtonTester(T) - Constructor for class com.vaadin.flow.component.button.ButtonTester
-
Wrap given button for testing.
C
- cancel() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogLocator
-
Click cancel button.
- cancel() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogTester
-
Click cancel button.
- canSetValueAsUser(HasValue<?, ?>) - Method in class com.vaadin.browserless.ComponentTester
-
Checks whether
ComponentTester.setValueAsUser(HasValue, Object)can simulate a client side value change on the given field. - captionContains(String) - Method in class com.vaadin.browserless.internal.SearchSpec
-
Makes sure that the component's caption contains given
substring. - capture() - Static method in class com.vaadin.browserless.ExecutedJavaScript
-
Starts capturing the JavaScript sent to the browser of
UI.getCurrent(). - capture(UI) - Static method in class com.vaadin.browserless.ExecutedJavaScript
-
Starts capturing the JavaScript sent to the browser of the given UI.
- CardLocator - Class in com.vaadin.flow.component.card
-
Generated locator for
Card, derived fromCardTester. - CardLocator() - Constructor for class com.vaadin.flow.component.card.CardLocator
-
Creates a locator that searches for a
Card. - CardLocator(Card) - Constructor for class com.vaadin.flow.component.card.CardLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- CardTester<T> - Class in com.vaadin.flow.component.card
-
Tester for Card components.
- CardTester(T) - Constructor for class com.vaadin.flow.component.card.CardTester
-
Wrap given component for testing.
- changeSessionId() - Method in class com.vaadin.browserless.mocks.MockHttpSession
-
Assigns a new ID to this session, keeping its identity and all of its attributes intact, and returns the new ID.
- changeSessionId() - Method in class com.vaadin.browserless.mocks.MockRequest
- ChartLocator - Class in com.vaadin.flow.component.charts
-
Generated locator for
Chart, derived fromChartTester. - ChartLocator() - Constructor for class com.vaadin.flow.component.charts.ChartLocator
-
Creates a locator that searches for a
Chart. - ChartLocator(Chart) - Constructor for class com.vaadin.flow.component.charts.ChartLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- ChartTester<T> - Class in com.vaadin.flow.component.charts
-
Tester for Chart components.
- ChartTester(T) - Constructor for class com.vaadin.flow.component.charts.ChartTester
-
Wrap given component for testing.
- check() - Method in class com.vaadin.flow.component.checkbox.CheckboxLocator
-
Checks the checkbox by clicking it, as a user would.
- check() - Method in class com.vaadin.flow.component.checkbox.CheckboxTester
-
Checks the checkbox by clicking it, as a user would.
- CheckboxGroupLocator<V> - Class in com.vaadin.flow.component.checkbox
-
Generated locator for
CheckboxGroup, derived fromCheckboxGroupTester. - CheckboxGroupLocator(CheckboxGroup<V>) - Constructor for class com.vaadin.flow.component.checkbox.CheckboxGroupLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- CheckboxGroupLocator(Class<V>) - Constructor for class com.vaadin.flow.component.checkbox.CheckboxGroupLocator
-
Creates a locator that searches for a
CheckboxGroup. - CheckboxGroupTester<T,
V> - Class in com.vaadin.flow.component.checkbox -
Tester for CheckboxGroup components.
- CheckboxGroupTester(T) - Constructor for class com.vaadin.flow.component.checkbox.CheckboxGroupTester
-
Wrap given component for testing.
- CheckboxLocator - Class in com.vaadin.flow.component.checkbox
-
Generated locator for
Checkbox, derived fromCheckboxTester. - CheckboxLocator() - Constructor for class com.vaadin.flow.component.checkbox.CheckboxLocator
-
Creates a locator that searches for a
Checkbox. - CheckboxLocator(Checkbox) - Constructor for class com.vaadin.flow.component.checkbox.CheckboxLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- CheckboxTester<T> - Class in com.vaadin.flow.component.checkbox
-
Tester for Checkbox components.
- CheckboxTester(T) - Constructor for class com.vaadin.flow.component.checkbox.CheckboxTester
-
Wrap given component for testing.
- checkEditableByUser(Component) - Static method in class com.vaadin.browserless.internal.BasicUtils
-
Checks that a component is actually editable by the user: The component must be effectively visible: it itself must be visible, its parent must be visible and all of its ascendants must be visible.
- classes() - Element in annotation interface com.vaadin.browserless.ViewPackages
-
Array of classes whose packages will be scanned for views
- cleanupDialogs() - Static method in class com.vaadin.browserless.internal.TestingLifecycleHooks
-
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. - cleanVaadinEnvironment() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Tears down mocked Vaadin.
- clear() - Method in class com.vaadin.browserless.ExecutedJavaScript
-
Forgets everything captured so far, so that the queries only see what is sent to the browser afterwards.
- clear() - Method in class com.vaadin.flow.component.datepicker.DatePickerLocator
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.datepicker.DatePickerTester
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.datetimepicker.DateTimePickerLocator
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.datetimepicker.DateTimePickerTester
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.html.InputLocator
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.html.InputTester
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.textfield.BigDecimalFieldLocator
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.textfield.EmailFieldLocator
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.textfield.IntegerFieldLocator
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.textfield.NumberFieldLocator
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.textfield.NumberFieldTester
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.textfield.PasswordFieldLocator
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.textfield.TextAreaLocator
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.textfield.TextAreaTester
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.textfield.TextFieldLocator
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.textfield.TextFieldTester
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.timepicker.TimePickerLocator
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clear() - Method in class com.vaadin.flow.component.timepicker.TimePickerTester
-
Empties the field, as when the user deletes its contents (or clicks the clear button, where one is shown).
- clearAsUser() - Method in class com.vaadin.browserless.ComponentTester
-
Empties the field as the user would, by setting the component's empty value.
- clearContext() - Method in interface com.vaadin.browserless.SecurityContextHandler
-
Clears the security context from the current thread.
- clearCurrentUI() - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Clears the current UI from thread-locals without firing detach events.
- clearLastNavigation() - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Clears the
lastNavigationThreadLocal recorded byMockVaadin.closeCurrentUI(boolean). - clearLocation() - Method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Clears the cached sensor fix.
- clearPwaClass(ApplicationRouteRegistry) - Static method in class com.vaadin.browserless.internal.Routes
-
Clears the PWA class config from the given registry.
- clearSelection() - Method in class com.vaadin.flow.component.listbox.MultiSelectListBoxLocator
-
Clear all selected items from the component.
- clearSelection() - Method in class com.vaadin.flow.component.listbox.MultiSelectListBoxTester
-
Clear all selected items from the component.
- clearUnavailable() - Method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Clears any cached sensor error.
- click() - Method in interface com.vaadin.browserless.Clickable
-
If the component is usable send click to component as if it was from the client.
- click() - Method in class com.vaadin.flow.component.html.AnchorLocator
-
Click the anchor for navigation if target is a registered route in the application.
- click() - Method in class com.vaadin.flow.component.html.AnchorTester
-
Click the anchor for navigation if target is a registered route in the application.
- click() - Method in class com.vaadin.flow.component.radiobutton.RadioButtonLocator
-
If the component is usable, send click to component as if it was from the client.
- click() - Method in class com.vaadin.flow.component.radiobutton.RadioButtonTester
-
If the component is usable, send click to component as if it was from the client.
- click() - Method in class com.vaadin.flow.component.routerlink.RouterLinkLocator
-
Click the router-link for navigation.
- click() - Method in class com.vaadin.flow.component.routerlink.RouterLinkTester
-
Click the router-link for navigation.
- click() - Method in class com.vaadin.flow.component.sidenav.SideNavLocator
-
Simulates a click on the SideNav label, expanding or collapsing item list.
- click() - Method in class com.vaadin.flow.component.sidenav.SideNavTester
-
Simulates a click on the SideNav label, expanding or collapsing item list.
- click(int, MetaKeys) - Method in interface com.vaadin.browserless.Clickable
-
Performs a click with the specified button and meta keys.
- click(int, MetaKeys) - Method in class com.vaadin.flow.component.checkbox.CheckboxLocator
- click(int, MetaKeys) - Method in class com.vaadin.flow.component.checkbox.CheckboxTester
- click(int, MetaKeys) - Method in class com.vaadin.flow.component.checkbox.SwitchLocator
-
Delegates to
SwitchTester.click(int,com.vaadin.browserless.MetaKeys). - click(int, MetaKeys) - Method in class com.vaadin.flow.component.checkbox.SwitchTester
- click(MetaKeys) - Method in interface com.vaadin.browserless.Clickable
-
If the component is usable send click to component as if it was from the client with defined meta keys pressed.
- Clickable<T> - Interface in com.vaadin.browserless
-
Mixin interface for component testers that support click simulation.
- clickChart() - Method in class com.vaadin.flow.component.charts.ChartLocator
-
Simulates a click on the chart, but not on legend items or points.
- clickChart() - Method in class com.vaadin.flow.component.charts.ChartTester
-
Simulates a click on the chart, but not on legend items or points.
- clickClearButton() - Method in class com.vaadin.flow.component.combobox.ComboBoxLocator
-
Clears the selection by clicking the clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.combobox.ComboBoxTester
-
Clears the selection by clicking the clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.combobox.MultiSelectComboBoxLocator
-
Clears the selection by clicking the clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.combobox.MultiSelectComboBoxTester
-
Clears the selection by clicking the clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.datepicker.DatePickerLocator
-
Empties the field by clicking its clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.datepicker.DatePickerTester
-
Empties the field by clicking its clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.textfield.BigDecimalFieldLocator
-
Empties the field by clicking its clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.textfield.EmailFieldLocator
-
Empties the field by clicking its clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.textfield.IntegerFieldLocator
-
Empties the field by clicking its clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.textfield.NumberFieldLocator
-
Empties the field by clicking its clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.textfield.NumberFieldTester
-
Empties the field by clicking its clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.textfield.PasswordFieldLocator
-
Empties the field by clicking its clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.textfield.TextAreaLocator
-
Empties the field by clicking its clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.textfield.TextAreaTester
-
Empties the field by clicking its clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.textfield.TextFieldLocator
-
Empties the field by clicking its clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.textfield.TextFieldTester
-
Empties the field by clicking its clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.timepicker.TimePickerLocator
-
Empties the field by clicking its clear button, as the user would.
- clickClearButton() - Method in class com.vaadin.flow.component.timepicker.TimePickerTester
-
Empties the field by clicking its clear button, as the user would.
- clickClearButtonAsUser() - Method in class com.vaadin.browserless.ComponentTester
-
Empties the field by clicking its clear button, as the user would.
- clickItem(int) - Method in class com.vaadin.flow.component.breadcrumbs.BreadcrumbsLocator
-
Simulates a click on the item at the given position in the trail, navigating to its path.
- clickItem(int) - Method in class com.vaadin.flow.component.breadcrumbs.BreadcrumbsTester
-
Simulates a click on the item at the given position in the trail, navigating to its path.
- clickItem(int, int...) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuLocator
-
Simulates a click on the item at the given position in the menu.
- clickItem(int, int...) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuTester
-
Simulates a click on the item at the given position in the menu.
- clickItem(int, int...) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
-
Simulates a click on the item at the given position in the menu.
- clickItem(int, int...) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Simulates a click on the item at the given position in the menu.
- clickItem(int, int...) - Method in class com.vaadin.flow.component.menubar.MenuBarLocator
-
Simulates a click on the item at the given position in the menu.
- clickItem(int, int...) - Method in class com.vaadin.flow.component.menubar.MenuBarTester
-
Simulates a click on the item at the given position in the menu.
- clickItem(String) - Method in class com.vaadin.flow.component.breadcrumbs.BreadcrumbsLocator
-
Simulates a click on the item that matches the given label, navigating to its path.
- clickItem(String) - Method in class com.vaadin.flow.component.breadcrumbs.BreadcrumbsTester
-
Simulates a click on the item that matches the given label, navigating to its path.
- clickItem(String, String...) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuLocator
-
Simulates a click on the item that matches the given text.
- clickItem(String, String...) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuTester
-
Simulates a click on the item that matches the given text.
- clickItem(String, String...) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
-
Simulates a click on the item that matches the given text.
- clickItem(String, String...) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Simulates a click on the item that matches the given text.
- clickItem(String, String...) - Method in class com.vaadin.flow.component.menubar.MenuBarLocator
-
Simulates a click on the item that matches the given text.
- clickItem(String, String...) - Method in class com.vaadin.flow.component.menubar.MenuBarTester
-
Simulates a click on the item that matches the given text.
- clickItem(String, String...) - Method in class com.vaadin.flow.component.sidenav.SideNavLocator
-
Simulates a click on the item that matches the given label.
- clickItem(String, String...) - Method in class com.vaadin.flow.component.sidenav.SideNavTester
-
Simulates a click on the item that matches the given label.
- clickLegendItem(String) - Method in class com.vaadin.flow.component.charts.ChartLocator
-
Simulates a click on the item of the legend with the given text.
- clickLegendItem(String) - Method in class com.vaadin.flow.component.charts.ChartTester
-
Simulates a click on the item of the legend with the given text.
- clickOutside() - Method in class com.vaadin.flow.component.dialog.DialogLocator
-
Simulates clicking outside the dialog to close it.
- clickOutside() - Method in class com.vaadin.flow.component.dialog.DialogTester
-
Simulates clicking outside the dialog to close it.
- clickOutside() - Method in class com.vaadin.flow.component.popover.PopoverLocator
-
Simulates clicking outside the popover to close it.
- clickOutside() - Method in class com.vaadin.flow.component.popover.PopoverTester
-
Simulates clicking outside the popover to close it.
- clickPoint(String, String) - Method in class com.vaadin.flow.component.charts.ChartLocator
-
Simulates a click on a point on the chart.
- clickPoint(String, String) - Method in class com.vaadin.flow.component.charts.ChartTester
-
Simulates a click on a point on the chart.
- clickRow(int) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Click on grid row.
- clickRow(int) - Method in class com.vaadin.flow.component.grid.GridTester
-
Click on grid row.
- clickRow(int) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Click on grid row.
- clickRow(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Click on grid row.
- clickRow(int, MetaKeys) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Click on grid row with given meta keys pressed.
- clickRow(int, MetaKeys) - Method in class com.vaadin.flow.component.grid.GridTester
-
Click on grid row with given meta keys pressed.
- clickRow(int, MetaKeys) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Click on grid row with given meta keys pressed.
- clickRow(int, MetaKeys) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Click on grid row with given meta keys pressed.
- clickRow(int, MouseButton) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Click on grid row with given button.
- clickRow(int, MouseButton) - Method in class com.vaadin.flow.component.grid.GridTester
-
Click on grid row with given button.
- clickRow(int, MouseButton) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Click on grid row with given button.
- clickRow(int, MouseButton) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Click on grid row with given button.
- clickRow(int, MouseButton, MetaKeys) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Click on grid row with given button and meta keys pressed.
- clickRow(int, MouseButton, MetaKeys) - Method in class com.vaadin.flow.component.grid.GridTester
-
Click on grid row with given button and meta keys pressed.
- clickRow(int, MouseButton, MetaKeys) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Click on grid row with given button and meta keys pressed.
- clickRow(int, MouseButton, MetaKeys) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Click on grid row with given button and meta keys pressed.
- clickTarget() - Method in class com.vaadin.flow.component.popover.PopoverLocator
-
Simulates clicking the target component to open the popover.
- clickTarget() - Method in class com.vaadin.flow.component.popover.PopoverTester
-
Simulates clicking the target component to open the popover.
- ClientDomEvent - Class in com.vaadin.browserless.internal
-
A DOM event as the browser dispatches it to the Flow client.
- clientRoundtrip() - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Since Browserless Testing runs in the same JVM as the server and there is no browser, the boundaries between the client and the server become unclear.
- close() - Method in class com.vaadin.browserless.BrowserlessApplicationContext
-
Closes this application context and all its user contexts.
- close() - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Closes this UI context and detaches the UI.
- close() - Method in class com.vaadin.browserless.BrowserlessUserContext
-
Closes this user context and all its windows.
- close() - Method in class com.vaadin.browserless.mocks.MockVaadinSession
- close() - Method in class com.vaadin.flow.component.contextmenu.ContextMenuLocator
-
Closes the context menu.
- close() - Method in class com.vaadin.flow.component.contextmenu.ContextMenuTester
-
Closes the context menu.
- close() - Method in class com.vaadin.flow.component.dialog.DialogLocator
-
Close the dialog from the server side, like the application calling
Dialog.close(). - close() - Method in class com.vaadin.flow.component.dialog.DialogTester
-
Close the dialog from the server side, like the application calling
Dialog.close(). - close() - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
-
Closes the context menu.
- close() - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Closes the context menu.
- close() - Method in class com.vaadin.flow.component.popover.PopoverLocator
-
Close the popover.
- close() - Method in class com.vaadin.flow.component.popover.PopoverTester
-
Close the popover.
- closeCurrentUI(boolean) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Clears the current UI.
- closeDetails() - Method in class com.vaadin.flow.component.accordion.AccordionLocator
-
Close the open accordion panel, as if the user clicked its summary.
- closeDetails() - Method in class com.vaadin.flow.component.accordion.AccordionTester
-
Close the open accordion panel, as if the user clicked its summary.
- closeDetails() - Method in class com.vaadin.flow.component.details.DetailsLocator
-
Hides contents as if the summary is clicked on the browser.
- closeDetails() - Method in class com.vaadin.flow.component.details.DetailsTester
-
Hides contents as if the summary is clicked on the browser.
- closeDetails(String) - Method in class com.vaadin.flow.component.accordion.AccordionLocator
-
Close the accordion panel with the given summary, as if the user clicked its summary.
- closeDetails(String) - Method in class com.vaadin.flow.component.accordion.AccordionTester
-
Close the accordion panel with the given summary, as if the user clicked its summary.
- collapse(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Collapses the node on the given row, as if the user clicked its collapse toggle in the browser.
- collapse(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridTester
-
Collapses the node on the given row, as if the user clicked its collapse toggle in the browser.
- com.vaadin.browserless - package com.vaadin.browserless
- com.vaadin.browserless.component - package com.vaadin.browserless.component
- com.vaadin.browserless.internal - package com.vaadin.browserless.internal
- com.vaadin.browserless.locator - package com.vaadin.browserless.locator
- com.vaadin.browserless.mocks - package com.vaadin.browserless.mocks
- com.vaadin.flow.component - package com.vaadin.flow.component
- com.vaadin.flow.component.accordion - package com.vaadin.flow.component.accordion
- com.vaadin.flow.component.avatar - package com.vaadin.flow.component.avatar
- com.vaadin.flow.component.breadcrumbs - package com.vaadin.flow.component.breadcrumbs
- com.vaadin.flow.component.button - package com.vaadin.flow.component.button
- com.vaadin.flow.component.card - package com.vaadin.flow.component.card
- com.vaadin.flow.component.charts - package com.vaadin.flow.component.charts
- com.vaadin.flow.component.checkbox - package com.vaadin.flow.component.checkbox
- com.vaadin.flow.component.combobox - package com.vaadin.flow.component.combobox
- com.vaadin.flow.component.confirmdialog - package com.vaadin.flow.component.confirmdialog
- com.vaadin.flow.component.contextmenu - package com.vaadin.flow.component.contextmenu
- com.vaadin.flow.component.dashboard - package com.vaadin.flow.component.dashboard
- com.vaadin.flow.component.datepicker - package com.vaadin.flow.component.datepicker
- com.vaadin.flow.component.datetimepicker - package com.vaadin.flow.component.datetimepicker
- com.vaadin.flow.component.details - package com.vaadin.flow.component.details
- com.vaadin.flow.component.dialog - package com.vaadin.flow.component.dialog
- com.vaadin.flow.component.geolocation - package com.vaadin.flow.component.geolocation
-
Browserless test support for the Flow
Geolocation API. - com.vaadin.flow.component.grid - package com.vaadin.flow.component.grid
- com.vaadin.flow.component.grid.contextmenu - package com.vaadin.flow.component.grid.contextmenu
- com.vaadin.flow.component.gridpro - package com.vaadin.flow.component.gridpro
- com.vaadin.flow.component.html - package com.vaadin.flow.component.html
- com.vaadin.flow.component.listbox - package com.vaadin.flow.component.listbox
- com.vaadin.flow.component.login - package com.vaadin.flow.component.login
- com.vaadin.flow.component.markdown - package com.vaadin.flow.component.markdown
- com.vaadin.flow.component.masterdetaillayout - package com.vaadin.flow.component.masterdetaillayout
- com.vaadin.flow.component.menubar - package com.vaadin.flow.component.menubar
- com.vaadin.flow.component.messages - package com.vaadin.flow.component.messages
- com.vaadin.flow.component.notification - package com.vaadin.flow.component.notification
- com.vaadin.flow.component.popover - package com.vaadin.flow.component.popover
- com.vaadin.flow.component.radiobutton - package com.vaadin.flow.component.radiobutton
- com.vaadin.flow.component.routerlink - package com.vaadin.flow.component.routerlink
- com.vaadin.flow.component.select - package com.vaadin.flow.component.select
- com.vaadin.flow.component.sidenav - package com.vaadin.flow.component.sidenav
- com.vaadin.flow.component.slider - package com.vaadin.flow.component.slider
- com.vaadin.flow.component.splitlayout - package com.vaadin.flow.component.splitlayout
- com.vaadin.flow.component.tabs - package com.vaadin.flow.component.tabs
- com.vaadin.flow.component.textfield - package com.vaadin.flow.component.textfield
- com.vaadin.flow.component.timepicker - package com.vaadin.flow.component.timepicker
- com.vaadin.flow.component.treegrid - package com.vaadin.flow.component.treegrid
- com.vaadin.flow.component.upload - package com.vaadin.flow.component.upload
- com.vaadin.flow.component.virtuallist - package com.vaadin.flow.component.virtuallist
- ComboBoxLocator<Y> - Class in com.vaadin.flow.component.combobox
-
Generated locator for
ComboBox, derived fromComboBoxTester. - ComboBoxLocator(ComboBox<Y>) - Constructor for class com.vaadin.flow.component.combobox.ComboBoxLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- ComboBoxLocator(Class<Y>) - Constructor for class com.vaadin.flow.component.combobox.ComboBoxLocator
-
Creates a locator that searches for a
ComboBox. - ComboBoxTester<T,
Y> - Class in com.vaadin.flow.component.combobox -
Tester for ComboBox components.
- ComboBoxTester(T) - Constructor for class com.vaadin.flow.component.combobox.ComboBoxTester
-
Wrap given component for testing.
- CommercialLocators - Interface in com.vaadin.browserless.locator
-
Mixin offering typed locator entry points for commercial Vaadin components (Charts, etc.).
- CommercialTesterWrappers - Interface in com.vaadin.browserless
-
Provides factory method to create testers for commercial components.
- component() - Method in class com.vaadin.browserless.locator.Locator
-
Resolves the locator to a single matching component, caching the result.
- ComponentQuery<T> - Class in com.vaadin.browserless
-
Query class used for finding a component inside a given search context.
- ComponentQuery(Class<T>) - Constructor for class com.vaadin.browserless.ComponentQuery
-
Creates a new instance of
ComponentQueryto search for components of given type. - components() - Method in class com.vaadin.browserless.locator.Locator
-
Returns all matching components, bypassing the cache.
- ComponentSupport - Interface in com.vaadin.browserless.internal
-
Teaches the mocked environment about specific component types, so the environment itself only depends on Flow.
- ComponentTester<T> - Class in com.vaadin.browserless
-
Test wrapper for components with helpful methods for testing a component.
- ComponentTester(T) - Constructor for class com.vaadin.browserless.ComponentTester
-
Wrap given component for testing.
- ComponentTesterPackages - Annotation Interface in com.vaadin.browserless
-
Annotation to use to scan given packages for component wrappers outside the default
com.vaadin.flow.component. - ComponentUtils - Class in com.vaadin.browserless.internal
-
Utilities for working with
Components. - confirm() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogLocator
-
Click the confirm button.
- confirm() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogTester
-
Click the confirm button.
- ConfirmDialogLocator - Class in com.vaadin.flow.component.confirmdialog
-
Generated locator for
ConfirmDialog, derived fromConfirmDialogTester. - ConfirmDialogLocator() - Constructor for class com.vaadin.flow.component.confirmdialog.ConfirmDialogLocator
-
Creates a locator that searches for a
ConfirmDialog. - ConfirmDialogLocator(ConfirmDialog) - Constructor for class com.vaadin.flow.component.confirmdialog.ConfirmDialogLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- ConfirmDialogTester - Class in com.vaadin.flow.component.confirmdialog
-
Tester for ConfirmDialog.
- ConfirmDialogTester(ConfirmDialog) - Constructor for class com.vaadin.flow.component.confirmdialog.ConfirmDialogTester
-
Wrap given component for testing.
- contains(int) - Method in class com.vaadin.browserless.internal.CountRange
-
Tells whether the given count falls in this range.
- containsHeader(String) - Method in class com.vaadin.browserless.mocks.MockResponse
- containsKey(Object) - Method in class com.vaadin.browserless.mocks.SessionAttributeMap
- containsText(String) - Static method in class com.vaadin.browserless.ElementConditions
-
Checks if text content of the component contains the given text.
- containsText(String, boolean) - Static method in class com.vaadin.browserless.ElementConditions
-
Checks if text content of the component contains the given text.
- containsWhitespace(String) - Static method in class com.vaadin.browserless.internal.Utils
-
Checks whether given string contains any whitespace character.
- contextMenu(int) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Gets a tester for the context menu of this grid, targeting the given row.
- contextMenu(int) - Method in class com.vaadin.flow.component.grid.GridTester
-
Gets a tester for the context menu of this grid, targeting the given row.
- contextMenu(int) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Gets a tester for the context menu of this grid, targeting the given row.
- contextMenu(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Gets a tester for the context menu of this grid, targeting the given row.
- ContextMenuLocator - Class in com.vaadin.flow.component.contextmenu
-
Generated locator for
ContextMenu, derived fromContextMenuTester. - ContextMenuLocator() - Constructor for class com.vaadin.flow.component.contextmenu.ContextMenuLocator
-
Creates a locator that searches for a
ContextMenu. - ContextMenuLocator(ContextMenu) - Constructor for class com.vaadin.flow.component.contextmenu.ContextMenuLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- ContextMenuTester<T> - Class in com.vaadin.flow.component.contextmenu
-
Tester for ContextMenu components.
- ContextMenuTester(T) - Constructor for class com.vaadin.flow.component.contextmenu.ContextMenuTester
-
Wrap given component for testing.
- copy(VaadinSession, VaadinRequest, VaadinResponse, MockHttpSession) - Method in class com.vaadin.browserless.internal.SessionObjects
-
Returns a copy of this group with the given objects in place of the current ones.
- copy(Set<Class<? extends Component>>, Set<Class<? extends HasErrorParameter<?>>>, Set<Class<? extends RouterLayout>>, boolean) - Method in class com.vaadin.browserless.internal.Routes
-
Creates a new configuration with the given values; the sets are not copied.
- copyAttributes(HttpSession) - Method in class com.vaadin.browserless.mocks.MockHttpSession
-
Copies all attributes of the given session into this one, keeping the attributes already present.
- CountRange - Class in com.vaadin.browserless.internal
-
An inclusive range of component counts a lookup will accept.
- CountRange(int, int) - Constructor for class com.vaadin.browserless.internal.CountRange
-
Creates a range.
- create(UI) - Method in class com.vaadin.flow.component.geolocation.BrowserlessGeolocationClientFactory
- create(Instantiator) - Static method in class com.vaadin.browserless.mocks.MockInstantiator
-
Deprecated.Returns
delegateas is: wrapping it changes nothing, and a wrapper risks dropping methods added toInstantiatorin the future. - create(ServletContext) - Static method in class com.vaadin.browserless.mocks.MockHttpSession
-
Creates a session in the given context, with a fresh sequential id and a 30 second inactive interval.
- create(Class<?>...) - Static method in class com.vaadin.browserless.BrowserlessApplicationContext
-
Creates a plain Java application context, scanning the packages of the given classes for
@Route-annotated views. - create(String...) - Static method in class com.vaadin.browserless.BrowserlessApplicationContext
-
Creates a plain Java application context, scanning the given packages for
@Route-annotated views. - create(UnaryOperator<BrowserlessApplicationContext.Builder>) - Static method in class com.vaadin.browserless.BrowserlessApplicationContext
-
Creates a plain Java application context, applying the given configurer to a fresh builder before
buildingit. - createComponent(Class<T>) - Method in class com.vaadin.browserless.mocks.MockInstantiator
-
Deprecated.
- createCredentials(String, String...) - Method in interface com.vaadin.browserless.SecurityContextHandler
-
Builds framework-specific credentials for the given username and roles.
- createDeploymentConfiguration() - Method in class com.vaadin.browserless.mocks.MockVaadinServlet
- createFilter(Class<T>) - Method in class com.vaadin.browserless.mocks.MockContext
- createListener(Class<T>) - Method in class com.vaadin.browserless.mocks.MockContext
- createMockContext() - Static method in class com.vaadin.browserless.mocks.MockVaadinHelper
-
Creates a context holding a
Lookupwith Vaadin's own services. - createMockContext(Set<Class<?>>) - Static method in class com.vaadin.browserless.mocks.MockVaadinHelper
-
Creates a context holding a
Lookupwith Vaadin's own services plus the given ones. - createMockVaadinContext() - Static method in class com.vaadin.browserless.mocks.MockVaadinHelper
-
Creates a
VaadinContextwrapping a freshMockVaadinHelper.createMockContext(). - createRange(Double, Double) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderTester
- createRange(Integer, Integer) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderTester
- createRouteTarget(Class<T>, NavigationEvent) - Method in class com.vaadin.browserless.mocks.MockInstantiator
-
Deprecated.
- createSecured(Function<BrowserlessApplicationContext.Builder, SecuredBrowserlessApplicationContext.Builder<C>>) - Static method in class com.vaadin.browserless.BrowserlessApplicationContext
-
Creates a credential-typed application context.
- createServlet(Class<T>) - Method in class com.vaadin.browserless.mocks.MockContext
- createServletService(DeploymentConfiguration) - Method in class com.vaadin.browserless.mocks.MockVaadinServlet
- createSessionObjects(VaadinServletService) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Creates a new session, request and response for the given
service, but does NOT set any thread-locals or create a UI. - createUI(UIFactory, VaadinSession) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Creates a UI with the given factory and attaches it to the given session, which must be the current one.
- createVaadinSession(VaadinRequest) - Method in class com.vaadin.browserless.mocks.MockService
- createVaadinSession(VaadinService, VaadinRequest) - Static method in class com.vaadin.browserless.mocks.MockVaadinServlet
-
Creates a session by calling the protected
VaadinService.createVaadinSession(VaadinRequest). - createWebBrowser(VaadinRequest) - Static method in class com.vaadin.browserless.mocks.MockVaadinServlet
-
Creates the browser details the session reports.
- ctrl() - Method in class com.vaadin.browserless.MetaKeys
-
Set ctrl key down to
true. - current() - Static method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Returns the simulator bound to
UI.getCurrent().
D
- DashboardLocator - Class in com.vaadin.flow.component.dashboard
-
Generated locator for
Dashboard, derived fromDashboardTester. - DashboardLocator() - Constructor for class com.vaadin.flow.component.dashboard.DashboardLocator
-
Creates a locator that searches for a
Dashboard. - DashboardLocator(Dashboard) - Constructor for class com.vaadin.flow.component.dashboard.DashboardLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- DashboardTester<T> - Class in com.vaadin.flow.component.dashboard
-
Tester for the
Dashboardcomponent. - DashboardTester(T) - Constructor for class com.vaadin.flow.component.dashboard.DashboardTester
-
Wrap given component for testing.
- DatePickerLocator - Class in com.vaadin.flow.component.datepicker
-
Generated locator for
DatePicker, derived fromDatePickerTester. - DatePickerLocator() - Constructor for class com.vaadin.flow.component.datepicker.DatePickerLocator
-
Creates a locator that searches for a
DatePicker. - DatePickerLocator(DatePicker) - Constructor for class com.vaadin.flow.component.datepicker.DatePickerLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- DatePickerTester<T> - Class in com.vaadin.flow.component.datepicker
-
Tester for the DatePicker components.
- DatePickerTester(T) - Constructor for class com.vaadin.flow.component.datepicker.DatePickerTester
-
Wrap given component for testing.
- DateTimePickerLocator - Class in com.vaadin.flow.component.datetimepicker
-
Generated locator for
DateTimePicker, derived fromDateTimePickerTester. - DateTimePickerLocator() - Constructor for class com.vaadin.flow.component.datetimepicker.DateTimePickerLocator
-
Creates a locator that searches for a
DateTimePicker. - DateTimePickerLocator(DateTimePicker) - Constructor for class com.vaadin.flow.component.datetimepicker.DateTimePickerLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- DateTimePickerTester<T> - Class in com.vaadin.flow.component.datetimepicker
-
Tester for DateTimePicker components.
- DateTimePickerTester(T) - Constructor for class com.vaadin.flow.component.datetimepicker.DateTimePickerTester
-
Wrap given component for testing.
- DecimalRangeSliderLocator - Class in com.vaadin.flow.component.slider
-
Generated locator for
DecimalRangeSlider, derived fromDecimalRangeSliderTester. - DecimalRangeSliderLocator() - Constructor for class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
-
Creates a locator that searches for a
DecimalRangeSlider. - DecimalRangeSliderLocator(DecimalRangeSlider) - Constructor for class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- DecimalRangeSliderTester<T> - Class in com.vaadin.flow.component.slider
-
Tester for DecimalRangeSlider components.
- DecimalRangeSliderTester(T) - Constructor for class com.vaadin.flow.component.slider.DecimalRangeSliderTester
-
Wrap given component for testing.
- DecimalSliderLocator - Class in com.vaadin.flow.component.slider
-
Generated locator for
DecimalSlider, derived fromDecimalSliderTester. - DecimalSliderLocator() - Constructor for class com.vaadin.flow.component.slider.DecimalSliderLocator
-
Creates a locator that searches for a
DecimalSlider. - DecimalSliderLocator(DecimalSlider) - Constructor for class com.vaadin.flow.component.slider.DecimalSliderLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- DecimalSliderTester<T> - Class in com.vaadin.flow.component.slider
-
Tester for DecimalSlider components.
- DecimalSliderTester(T) - Constructor for class com.vaadin.flow.component.slider.DecimalSliderTester
-
Wrap given component for testing.
- declareRoles(String...) - Method in class com.vaadin.browserless.mocks.MockContext
- decrease() - Method in class com.vaadin.flow.component.html.RangeInputLocator
-
Decreases the value by the amount defined by component step.
- decrease() - Method in class com.vaadin.flow.component.html.RangeInputTester
-
Decreases the value by the amount defined by component step.
- decrease(int) - Method in class com.vaadin.flow.component.html.RangeInputLocator
-
Decreases the value by a specified multiple of the component step setting.
- decrease(int) - Method in class com.vaadin.flow.component.html.RangeInputTester
-
Decreases the value by a specified multiple of the component step setting.
- decrement() - Method in class com.vaadin.flow.component.slider.DecimalSliderLocator
-
Simulates the user pressing the Left/Down arrow key to decrease the value by one step.
- decrement() - Method in class com.vaadin.flow.component.slider.IntegerSliderLocator
-
Simulates the user pressing the Left/Down arrow key to decrease the value by one step.
- decrement() - Method in class com.vaadin.flow.component.slider.DecimalSliderTester
-
Simulates the user pressing the Left/Down arrow key to decrease the value by one step.
- decrement() - Method in class com.vaadin.flow.component.slider.IntegerSliderTester
-
Simulates the user pressing the Left/Down arrow key to decrease the value by one step.
- decrementBy(int) - Method in class com.vaadin.flow.component.slider.DecimalSliderLocator
-
Simulates the user dragging the slider handle to decrease the value by the given number of steps.
- decrementBy(int) - Method in class com.vaadin.flow.component.slider.IntegerSliderLocator
-
Simulates the user dragging the slider handle to decrease the value by the given number of steps.
- decrementBy(int) - Method in class com.vaadin.flow.component.slider.DecimalSliderTester
-
Simulates the user dragging the slider handle to decrease the value by the given number of steps.
- decrementBy(int) - Method in class com.vaadin.flow.component.slider.IntegerSliderTester
-
Simulates the user dragging the slider handle to decrease the value by the given number of steps.
- decrementEnd() - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
-
Simulates pressing the arrow key on the end thumb to decrease end by one step.
- decrementEnd() - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
-
Simulates pressing the arrow key on the end thumb to decrease end by one step.
- decrementEnd() - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderTester
-
Simulates pressing the arrow key on the end thumb to decrease end by one step.
- decrementEnd() - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderTester
-
Simulates pressing the arrow key on the end thumb to decrease end by one step.
- decrementEndBy(int) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
-
Simulates the user dragging the end thumb to decrease end by the given number of steps.
- decrementEndBy(int) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
-
Simulates the user dragging the end thumb to decrease end by the given number of steps.
- decrementEndBy(int) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderTester
-
Simulates the user dragging the end thumb to decrease end by the given number of steps.
- decrementEndBy(int) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderTester
-
Simulates the user dragging the end thumb to decrease end by the given number of steps.
- decrementStart() - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
-
Simulates pressing the arrow key on the start thumb to decrease start by one step.
- decrementStart() - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
-
Simulates pressing the arrow key on the start thumb to decrease start by one step.
- decrementStart() - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderTester
-
Simulates pressing the arrow key on the start thumb to decrease start by one step.
- decrementStart() - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderTester
-
Simulates pressing the arrow key on the start thumb to decrease start by one step.
- decrementStartBy(int) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
-
Simulates the user dragging the start thumb to decrease start by the given number of steps.
- decrementStartBy(int) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
-
Simulates the user dragging the start thumb to decrease start by the given number of steps.
- decrementStartBy(int) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderTester
-
Simulates the user dragging the start thumb to decrease start by the given number of steps.
- decrementStartBy(int) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderTester
-
Simulates the user dragging the start thumb to decrease start by the given number of steps.
- DEFAULT - Static variable in interface com.vaadin.browserless.internal.TestingLifecycleHook
-
A hook that does nothing beyond the default implementations below.
- denyPermission() - Method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Sets permission to
DENIED. - DepthFirstTreeIterator<T> - Class in com.vaadin.browserless.internal
-
Walks the child tree, depth-first: first the node, then its descendants, then its next sibling.
- DepthFirstTreeIterator(T, Function<? super T, ? extends List<? extends T>>) - Constructor for class com.vaadin.browserless.internal.DepthFirstTreeIterator
-
Creates the iterator.
- describe(Component, List<String>) - Method in interface com.vaadin.browserless.internal.ComponentSupport
-
Adds component-specific details to the one-line description produced by
PrettyPrintTree.toPrettyString(Component). - describe(Component, List<String>) - Method in class com.vaadin.browserless.internal.FlowComponentsSupport
- DescriptionListLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
DescriptionList, derived fromDescriptionListTester. - DescriptionListLocator() - Constructor for class com.vaadin.flow.component.html.DescriptionListLocator
-
Creates a locator that searches for a
DescriptionList. - DescriptionListLocator(DescriptionList) - Constructor for class com.vaadin.flow.component.html.DescriptionListLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- DescriptionListTester - Class in com.vaadin.flow.component.html
-
Tester for DescriptionList components.
- DescriptionListTester(DescriptionList) - Constructor for class com.vaadin.flow.component.html.DescriptionListTester
-
Wrap given component for testing.
- deselect(int) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Deselect the item on given row.
- deselect(int) - Method in class com.vaadin.flow.component.grid.GridTester
-
Deselect the item on given row.
- deselect(int) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Deselect the item on given row.
- deselect(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Deselect the item on given row.
- deselectAll() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupLocator
-
Deselects all client usable items.
- deselectAll() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupTester
-
Deselects all client usable items.
- deselectAll() - Method in class com.vaadin.flow.component.grid.GridLocator
-
Deselect all items in grid, running the same code as when the select all checkbox is unchecked.
- deselectAll() - Method in class com.vaadin.flow.component.grid.GridTester
-
Deselect all items in grid, running the same code as when the select all checkbox is unchecked.
- deselectAll() - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Deselect all items in grid, running the same code as when the select all checkbox is unchecked.
- deselectAll() - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Deselect all items in grid, running the same code as when the select all checkbox is unchecked.
- deselectItem() - Method in class com.vaadin.flow.component.radiobutton.RadioButtonGroupLocator
-
Deselects item selection.
- deselectItem() - Method in class com.vaadin.flow.component.radiobutton.RadioButtonGroupTester
-
Deselects item selection.
- deselectItem(String) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupLocator
-
Deselects an item by its client string representation.
- deselectItem(String) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupTester
-
Deselects an item by its client string representation.
- deselectItems(String...) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupLocator
-
Deselects multiple items by client string representation.
- deselectItems(String...) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupTester
-
Deselects multiple items by client string representation.
- deselectItems(String...) - Method in class com.vaadin.flow.component.listbox.MultiSelectListBoxLocator
-
Deselect item(s) by client string representation.
- deselectItems(String...) - Method in class com.vaadin.flow.component.listbox.MultiSelectListBoxTester
-
Deselect item(s) by client string representation.
- deselectItems(Collection<String>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupLocator
-
Deselects items by client string representation.
- deselectItems(Collection<String>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupTester
-
Deselects items by client string representation.
- deserialize(byte[]) - Static method in class com.vaadin.browserless.internal.Utils
-
Deserializes an object from given byte array using Java serialization.
- destroy() - Method in class com.vaadin.browserless.mocks.MockHttpSession
-
Drops all attributes, leaving the session itself valid.
- DetailsLocator - Class in com.vaadin.flow.component.details
-
Generated locator for
Details, derived fromDetailsTester. - DetailsLocator() - Constructor for class com.vaadin.flow.component.details.DetailsLocator
-
Creates a locator that searches for a
Details. - DetailsLocator(Details) - Constructor for class com.vaadin.flow.component.details.DetailsLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- DetailsTester<T> - Class in com.vaadin.flow.component.details
-
Tester for Details components.
- DetailsTester(T) - Constructor for class com.vaadin.flow.component.details.DetailsTester
-
Wrap given component for testing.
- DialogLocator - Class in com.vaadin.flow.component.dialog
-
Generated locator for
Dialog, derived fromDialogTester. - DialogLocator() - Constructor for class com.vaadin.flow.component.dialog.DialogLocator
-
Creates a locator that searches for a
Dialog. - DialogLocator(Dialog) - Constructor for class com.vaadin.flow.component.dialog.DialogLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- DialogTester - Class in com.vaadin.flow.component.dialog
-
Tester for Dialog components.
- DialogTester(Dialog) - Constructor for class com.vaadin.flow.component.dialog.DialogTester
-
Wrap given component for testing.
- discoverRoutes() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Equivalent to
discoverRoutes(scanPackages()). - discoverRoutes(Set<String>) - Static method in class com.vaadin.browserless.BaseBrowserlessTest
-
Discover and return Routes for mocked Vaadin core system.
- dispatch(UI) - Static method in class com.vaadin.browserless.JavaScriptDispatcher
-
Sends the pending JavaScript of the given UI to the simulated client: runs the tasks scheduled with
UI.beforeClientResponse, then takes the whole queue and offers each invocation to the handlers. - dispatch(Element, String, Map<String, ?>) - Static method in class com.vaadin.browserless.internal.ClientDomEvent
-
Dispatches an event of the given type on the given element, the way the browser does: the registered expressions are evaluated against an event object with the given properties, giving the event data and whether the default action was prevented.
- dispatchKeyDown(Element, Key, Collection<? extends Key>) - Static method in class com.vaadin.browserless.internal.ClientDomEvent
-
Dispatches a
keydownevent of the given key on the given element, with the given modifiers pressed, the way the browser does when the user presses the keys. - DivLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
Div, derived fromDivTester. - DivLocator() - Constructor for class com.vaadin.flow.component.html.DivLocator
-
Creates a locator that searches for a
Div. - DivLocator(Div) - Constructor for class com.vaadin.flow.component.html.DivLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- DivTester - Class in com.vaadin.flow.component.html
-
Tester for Div components.
- DivTester(Div) - Constructor for class com.vaadin.flow.component.html.DivTester
-
Wrap given component for testing.
- doubleClickRow(int) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Double-click on grid row.
- doubleClickRow(int) - Method in class com.vaadin.flow.component.grid.GridTester
-
Double-click on grid row.
- doubleClickRow(int) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Double-click on grid row.
- doubleClickRow(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Double-click on grid row.
- doubleClickRow(int, MetaKeys) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Double-click on grid row with given meta keys pressed.
- doubleClickRow(int, MetaKeys) - Method in class com.vaadin.flow.component.grid.GridTester
-
Double-click on grid row with given meta keys pressed.
- doubleClickRow(int, MetaKeys) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Double-click on grid row with given meta keys pressed.
- doubleClickRow(int, MetaKeys) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Double-click on grid row with given meta keys pressed.
- doubleClickRow(int, MouseButton) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Double-click on grid row with given button.
- doubleClickRow(int, MouseButton) - Method in class com.vaadin.flow.component.grid.GridTester
-
Double-click on grid row with given button.
- doubleClickRow(int, MouseButton) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Double-click on grid row with given button.
- doubleClickRow(int, MouseButton) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Double-click on grid row with given button.
- doubleClickRow(int, MouseButton, MetaKeys) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Double-click on grid row with given button and meta keys pressed.
- doubleClickRow(int, MouseButton, MetaKeys) - Method in class com.vaadin.flow.component.grid.GridTester
-
Double-click on grid row with given button and meta keys pressed.
- doubleClickRow(int, MouseButton, MetaKeys) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Double-click on grid row with given button and meta keys pressed.
- doubleClickRow(int, MouseButton, MetaKeys) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Double-click on grid row with given button and meta keys pressed.
- download(OutputStream) - Method in class com.vaadin.flow.component.html.AnchorLocator
-
Download the stream resource linked by the anchor.
- download(OutputStream) - Method in class com.vaadin.flow.component.html.AnchorTester
-
Download the stream resource linked by the anchor.
- dragSplitterTo(double) - Method in class com.vaadin.flow.component.splitlayout.SplitLayoutLocator
-
Simulates the user dragging the splitter so that the primary split gets the given percentage of the available space.
- dragSplitterTo(double) - Method in class com.vaadin.flow.component.splitlayout.SplitLayoutTester
-
Simulates the user dragging the splitter so that the primary split gets the given percentage of the available space.
- drop(File...) - Method in class com.vaadin.flow.component.upload.UploadDropZoneLocator
-
Simulates the user dropping the given files on the drop zone.
- drop(File...) - Method in class com.vaadin.flow.component.upload.UploadDropZoneTester
-
Simulates the user dropping the given files on the drop zone.
- drop(String, String, byte[]) - Method in class com.vaadin.flow.component.upload.UploadDropZoneLocator
-
Simulates the user dropping a file with the given name, content type and contents on the drop zone.
- drop(String, String, byte[]) - Method in class com.vaadin.flow.component.upload.UploadDropZoneTester
-
Simulates the user dropping a file with the given name, content type and contents on the drop zone.
- drop(Collection<File>) - Method in class com.vaadin.flow.component.upload.UploadDropZoneLocator
-
Simulates the user dropping the given files on the drop zone.
- drop(Collection<File>) - Method in class com.vaadin.flow.component.upload.UploadDropZoneTester
-
Simulates the user dropping the given files on the drop zone.
E
- ElementConditions - Class in com.vaadin.browserless
-
A collection of commons predicates to be used as
ComponentQueryconditions. - ElementUtils - Class in com.vaadin.browserless.internal
-
Utilities for working with
Elements. - ellipsize(String, int, String) - Static method in class com.vaadin.browserless.internal.Utils
-
Shortens given string to at most
maxLengthcharacters, ending it withellipsizeif it had to be shortened. - EmailFieldLocator - Class in com.vaadin.flow.component.textfield
-
Generated locator for
EmailField, derived fromTextFieldTester. - EmailFieldLocator() - Constructor for class com.vaadin.flow.component.textfield.EmailFieldLocator
-
Creates a locator that searches for a
EmailField. - EmailFieldLocator(EmailField) - Constructor for class com.vaadin.flow.component.textfield.EmailFieldLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- EmphasisLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
Emphasis, derived fromEmphasisTester. - EmphasisLocator() - Constructor for class com.vaadin.flow.component.html.EmphasisLocator
-
Creates a locator that searches for a
Emphasis. - EmphasisLocator(Emphasis) - Constructor for class com.vaadin.flow.component.html.EmphasisLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- EmphasisTester - Class in com.vaadin.flow.component.html
-
Tester for Emphasis components.
- EmphasisTester(Emphasis) - Constructor for class com.vaadin.flow.component.html.EmphasisTester
-
Wrap given component for testing.
- empty() - Static method in class com.vaadin.browserless.BrowserlessConfiguration
-
Gets a configuration that does not customize the Vaadin environment.
- encodeRedirectURL(String) - Method in class com.vaadin.browserless.mocks.MockResponse
- encodeURL(String) - Method in class com.vaadin.browserless.mocks.MockResponse
- ensureComponentIsUsable() - Method in interface com.vaadin.browserless.Clickable
-
Ensures the component is in a usable state before interaction.
- ensureComponentIsUsable() - Method in class com.vaadin.browserless.ComponentTester
-
Checks that wrapped component is usable, otherwise throws an
IllegalStateExceptionwith details on the current state of the component. - ensureComponentIsUsable() - Method in class com.vaadin.flow.component.accordion.AccordionLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.avatar.AvatarGroupLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.breadcrumbs.BreadcrumbsLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.button.ButtonLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.card.CardLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.charts.ChartLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.checkbox.CheckboxLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.checkbox.SwitchLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.combobox.ComboBoxLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.combobox.MultiSelectComboBoxLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.contextmenu.ContextMenuLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.dashboard.DashboardLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.datepicker.DatePickerLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.datetimepicker.DateTimePickerLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.details.DetailsLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.dialog.DialogLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.grid.GridLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.gridpro.GridProLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.AnchorLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.DescriptionListLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.DivLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.EmphasisLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.H1Locator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.H2Locator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.H3Locator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.H4Locator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.H5Locator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.H6Locator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.HrLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.ImageLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.InputLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.ListItemLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.NativeButtonLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.NativeDetailsLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.NativeLabelLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.OrderedListLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.ParagraphLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.PreLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.RangeInputLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.SpanLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.html.UnorderedListLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.listbox.ListBoxLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.listbox.MultiSelectListBoxLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.login.LoginFormLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.login.LoginOverlayLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.markdown.MarkdownLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.masterdetaillayout.MasterDetailLayoutLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.menubar.MenuBarLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.messages.MessageInputLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.messages.MessageListLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.notification.NotificationLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.popover.PopoverLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.radiobutton.RadioButtonGroupLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.radiobutton.RadioButtonLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.routerlink.RouterLinkLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.select.SelectLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.sidenav.SideNavLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.slider.DecimalSliderLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.slider.IntegerSliderLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.splitlayout.SplitLayoutLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.tabs.TabSheetLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.tabs.TabsLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.textfield.BigDecimalFieldLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.textfield.EmailFieldLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.textfield.IntegerFieldLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.textfield.NumberFieldLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.textfield.PasswordFieldLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.textfield.TextAreaLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.textfield.TextFieldLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.TextLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.timepicker.TimePickerLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.upload.UploadButtonLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.upload.UploadDropZoneLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.upload.UploadFileListLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.upload.UploadLocator
- ensureComponentIsUsable() - Method in class com.vaadin.flow.component.virtuallist.VirtualListLocator
- ensureComponentIsUsable(Component, Predicate<Component>) - Static method in class com.vaadin.browserless.ComponentTester
-
Throws an
IllegalStateExceptionwith details on the current state of the component if it is not usable according to the provided test. - ensureComponentIsUsableOrDetach() - Method in class com.vaadin.browserless.ComponentTester
-
Checks that the wrapped component is usable and, if it is not, detaches it from the UI before rethrowing.
- ensureUploaded() - Method in class com.vaadin.flow.component.upload.UploadButtonLocator
-
Checks that the last upload through the
UploadManagerthe button is linked to delivered every one of its files, and fails otherwise. - ensureUploaded() - Method in class com.vaadin.flow.component.upload.UploadButtonTester
-
Checks that the last upload through the
UploadManagerthe button is linked to delivered every one of its files, and fails otherwise. - ensureUploaded() - Method in class com.vaadin.flow.component.upload.UploadDropZoneLocator
-
Checks that the last upload through the
UploadManagerthe drop zone is linked to delivered every one of its files, and fails otherwise. - ensureUploaded() - Method in class com.vaadin.flow.component.upload.UploadDropZoneTester
-
Checks that the last upload through the
UploadManagerthe drop zone is linked to delivered every one of its files, and fails otherwise. - ensureUploaded() - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Checks that the upload last simulated on this component delivered every one of its files, and fails otherwise.
- ensureUploaded() - Method in class com.vaadin.flow.component.upload.UploadTester
-
Checks that the upload last simulated on this component delivered every one of its files, and fails otherwise.
- ensureUploadFailed() - Method in class com.vaadin.flow.component.upload.UploadButtonLocator
-
Checks that at least one file of the last upload through the
UploadManagerthe button is linked to failed or was rejected, and fails otherwise. - ensureUploadFailed() - Method in class com.vaadin.flow.component.upload.UploadButtonTester
-
Checks that at least one file of the last upload through the
UploadManagerthe button is linked to failed or was rejected, and fails otherwise. - ensureUploadFailed() - Method in class com.vaadin.flow.component.upload.UploadDropZoneLocator
-
Checks that at least one file of the last upload through the
UploadManagerthe drop zone is linked to failed or was rejected, and fails otherwise. - ensureUploadFailed() - Method in class com.vaadin.flow.component.upload.UploadDropZoneTester
-
Checks that at least one file of the last upload through the
UploadManagerthe drop zone is linked to failed or was rejected, and fails otherwise. - ensureUploadFailed() - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Checks that at least one file of the upload last simulated on this component failed or was rejected, and fails otherwise.
- ensureUploadFailed() - Method in class com.vaadin.flow.component.upload.UploadTester
-
Checks that at least one file of the upload last simulated on this component failed or was rejected, and fails otherwise.
- ensureVisible() - Method in class com.vaadin.browserless.ComponentTester
-
Check that the component is visible for the user.
- ensureVisible(Component) - Static method in class com.vaadin.browserless.ComponentTester
-
Check that the given component is visible for the user.
- entrySet() - Method in class com.vaadin.browserless.mocks.SessionAttributeMap
- equals(Object) - Method in class com.vaadin.browserless.BrowserlessConfiguration
- equals(Object) - Method in class com.vaadin.browserless.internal.CountRange
- equals(Object) - Method in class com.vaadin.browserless.internal.Routes
- equals(Object) - Method in class com.vaadin.browserless.internal.SessionObjects
- equals(Object) - Method in record class com.vaadin.flow.component.upload.UploadTester.FileStatus
-
Indicates whether some other object is "equal to" this one.
- errorMessage() - Method in record class com.vaadin.flow.component.upload.UploadTester.FileStatus
-
Returns the value of the
errorMessagerecord component. - exactly(int) - Static method in class com.vaadin.browserless.internal.CountRange
-
Creates a range accepting exactly the given count.
- ExecutedJavaScript - Class in com.vaadin.browserless
-
The JavaScript the server has sent to the browser of a UI during a browserless test.
- ExecutedJavaScript.Execution - Class in com.vaadin.browserless
-
One piece of JavaScript sent to the browser.
- exists() - Method in class com.vaadin.browserless.ComponentQuery
-
Checks if this
ComponentQuerydescribes existing components. - exists() - Method in class com.vaadin.browserless.locator.Locator
-
Returns
trueif the filter chain matches at least one component. - expand(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Expands the node on the given row, as if the user clicked its expand toggle in the browser.
- expand(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridTester
-
Expands the node on the given row, as if the user clicked its expand toggle in the browser.
- expandAndClickItem(String, String...) - Method in class com.vaadin.flow.component.sidenav.SideNavLocator
-
Simulates a click on the item that matches the given label, expanding potential parent collapsed nodes.
- expandAndClickItem(String, String...) - Method in class com.vaadin.flow.component.sidenav.SideNavTester
-
Simulates a click on the item that matches the given label, expanding potential parent collapsed nodes.
- expectNotEditableByUser(Component) - Static method in class com.vaadin.browserless.internal.BasicUtils
-
Fails if the component is editable.
F
- FAILED - Enum constant in enum class com.vaadin.flow.component.upload.UploadTester.UploadStatus
-
The file was accepted but its transfer failed.
- featureFlags() - Element in annotation interface com.vaadin.browserless.BrowserlessTestConfig
-
Vaadin feature flags to enable or disable for the annotated test, overriding the values potentially defined in the vaadin-featureflags.properties file or in system properties.
- fileName() - Method in record class com.vaadin.flow.component.upload.UploadTester.FileStatus
-
Returns the value of the
fileNamerecord component. - FileStatus(String, UploadTester.UploadStatus, String) - Constructor for record class com.vaadin.flow.component.upload.UploadTester.FileStatus
-
Creates an instance of a
FileStatusrecord class. - filterNotBlank(Iterable<String>) - Static method in class com.vaadin.browserless.internal.Locator
-
Returns the non-null, non-blank strings of given iterable.
- find() - Method in class com.vaadin.browserless.ComponentQuery
-
Runs the query and returns the single match.
- find(Class<R>) - Method in class com.vaadin.browserless.ComponentTester
-
Gets a
ComponentQueryto search for component of the given type nested inside the wrapped component. - find(Class<R>) - Method in class com.vaadin.flow.component.card.CardTester
-
Gets a
ComponentQueryto search for component of the given type nested inside the wrapped component. - find(Class<R>) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuTester
-
Gets a
ComponentQueryto search for component of the given type nested inside the wrapped component. - find(Class<R>) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Gets a
ComponentQueryto search for component of the given type nested inside the wrapped component. - find(Class<T>) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Gets a query object for finding a component inside the UI
- find(Class<T>) - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Gets a query object for finding components of the given type in this window's UI.
- find(Class<T>, Component) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Gets a query object for finding a component nested inside the given component.
- find(Class<T>, Component) - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Gets a query object for finding components of the given type nested inside the specified component.
- find(Supplier<L>) - Method in interface com.vaadin.browserless.locator.Locators
-
Generic entry point for user-defined locators.
- findAccordion() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Accordioncomponents. - findAllByQuery(Class<R>, Consumer<ComponentQuery<R>>) - Method in class com.vaadin.browserless.ComponentTester
-
Searches for nested components of the given type that matches the conditions set on the component query.
- findAnchor() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Anchorcomponents. - findAvatarGroup() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
AvatarGroupcomponents. - findBigDecimalField() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
BigDecimalFieldcomponents. - findBreadcrumbs() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Breadcrumbscomponents. - findButton() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Buttoncomponents. - findByPath(List<I>, int, int...) - Static method in class com.vaadin.browserless.internal.MenuItemNavigation
-
Finds the menu item addressed by the given position path.
- findByPath(List<I>, String, String...) - Static method in class com.vaadin.browserless.internal.MenuItemNavigation
-
Finds the menu item addressed by the given text path.
- findByQuery(Class<R>, Consumer<ComponentQuery<R>>) - Method in class com.vaadin.browserless.ComponentTester
-
Searches for a nested component of the given type that matches the conditions set on the component query.
- findCard() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Cardcomponents. - findChart() - Method in interface com.vaadin.browserless.locator.GeneratedCommercialLocators
-
Returns a locator for
Chartcomponents. - findCheckbox() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Checkboxcomponents. - findCheckboxGroup(Class<V>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
CheckboxGroupcomponents. - findClass(String) - Static method in class com.vaadin.browserless.internal.Utils
-
Looks up a class by name, first via
Class.forName(String)and then via the context class loader. - findClassOrThrow(String) - Static method in class com.vaadin.browserless.internal.Utils
-
Looks up a class by name like
Utils.findClass(String), but fails if the class can't be found. - findComboBox(Class<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
ComboBoxcomponents. - findConfirmDialog() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
ConfirmDialogcomponents. - findContextMenu() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
ContextMenucomponents. - findCookie(String) - Method in class com.vaadin.browserless.mocks.MockResponse
-
Returns the cookie with the given name, or
nullif there is none. - findDashboard() - Method in interface com.vaadin.browserless.locator.GeneratedCommercialLocators
-
Returns a locator for
Dashboardcomponents. - findDatePicker() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
DatePickercomponents. - findDateTimePicker() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
DateTimePickercomponents. - findDecimalRangeSlider() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
DecimalRangeSlidercomponents. - findDecimalSlider() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
DecimalSlidercomponents. - findDescriptionList() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
DescriptionListcomponents. - findDetails() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Detailscomponents. - findDialog() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Dialogcomponents. - findDiv() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Divcomponents. - findEmailField() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
EmailFieldcomponents. - findEmphasis() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Emphasiscomponents. - findGrid(Class<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Gridcomponents. - findGridContextMenu(Class<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
GridContextMenucomponents. - findGridPro(Class<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedCommercialLocators
-
Returns a locator for
GridProcomponents. - findH1() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
H1components. - findH2() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
H2components. - findH3() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
H3components. - findH4() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
H4components. - findH5() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
H5components. - findH6() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
H6components. - findHr() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Hrcomponents. - findImage() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Imagecomponents. - findInCustomFormArea(Class<R>) - Method in class com.vaadin.flow.component.login.LoginOverlayTester
-
Searches the overlay's custom form area for components of the given type.
- findInFooter(Class<R>) - Method in class com.vaadin.flow.component.card.CardTester
-
Searches the card's footer for components of the given type.
- findInFooter(Class<R>) - Method in class com.vaadin.flow.component.dialog.DialogTester
-
Searches the dialog's footer for components of the given type.
- findInFooter(Class<R>) - Method in class com.vaadin.flow.component.login.LoginOverlayTester
-
Searches the overlay's footer for components of the given type.
- findInHeader(Class<R>) - Method in class com.vaadin.flow.component.card.CardTester
-
Searches the card's header for components of the given type.
- findInHeader(Class<R>) - Method in class com.vaadin.flow.component.dialog.DialogTester
-
Searches the dialog's header for components of the given type.
- findInPrimary(Class<R>) - Method in class com.vaadin.flow.component.splitlayout.SplitLayoutTester
-
Searches the primary split for components of the given type.
- findInput() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Inputcomponents. - findInSecondary(Class<R>) - Method in class com.vaadin.flow.component.splitlayout.SplitLayoutTester
-
Searches the secondary split for components of the given type.
- findIntegerField() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
IntegerFieldcomponents. - findIntegerRangeSlider() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
IntegerRangeSlidercomponents. - findIntegerSlider() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
IntegerSlidercomponents. - findInView(Class<T>) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Gets a query object for finding a component inside the current view
- findInView(Class<T>) - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Gets a query object for finding components of the given type inside the current view.
- findListBox(Class<V>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
ListBoxcomponents. - findListItem() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
ListItemcomponents. - findLoginForm() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
LoginFormcomponents. - findLoginOverlay() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
LoginOverlaycomponents. - findMarkdown() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Markdowncomponents. - findMasterDetailLayout() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
MasterDetailLayoutcomponents. - findMenuBar() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
MenuBarcomponents. - findMessageInput() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
MessageInputcomponents. - findMessageList() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
MessageListcomponents. - findMultiSelectComboBox(Class<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
MultiSelectComboBoxcomponents. - findMultiSelectListBox(Class<V>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
MultiSelectListBoxcomponents. - findNativeButton() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
NativeButtoncomponents. - findNativeDetails() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
NativeDetailscomponents. - findNativeLabel() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
NativeLabelcomponents. - findNotification() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Notificationcomponents. - findNumberField() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
NumberFieldcomponents. - findOrderedList() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
OrderedListcomponents. - findParagraph() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Paragraphcomponents. - findPasswordField() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
PasswordFieldcomponents. - findPopover() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Popovercomponents. - findPre() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Precomponents. - findRadioButton(Class<V>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
com.vaadin.flow.component.radiobutton.RadioButton<T>components. - findRadioButtonGroup(Class<V>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
RadioButtonGroupcomponents. - findRangeInput() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
RangeInputcomponents. - findRouterLink() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
RouterLinkcomponents. - findSelect(Class<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Selectcomponents. - findSideNav() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
SideNavcomponents. - findSpan() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Spancomponents. - findSplitLayout() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
SplitLayoutcomponents. - findSwitch() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Switchcomponents. - findTabs() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Tabscomponents. - findTabSheet() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
TabSheetcomponents. - findText() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Textcomponents. - findTextArea() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
TextAreacomponents. - findTextField() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
TextFieldcomponents. - findTimePicker() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
TimePickercomponents. - findTreeGrid(Class<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
TreeGridcomponents. - findUnorderedList() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
UnorderedListcomponents. - findUpload() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
Uploadcomponents. - findUploadButton() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
UploadButtoncomponents. - findUploadDropZone() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
UploadDropZonecomponents. - findUploadFileList() - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
UploadFileListcomponents. - findVirtualList(Class<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator for
VirtualListcomponents. - fire() - Method in class com.vaadin.browserless.internal.ClientDomEvent
-
Sends the event to the server, running the listeners whose filter matched.
- fireDomEvent(DomEvent) - Method in class com.vaadin.browserless.ComponentTester
-
Fires a DOM event on the wrapped component.
- fireDomEvent(String) - Method in class com.vaadin.browserless.ComponentTester
-
Fires a DOM event of the given type on the wrapped component.
- fireDomEvent(String, ObjectNode) - Method in class com.vaadin.browserless.ComponentTester
-
Fires a DOM event with the given type and payload on the wrapped component.
- firesClosedEvent(Component) - Method in interface com.vaadin.browserless.internal.ComponentSupport
-
Checks whether the component is an overlay whose client-side part fires a
closedDOM event once it has closed, which the mocked environment then simulates. - firesClosedEvent(Component) - Method in class com.vaadin.browserless.internal.FlowComponentsSupport
- fireServiceDestroy(VaadinService) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Fires service destroy listeners on the given service.
- fireServiceDestroyListeners(VaadinService, ServiceDestroyEvent) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Fires the given service destroy event to the listeners registered on the given service, rethrowing any exception a listener throws.
- fireSessionDestroyAndDrain(VaadinSession) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Fires session-destroy listeners on
sessionand drains pendingVaadinSession.access(com.vaadin.flow.server.Command)tasks scheduled during destruction. - fireSessionInit(VaadinService, VaadinSession, VaadinRequest) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Fires session init listeners on the given service.
- fireSessionInitListeners(VaadinService, SessionInitEvent) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Fires the given session init event to the listeners registered on the given service, rethrowing any exception a listener throws.
- fireShortcut(Key, Key...) - Static method in class com.vaadin.browserless.internal.Shortcuts
-
Fires a shortcut event with given
keyandmodifiersin the current UI. - fireShortcut(Key, KeyModifier...) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Simulates a keyboard shortcut performed on the browser.
- fireShortcut(Key, KeyModifier...) - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Simulates a keyboard shortcut performed on the browser.
- first() - Method in class com.vaadin.browserless.ComponentQuery
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
ComponentQuery.single()for more reliable tests that assert exactly one matching component, or useComponentQuery.atIndex(int)with an explicit index if selecting from multiple components is intentional. - FlowComponentsSupport - Class in com.vaadin.browserless.internal
-
The
ComponentSupportfor the Vaadin components: everything the mocked environment needs to know about Grid, the menus, the dialogs and the other components whose structure Flow alone doesn't describe. - FlowComponentsSupport() - Constructor for class com.vaadin.browserless.internal.FlowComponentsSupport
-
Creates the support; looked up through the service loader.
- flushBuffer() - Method in class com.vaadin.browserless.mocks.MockResponse
- focus() - Method in class com.vaadin.browserless.ComponentTester
-
Simulates the user moving keyboard focus to the wrapped component.
- focusTarget() - Method in class com.vaadin.flow.component.popover.PopoverLocator
-
Simulates focusing the target component to open the popover.
- focusTarget() - Method in class com.vaadin.flow.component.popover.PopoverTester
-
Simulates focusing the target component to open the popover.
- forComponent(BrowserlessConfiguration, Component) - Static method in class com.vaadin.browserless.BrowserlessUIContext
-
Shorthand for ad-hoc component testing of a single component, applying the given custom Vaadin configuration (application properties, feature flags, lookup services) to the mocked environment.
- forComponent(BrowserlessConfiguration, Supplier<Component>) - Static method in class com.vaadin.browserless.BrowserlessApplicationContext
-
Creates a self-contained application context for ad-hoc testing of a single component, applying the given custom Vaadin configuration (application properties, feature flags, lookup services) to the mocked environment.
- forComponent(BrowserlessConfiguration, Supplier<Component>) - Static method in class com.vaadin.browserless.BrowserlessUIContext
-
Shorthand for ad-hoc component testing of a single component built by a factory, applying the given custom Vaadin configuration (application properties, feature flags, lookup services) to the mocked environment.
- forComponent(Component) - Static method in class com.vaadin.browserless.BrowserlessUIContext
-
Shorthand for ad-hoc component testing of a single component — no
@Routeview required. - forComponent(Supplier<Component>) - Static method in class com.vaadin.browserless.BrowserlessApplicationContext
-
Creates a self-contained application context for ad-hoc testing of a single component, without requiring a
@Routeview. - forComponent(Supplier<Component>) - Static method in class com.vaadin.browserless.BrowserlessUIContext
-
Shorthand for ad-hoc component testing of a single component, taking a factory rather than a ready instance — no
@Routeview required. - forgotPassword() - Method in class com.vaadin.flow.component.login.AbstractLoginTester
-
Simulate click on forgot password button.
- forgotPassword() - Method in class com.vaadin.flow.component.login.LoginFormLocator
-
Simulate click on forgot password button.
- forgotPassword() - Method in class com.vaadin.flow.component.login.LoginOverlayLocator
-
Simulate click on forgot password button.
- forTarget(ComponentQuery<? extends Component>) - Static method in class com.vaadin.flow.component.popover.PopoverTester
-
Creates a
PopoverTesterfor the popover that targets the component matching the given query. - forTarget(Component) - Static method in class com.vaadin.flow.component.popover.PopoverTester
-
Creates a
PopoverTesterfor the popover that targets the given component. - forUI(UI) - Static method in class com.vaadin.browserless.JavaScriptDispatcher
-
Gets the dispatcher of the given UI, creating it on first use.
- forUI(UI) - Static method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Returns the simulator bound to the given UI.
- FORWARD - Enum constant in enum class com.vaadin.browserless.MouseButton
-
The second additional button, typically the forward button.
- fqn() - Element in annotation interface com.vaadin.browserless.Tests
-
The fully qualified names of the tested component types, for components that are not on the compile classpath of this module.
- frameworkLookupServices() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Gets the services implementations required by the framework integration to initialize the Vaadin
Lookup, for example the Spring or Quarkus lookup initializers. - from(BrowserlessTestConfig) - Static method in class com.vaadin.browserless.BrowserlessConfiguration
-
Creates a configuration from the given
BrowserlessTestConfigannotation. - from(Component) - Method in class com.vaadin.browserless.ComponentQuery
-
Sets the context to search inside.
- from(AnnotatedElement) - Static method in class com.vaadin.browserless.BrowserlessConfiguration
-
Creates a configuration from the
BrowserlessTestConfigannotation potentially present on the given element. - fromDouble(double) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderTester
- fromDouble(double) - Method in class com.vaadin.flow.component.slider.DecimalSliderTester
- fromDouble(double) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderTester
- fromDouble(double) - Method in class com.vaadin.flow.component.slider.IntegerSliderTester
G
- GeneratedCommercialLocators - Interface in com.vaadin.browserless.locator
-
Generated mixin: per registered
ComponentTesterit exposes a typedfind<Component>()entry that opens a fresh query, and a companionuse(<Component> component)entry that seeds a locator with a direct reference to an already-resolved component. - GeneratedLocators - Interface in com.vaadin.browserless.locator
-
Generated mixin: per registered
ComponentTesterit exposes a typedfind<Component>()entry that opens a fresh query, and a companionuse(<Component> component)entry that seeds a locator with a direct reference to an already-resolved component. - GeolocationRequest - Interface in com.vaadin.flow.component.geolocation
-
A pending one-shot
Geolocation.get(...)request observed by the test controller. - GeolocationSimulator - Class in com.vaadin.flow.component.geolocation
-
Browserless test driver for the
Geolocationfacade. - GeolocationTrackerSession - Interface in com.vaadin.flow.component.geolocation
-
View into a tracker session managed by the simulator.
- get(Object) - Method in class com.vaadin.browserless.mocks.SessionAttributeMap
- get_saneFetchLimit() - Static method in class com.vaadin.browserless.internal.BasicUtils
-
Returns a fetch limit that is safe to pass to data providers.
- getActiveUsersLabel() - Method in class com.vaadin.flow.component.avatar.AvatarGroupLocator
-
Gets the accessible label of the group, that is, the
oneormanyactive users phrase with{count}replaced by the total number of items. - getActiveUsersLabel() - Method in class com.vaadin.flow.component.avatar.AvatarGroupTester
-
Gets the accessible label of the group, that is, the
oneormanyactive users phrase with{count}replaced by the total number of items. - getAllChildren(Component) - Method in interface com.vaadin.browserless.internal.ComponentSupport
-
Returns all children of the component as seen by component lookups, including the ones that are not part of the regular component hierarchy, such as a Grid's header components.
- getAllChildren(Component) - Method in class com.vaadin.browserless.internal.FlowComponentsSupport
- getAllChildren(Component) - Method in interface com.vaadin.browserless.internal.TestingLifecycleHook
-
Provides all children of given component.
- getApplicationClass(Class<?>) - Method in class com.vaadin.browserless.mocks.MockInstantiator
-
Deprecated.
- getApplicationClass(Object) - Method in class com.vaadin.browserless.mocks.MockInstantiator
-
Deprecated.
- getApplicationProperties() - Method in class com.vaadin.browserless.BrowserlessConfiguration
-
Gets the Vaadin application properties (init parameters) to apply to the mock Vaadin environment.
- getAsyncContext() - Method in class com.vaadin.browserless.mocks.MockRequest
- getAttachmentByName(int, String) - Method in class com.vaadin.flow.component.messages.MessageListLocator
-
Get the attachment with the given name from the message in given index.
- getAttachmentByName(int, String) - Method in class com.vaadin.flow.component.messages.MessageListTester
-
Get the attachment with the given name from the message in given index.
- getAttachments(int) - Method in class com.vaadin.flow.component.messages.MessageListLocator
-
Get the attachments of the message in given index. index is 0 based.
- getAttachments(int) - Method in class com.vaadin.flow.component.messages.MessageListTester
-
Get the attachments of the message in given index. index is 0 based.
- getAttribute(String) - Method in class com.vaadin.browserless.mocks.MockContext
- getAttribute(String) - Method in class com.vaadin.browserless.mocks.MockHttpSession
- getAttribute(String) - Method in class com.vaadin.browserless.mocks.MockRequest
- getAttributeNames() - Method in class com.vaadin.browserless.mocks.MockContext
- getAttributeNames() - Method in class com.vaadin.browserless.mocks.MockHttpSession
- getAttributeNames() - Method in class com.vaadin.browserless.mocks.MockRequest
- getAuthType() - Static method in class com.vaadin.browserless.mocks.MockHttpEnvironment
-
Returns the authentication scheme
MockRequest.getAuthType()reports, such asHttpServletRequest.FORM_AUTH. - getAuthType() - Method in class com.vaadin.browserless.mocks.MockRequest
- getBufferSize() - Method in class com.vaadin.browserless.mocks.MockResponse
- getButton() - Method in enum class com.vaadin.browserless.MouseButton
-
Get value associated with the button by default.
- getCalls(Class<T>, Consumer<T>) - Method in class com.vaadin.browserless.ExecutedJavaScript
-
Gets the calls of one method of a JavaScript definition, the interface that
Element.executeJs(Class)is called with, that were sent to the browser, in the order the browser received them. - getCaption() - Method in class com.vaadin.browserless.internal.SearchSpec
-
The required
caption; if null, no particular caption is matched. - getCaption(Component) - Method in interface com.vaadin.browserless.internal.ComponentSupport
-
Returns the caption of a component that shows it directly on itself, such as a button's text.
- getCaption(Component) - Static method in class com.vaadin.browserless.internal.ComponentUtils
-
Determines the caption of given component: the first non-null caption provided by a registered
ComponentSupport(for example the text of aButton), otherwiseComponentUtils.getLabel(Component). - getCaption(Component) - Method in class com.vaadin.browserless.internal.FlowComponentsSupport
- getCause() - Method in class com.vaadin.browserless.internal.MockRouteNotFoundError
-
Returns the exception describing the failed navigation, set by
MockRouteNotFoundError.setErrorParameter(BeforeEnterEvent, ErrorParameter). - getCellComponent(int, int) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Get the component the grid renders for the cell in the given position.
- getCellComponent(int, int) - Method in class com.vaadin.flow.component.grid.GridTester
-
Get the component the grid renders for the cell in the given position.
- getCellComponent(int, int) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Get the component the grid renders for the cell in the given position.
- getCellComponent(int, int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Get the component the grid renders for the cell in the given position.
- getCellComponent(int, String) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Get the component the grid renders for the cell in the given row of the column with the given key.
- getCellComponent(int, String) - Method in class com.vaadin.flow.component.grid.GridTester
-
Get the component the grid renders for the cell in the given row of the column with the given key.
- getCellComponent(int, String) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Get the component the grid renders for the cell in the given row of the column with the given key.
- getCellComponent(int, String) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Get the component the grid renders for the cell in the given row of the column with the given key.
- getCellText(int, int) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Get the text that is shown on the client for the cell in the given position.
- getCellText(int, int) - Method in class com.vaadin.flow.component.grid.GridTester
-
Get the text that is shown on the client for the cell in the given position.
- getCellText(int, int) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Get the text that is shown on the client for the cell in the given position.
- getCellText(int, int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Get the text that is shown on the client for the cell in the given position.
- getCellText(int, int) - Method in class com.vaadin.flow.component.treegrid.TreeGridTester
-
Get the text that is shown on the client for the cell in the given position.
- getCharacterEncoding() - Method in class com.vaadin.browserless.mocks.MockRequest
- getCharacterEncoding() - Method in class com.vaadin.browserless.mocks.MockResponse
- getCharacterEncodingInt() - Method in class com.vaadin.browserless.mocks.MockRequest
-
Returns the encoding set through
MockRequest.setCharacterEncoding(String), ornullif none was. - getChildren() - Method in class com.vaadin.browserless.internal.PrettyPrintTree
-
Returns the node children.
- getClasses() - Method in class com.vaadin.browserless.internal.SearchSpec
-
If not null, the component must match all of these class names.
- getClassLoader() - Method in class com.vaadin.browserless.mocks.MockContext
- getClazz() - Method in class com.vaadin.browserless.internal.SearchSpec
-
The class of the component we are searching for.
- getColumn(String) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Gets the grid column by column property.
- getColumn(String) - Method in class com.vaadin.flow.component.grid.GridTester
-
Gets the grid column by column property.
- getColumn(String) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Gets the grid column by column property.
- getColumn(String) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Gets the grid column by column property.
- getColumnInternalId(Grid<?>, String) - Static method in class com.vaadin.browserless.internal.GridContextMenuSupport
-
Gets the internal id the grid uses for the column with the given key.
- getColumnPosition(String) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Get the column position by column property.
- getColumnPosition(String) - Method in class com.vaadin.flow.component.grid.GridTester
-
Get the column position by column property.
- getColumnPosition(String) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Get the column position by column property.
- getColumnPosition(String) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Get the column position by column property.
- getColumns() - Method in class com.vaadin.flow.component.grid.GridTester
-
Return visible columns in the grid.
- getComponent() - Method in interface com.vaadin.browserless.Clickable
-
Gets the component being tested.
- getComponent() - Method in class com.vaadin.browserless.ComponentTester
-
Get the wrapped component.
- getComponent() - Method in class com.vaadin.flow.component.accordion.AccordionLocator
- getComponent() - Method in class com.vaadin.flow.component.avatar.AvatarGroupLocator
- getComponent() - Method in class com.vaadin.flow.component.breadcrumbs.BreadcrumbsLocator
- getComponent() - Method in class com.vaadin.flow.component.button.ButtonLocator
- getComponent() - Method in class com.vaadin.flow.component.card.CardLocator
- getComponent() - Method in class com.vaadin.flow.component.charts.ChartLocator
- getComponent() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupLocator
- getComponent() - Method in class com.vaadin.flow.component.checkbox.CheckboxLocator
- getComponent() - Method in class com.vaadin.flow.component.checkbox.SwitchLocator
- getComponent() - Method in class com.vaadin.flow.component.combobox.ComboBoxLocator
- getComponent() - Method in class com.vaadin.flow.component.combobox.MultiSelectComboBoxLocator
- getComponent() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogLocator
- getComponent() - Method in class com.vaadin.flow.component.contextmenu.ContextMenuLocator
- getComponent() - Method in class com.vaadin.flow.component.dashboard.DashboardLocator
- getComponent() - Method in class com.vaadin.flow.component.datepicker.DatePickerLocator
- getComponent() - Method in class com.vaadin.flow.component.datetimepicker.DateTimePickerLocator
- getComponent() - Method in class com.vaadin.flow.component.details.DetailsLocator
- getComponent() - Method in class com.vaadin.flow.component.dialog.DialogLocator
- getComponent() - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
- getComponent() - Method in class com.vaadin.flow.component.grid.GridLocator
- getComponent() - Method in class com.vaadin.flow.component.gridpro.GridProLocator
- getComponent() - Method in class com.vaadin.flow.component.html.AnchorLocator
- getComponent() - Method in class com.vaadin.flow.component.html.DescriptionListLocator
- getComponent() - Method in class com.vaadin.flow.component.html.DivLocator
- getComponent() - Method in class com.vaadin.flow.component.html.EmphasisLocator
- getComponent() - Method in class com.vaadin.flow.component.html.H1Locator
- getComponent() - Method in class com.vaadin.flow.component.html.H2Locator
- getComponent() - Method in class com.vaadin.flow.component.html.H3Locator
- getComponent() - Method in class com.vaadin.flow.component.html.H4Locator
- getComponent() - Method in class com.vaadin.flow.component.html.H5Locator
- getComponent() - Method in class com.vaadin.flow.component.html.H6Locator
- getComponent() - Method in class com.vaadin.flow.component.html.HrLocator
- getComponent() - Method in class com.vaadin.flow.component.html.ImageLocator
- getComponent() - Method in class com.vaadin.flow.component.html.InputLocator
- getComponent() - Method in class com.vaadin.flow.component.html.ListItemLocator
- getComponent() - Method in class com.vaadin.flow.component.html.NativeButtonLocator
- getComponent() - Method in class com.vaadin.flow.component.html.NativeDetailsLocator
- getComponent() - Method in class com.vaadin.flow.component.html.NativeLabelLocator
- getComponent() - Method in class com.vaadin.flow.component.html.OrderedListLocator
- getComponent() - Method in class com.vaadin.flow.component.html.ParagraphLocator
- getComponent() - Method in class com.vaadin.flow.component.html.PreLocator
- getComponent() - Method in class com.vaadin.flow.component.html.RangeInputLocator
- getComponent() - Method in class com.vaadin.flow.component.html.SpanLocator
- getComponent() - Method in class com.vaadin.flow.component.html.UnorderedListLocator
- getComponent() - Method in class com.vaadin.flow.component.listbox.ListBoxLocator
- getComponent() - Method in class com.vaadin.flow.component.listbox.MultiSelectListBoxLocator
- getComponent() - Method in class com.vaadin.flow.component.login.LoginFormLocator
- getComponent() - Method in class com.vaadin.flow.component.login.LoginOverlayLocator
- getComponent() - Method in class com.vaadin.flow.component.markdown.MarkdownLocator
- getComponent() - Method in class com.vaadin.flow.component.masterdetaillayout.MasterDetailLayoutLocator
- getComponent() - Method in class com.vaadin.flow.component.menubar.MenuBarLocator
- getComponent() - Method in class com.vaadin.flow.component.messages.MessageInputLocator
- getComponent() - Method in class com.vaadin.flow.component.messages.MessageListLocator
- getComponent() - Method in class com.vaadin.flow.component.notification.NotificationLocator
- getComponent() - Method in class com.vaadin.flow.component.popover.PopoverLocator
- getComponent() - Method in class com.vaadin.flow.component.radiobutton.RadioButtonGroupLocator
- getComponent() - Method in class com.vaadin.flow.component.radiobutton.RadioButtonLocator
- getComponent() - Method in class com.vaadin.flow.component.routerlink.RouterLinkLocator
- getComponent() - Method in class com.vaadin.flow.component.select.SelectLocator
- getComponent() - Method in class com.vaadin.flow.component.sidenav.SideNavLocator
- getComponent() - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
- getComponent() - Method in class com.vaadin.flow.component.slider.DecimalSliderLocator
- getComponent() - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
- getComponent() - Method in class com.vaadin.flow.component.slider.IntegerSliderLocator
- getComponent() - Method in class com.vaadin.flow.component.splitlayout.SplitLayoutLocator
- getComponent() - Method in class com.vaadin.flow.component.tabs.TabSheetLocator
- getComponent() - Method in class com.vaadin.flow.component.tabs.TabsLocator
- getComponent() - Method in class com.vaadin.flow.component.textfield.BigDecimalFieldLocator
- getComponent() - Method in class com.vaadin.flow.component.textfield.EmailFieldLocator
- getComponent() - Method in class com.vaadin.flow.component.textfield.IntegerFieldLocator
- getComponent() - Method in class com.vaadin.flow.component.textfield.NumberFieldLocator
- getComponent() - Method in class com.vaadin.flow.component.textfield.PasswordFieldLocator
- getComponent() - Method in class com.vaadin.flow.component.textfield.TextAreaLocator
- getComponent() - Method in class com.vaadin.flow.component.textfield.TextFieldLocator
- getComponent() - Method in class com.vaadin.flow.component.TextLocator
- getComponent() - Method in class com.vaadin.flow.component.timepicker.TimePickerLocator
- getComponent() - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
- getComponent() - Method in class com.vaadin.flow.component.upload.UploadButtonLocator
- getComponent() - Method in class com.vaadin.flow.component.upload.UploadDropZoneLocator
- getComponent() - Method in class com.vaadin.flow.component.upload.UploadFileListLocator
- getComponent() - Method in class com.vaadin.flow.component.upload.UploadLocator
- getComponent() - Method in class com.vaadin.flow.component.virtuallist.VirtualListLocator
- getContent() - Method in class com.vaadin.flow.component.html.NativeDetailsLocator
-
Get details content if the details is opened.
- getContent() - Method in class com.vaadin.flow.component.html.NativeDetailsTester
-
Get details content if the details is opened.
- getContent() - Method in class com.vaadin.flow.component.markdown.MarkdownLocator
-
Gets the Markdown source content rendered by the component.
- getContent() - Method in class com.vaadin.flow.component.markdown.MarkdownTester
-
Gets the Markdown source content rendered by the component.
- getContentLength() - Method in class com.vaadin.browserless.mocks.MockRequest
- getContentLengthLong() - Method in class com.vaadin.browserless.mocks.MockRequest
- getContentType() - Method in class com.vaadin.browserless.mocks.MockRequest
- getContentType() - Method in class com.vaadin.browserless.mocks.MockResponse
- getContext() - Method in class com.vaadin.browserless.mocks.MockServletConfig
-
Returns the context the configured servlet belongs to.
- getContext(String) - Method in class com.vaadin.browserless.mocks.MockContext
- getContextMenu(Grid<?>) - Static method in class com.vaadin.browserless.internal.GridContextMenuSupport
-
Gets the context menu added to the given grid.
- getContextPath() - Method in class com.vaadin.browserless.mocks.MockContext
- getContextPath() - Method in class com.vaadin.browserless.mocks.MockRequest
- getCookie(String) - Method in class com.vaadin.browserless.mocks.MockResponse
-
Returns the cookie with the given name, failing if there is none.
- getCookies() - Method in class com.vaadin.browserless.mocks.MockRequest
- getCookies() - Method in class com.vaadin.browserless.mocks.MockResponse
-
Returns the cookies added to this response, in the order they were added.
- getCookiesInt() - Method in class com.vaadin.browserless.mocks.MockRequest
-
Returns the cookies
MockRequest.getCookies()reports, ornullif none were added. - getCount() - Method in class com.vaadin.browserless.internal.SearchSpec
-
The expected number of matching components.
- getCreationTime() - Method in class com.vaadin.browserless.mocks.MockHttpSession
- getCurrentPath() - Static method in class com.vaadin.browserless.internal.Locator
-
Returns the browser's current path.
- getCurrentRequest() - Static method in class com.vaadin.browserless.internal.Utils
-
Returns
VaadinService.getCurrentRequest(); fails with an informative error message if there is no current request. - getCurrentResponse() - Static method in class com.vaadin.browserless.internal.Utils
-
Returns
VaadinService.getCurrentResponse(); fails with an informative error message if there is no current response. - getCurrentUI() - Static method in class com.vaadin.browserless.internal.Utils
-
Returns the
UI.getCurrent(); fails with informative error message if the UI.getCurrent() is null. - getCurrentView() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Get the current view instance that is shown on the ui.
- getCurrentView() - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Gets the current view displayed in this window.
- getDataProvider(Component) - Static method in class com.vaadin.browserless.component.GridUtils
-
Returns the data provider currently set to given component, or null if the component has no data provider.
- getDataProvider(Component) - Method in interface com.vaadin.browserless.internal.ComponentSupport
-
Returns the data provider currently set to the component.
- getDataProvider(Component) - Method in class com.vaadin.browserless.internal.FlowComponentsSupport
- getDateHeader(String) - Method in class com.vaadin.browserless.mocks.MockRequest
- getDefaultSessionTrackingModes() - Method in class com.vaadin.browserless.mocks.MockContext
- getDelegate() - Method in class com.vaadin.browserless.mocks.MockInstantiator
-
Deprecated.Returns the instantiator every member of this class forwards to.
- getDependencyFilters(Stream<DependencyFilter>) - Method in class com.vaadin.browserless.mocks.MockInstantiator
-
Deprecated.
- getDesciptions() - Method in class com.vaadin.flow.component.html.DescriptionListLocator
-
Get all descriptions of DescriptionList.
- getDesciptions() - Method in class com.vaadin.flow.component.html.DescriptionListTester
-
Get all descriptions of DescriptionList.
- getDetail() - Method in class com.vaadin.flow.component.masterdetaillayout.MasterDetailLayoutLocator
-
Gets the component currently shown in the detail area.
- getDetail() - Method in class com.vaadin.flow.component.masterdetaillayout.MasterDetailLayoutTester
-
Gets the component currently shown in the detail area.
- getDetailPlaceholder() - Method in class com.vaadin.flow.component.masterdetaillayout.MasterDetailLayoutLocator
-
Gets the placeholder component currently shown in the detail area.
- getDetailPlaceholder() - Method in class com.vaadin.flow.component.masterdetaillayout.MasterDetailLayoutTester
-
Gets the placeholder component currently shown in the detail area.
- getDialogTypes() - Method in interface com.vaadin.browserless.internal.ComponentSupport
-
Returns the dialog types that
Locator._expectNoDialogs()checks for. - getDialogTypes() - Method in class com.vaadin.browserless.internal.FlowComponentsSupport
- getDispatcherType() - Method in class com.vaadin.browserless.mocks.MockRequest
- getDontDumpAttributes() - Static method in class com.vaadin.browserless.internal.PrettyPrintTree
-
Never dump these attributes in
PrettyPrintTree.toPrettyString(Component). - getEffectDispatcher() - Method in class com.vaadin.browserless.TestSignalEnvironment
- getEffectiveMajorVersion() - Method in class com.vaadin.browserless.mocks.MockContext
- getEffectiveMinorVersion() - Method in class com.vaadin.browserless.mocks.MockContext
- getEffectiveSessionTrackingModes() - Method in class com.vaadin.browserless.mocks.MockContext
- getElement() - Method in class com.vaadin.browserless.ExecutedJavaScript.Execution
-
Gets the element the JavaScript was run on, which is the element of the UI for JavaScript run on the page.
- getEndInclusive() - Method in class com.vaadin.browserless.internal.CountRange
-
Returns the highest accepted count.
- getErrorParameterType(Class<?>) - Static method in class com.vaadin.browserless.internal.Utils
-
For a class implementing the
HasErrorParameterinterface, determines the type of the exception handled (the type ofT). - getErrorRoutes() - Method in class com.vaadin.browserless.internal.Routes
-
Returns all error views in the application.
- getExecutedJavaScript() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Gets the JavaScript sent to the browser of the current UI since the UI was created, including what the first view sent while it was navigated to.
- getExecutedJavaScript() - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Gets the JavaScript sent to the browser of this window since the UI was created, including what the first view sent while it was navigated to.
- getExecutions() - Method in class com.vaadin.browserless.ExecutedJavaScript
-
Gets everything sent to the browser since the capture started or was last cleared, and until it was stopped, in the order the browser received it, whichever element it was run on;
ExecutedJavaScript.getExecutions(Component)andExecutedJavaScript.getExecutions(Element)keep only what was run on one element, andExecutedJavaScript.getExecutions(Class, Consumer)only the calls of one method of a JavaScript definition. - getExecutions(Component) - Method in class com.vaadin.browserless.ExecutedJavaScript
-
Gets what was sent to the browser for the given component's element since the capture started or was last cleared, and until it was stopped, in the order the browser received it.
- getExecutions(Element) - Method in class com.vaadin.browserless.ExecutedJavaScript
-
Gets what was sent to the browser for the given element since the capture started or was last cleared, and until it was stopped, in the order the browser received it.
- getExecutions(Class<T>, Consumer<T>) - Method in class com.vaadin.browserless.ExecutedJavaScript
-
Gets what was sent to the browser for the calls of one method of a JavaScript definition, the interface that
Element.executeJs(Class)is called with, in the order the browser received it. - getExpression() - Method in class com.vaadin.browserless.ExecutedJavaScript.Execution
-
Gets the JavaScript expression of this execution, in the form Flow sends it.
- getExternalNavigationURL() - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Returns the URL from the last external navigation triggered by
Page.setLocation(String)orPage.open(String). - getExternalNavigationURL(String) - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Returns the last URL opened with the given window name.
- getExternalNavigationURL(String) - Method in class com.vaadin.browserless.internal.MockPage
-
Returns the URL last opened in the given window.
- getFeatureFlags() - Method in class com.vaadin.browserless.BrowserlessConfiguration
-
Gets the feature flag overrides to apply to the mock Vaadin environment, as a map of feature identifiers to their enablement state.
- getField(Class, String) - Method in class com.vaadin.browserless.ComponentTester
-
Get field with given name in the given class or in one of its superclasses.
- getField(String) - Method in class com.vaadin.browserless.ComponentTester
-
Get field with given name in the wrapped component.
- getFiles() - Method in class com.vaadin.flow.component.upload.UploadFileListLocator
-
Gets the files the file list shows, in the order the browser shows them: the most recently added file first.
- getFiles() - Method in class com.vaadin.flow.component.upload.UploadFileListTester
-
Gets the files the file list shows, in the order the browser shows them: the most recently added file first.
- getFiles() - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Gets the files the upload file list shows, in the order the browser shows them: the most recently added file first.
- getFiles() - Method in class com.vaadin.flow.component.upload.UploadTester
-
Gets the files the upload file list shows, in the order the browser shows them: the most recently added file first.
- getFilterRegistration(String) - Method in class com.vaadin.browserless.mocks.MockContext
- getFilterRegistrations() - Method in class com.vaadin.browserless.mocks.MockContext
- getFooterCell(int) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Deprecated.Use
Grid.Column.getFooterText()orGrid.Column.getFooterComponent()directly - getFooterCell(int) - Method in class com.vaadin.flow.component.grid.GridTester
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Grid.Column.getFooterText()orGrid.Column.getFooterComponent()directly - getFooterCell(int) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Deprecated.Use
Grid.Column.getFooterText()orGrid.Column.getFooterComponent()directly - getFooterCell(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Deprecated.Use
Grid.Column.getFooterText()orGrid.Column.getFooterComponent()directly - getFooterComponents() - Method in class com.vaadin.flow.component.card.CardLocator
-
Gets the components shown in the card's footer, in the order they were added.
- getFooterComponents() - Method in class com.vaadin.flow.component.card.CardTester
-
Gets the components shown in the card's footer, in the order they were added.
- getFunctionCalls(Component, String) - Method in class com.vaadin.browserless.ExecutedJavaScript
-
Gets the arguments of each call of the named client-side function on the given component's element, made with
Element.callJsFunction(String, Object...), in the order the browser received them. - getFunctionNames(LitRenderer<Y>, BiFunction<Class<?>, String, Field>) - Static method in class com.vaadin.browserless.LitRendererTestUtil
-
Gets the function names for the supplied
LitRendererusing the given field getter. - getHeader() - Method in class com.vaadin.flow.component.card.CardLocator
-
Gets the component used as the card's header.
- getHeader() - Method in class com.vaadin.flow.component.card.CardTester
-
Gets the component used as the card's header.
- getHeader() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogLocator
-
Get the header of the confirm dialog.
- getHeader() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogTester
-
Get the header of the confirm dialog.
- getHeader(String) - Method in class com.vaadin.browserless.mocks.MockRequest
- getHeader(String) - Method in class com.vaadin.browserless.mocks.MockResponse
- getHeaderCell(int) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Deprecated.Use
Grid.Column.getHeaderText()orGrid.Column.getHeaderComponent() - getHeaderCell(int) - Method in class com.vaadin.flow.component.grid.GridTester
-
Deprecated.Use
Grid.Column.getHeaderText()orGrid.Column.getHeaderComponent() - getHeaderCell(int) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Deprecated.Use
Grid.Column.getHeaderText()orGrid.Column.getHeaderComponent() - getHeaderCell(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Deprecated.Use
Grid.Column.getHeaderText()orGrid.Column.getHeaderComponent() - getHeaderElement() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogLocator
-
Get the header element set to the confirm dialog.
- getHeaderElement() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogTester
-
Get the header element set to the confirm dialog.
- getHeaderNames() - Method in class com.vaadin.browserless.mocks.MockRequest
- getHeaderNames() - Method in class com.vaadin.browserless.mocks.MockResponse
- getHeaderPrefix() - Method in class com.vaadin.flow.component.card.CardLocator
-
Gets the component shown before the card's header content.
- getHeaderPrefix() - Method in class com.vaadin.flow.component.card.CardTester
-
Gets the component shown before the card's header content.
- getHeaders() - Method in class com.vaadin.browserless.mocks.MockRequest
-
Returns the request headers, live and directly modifiable.
- getHeaders() - Method in class com.vaadin.browserless.mocks.MockResponse
-
Returns the headers set on this response, keyed by name.
- getHeaders(String) - Method in class com.vaadin.browserless.mocks.MockRequest
- getHeaders(String) - Method in class com.vaadin.browserless.mocks.MockResponse
- getHeaderSuffix() - Method in class com.vaadin.flow.component.card.CardLocator
-
Gets the component shown after the card's header content.
- getHeaderSuffix() - Method in class com.vaadin.flow.component.card.CardTester
-
Gets the component shown after the card's header content.
- getHref() - Method in class com.vaadin.flow.component.html.AnchorLocator
-
Gets the URL that the anchor links to.
- getHref() - Method in class com.vaadin.flow.component.html.AnchorTester
-
Gets the URL that the anchor links to.
- getHref() - Method in class com.vaadin.flow.component.routerlink.RouterLinkLocator
-
Gets the URL that the router-link links to.
- getHref() - Method in class com.vaadin.flow.component.routerlink.RouterLinkTester
-
Gets the URL that the router-link links to.
- getHttpSession() - Method in class com.vaadin.browserless.internal.SessionObjects
-
Returns the HTTP session the Vaadin session is stored in.
- getI18NProvider() - Method in class com.vaadin.browserless.mocks.MockInstantiator
-
Deprecated.
- getId() - Method in class com.vaadin.browserless.internal.SearchSpec
-
The required
Component.getId(); if null, no particular id is matched. - getId() - Method in class com.vaadin.browserless.mocks.MockHttpSession
- getIndexHtmlRequestListeners(Stream<IndexHtmlRequestListener>) - Method in class com.vaadin.browserless.mocks.MockInstantiator
-
Deprecated.
- getInitParameter(String) - Method in class com.vaadin.browserless.mocks.MockContext
- getInitParameter(String) - Method in class com.vaadin.browserless.mocks.MockServletConfig
- getInitParameterNames() - Method in class com.vaadin.browserless.mocks.MockContext
- getInitParameterNames() - Method in class com.vaadin.browserless.mocks.MockServletConfig
- getInitParameters() - Method in class com.vaadin.browserless.mocks.MockContext
-
Returns the context init parameters, live and directly modifiable.
- getInputStream() - Method in class com.vaadin.browserless.mocks.MockRequest
- getInternalId(Grid.Column<?>) - Static method in class com.vaadin.browserless.component.GridUtils
-
Returns the internal id of given column, which the client uses to refer to the column.
- getIntHeader(String) - Method in class com.vaadin.browserless.mocks.MockRequest
- getItem(int) - Method in class com.vaadin.flow.component.virtuallist.VirtualListLocator
-
Get the item at the given index.
- getItem(int) - Method in class com.vaadin.flow.component.virtuallist.VirtualListTester
-
Get the item at the given index.
- getItemComponent(int) - Method in class com.vaadin.flow.component.virtuallist.VirtualListLocator
-
Get an initialized copy of the component for the item.
- getItemComponent(int) - Method in class com.vaadin.flow.component.virtuallist.VirtualListTester
-
Get an initialized copy of the component for the item.
- getItemKey(Grid<Y>, Y) - Static method in class com.vaadin.browserless.internal.GridContextMenuSupport
-
Gets the key the grid uses for the given item.
- getItemPaths() - Method in class com.vaadin.flow.component.breadcrumbs.BreadcrumbsLocator
-
Gets the resolved navigation path (href) of each breadcrumb item, in trail order.
- getItemPaths() - Method in class com.vaadin.flow.component.breadcrumbs.BreadcrumbsTester
-
Gets the resolved navigation path (href) of each breadcrumb item, in trail order.
- getItems() - Method in class com.vaadin.flow.component.avatar.AvatarGroupLocator
-
Gets all items of the group, whether or not they are shown as individual avatars.
- getItems() - Method in class com.vaadin.flow.component.avatar.AvatarGroupTester
-
Gets all items of the group, whether or not they are shown as individual avatars.
- getItems() - Method in class com.vaadin.flow.component.html.OrderedListLocator
-
Get all ListItems for unordered list.
- getItems() - Method in class com.vaadin.flow.component.html.OrderedListTester
-
Get all ListItems for unordered list.
- getItems() - Method in class com.vaadin.flow.component.html.UnorderedListLocator
-
Get all ListItems for unordered list.
- getItems() - Method in class com.vaadin.flow.component.html.UnorderedListTester
-
Get all ListItems for unordered list.
- getItemText(int) - Method in class com.vaadin.flow.component.virtuallist.VirtualListLocator
-
Get the text that is shown on the client for the item at index.
- getItemText(int) - Method in class com.vaadin.flow.component.virtuallist.VirtualListTester
-
Get the text that is shown on the client for the item at index.
- getItemTexts() - Method in class com.vaadin.flow.component.breadcrumbs.BreadcrumbsLocator
-
Gets the labels of the breadcrumb items, in trail order.
- getItemTexts() - Method in class com.vaadin.flow.component.breadcrumbs.BreadcrumbsTester
-
Gets the labels of the breadcrumb items, in trail order.
- getItemTexts() - Method in class com.vaadin.flow.component.contextmenu.ContextMenuLocator
-
Gets the texts of the menu items, as the browser shows them.
- getItemTexts() - Method in class com.vaadin.flow.component.contextmenu.ContextMenuTester
-
Gets the texts of the menu items, as the browser shows them.
- getItemTexts() - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
-
Gets the texts of the menu items, as the browser shows them.
- getItemTexts() - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Gets the texts of the menu items, as the browser shows them.
- getItemTexts() - Method in class com.vaadin.flow.component.menubar.MenuBarLocator
-
Gets the texts of the menu items, as the browser shows them.
- getItemTexts() - Method in class com.vaadin.flow.component.menubar.MenuBarTester
-
Gets the texts of the menu items, as the browser shows them.
- getItemTexts(String, String...) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuLocator
-
Gets the texts of the items of the sub menu of the item matching the given text, as the browser shows them.
- getItemTexts(String, String...) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuTester
-
Gets the texts of the items of the sub menu of the item matching the given text, as the browser shows them.
- getItemTexts(String, String...) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
-
Gets the texts of the items of the sub menu of the item matching the given text, as the browser shows them.
- getItemTexts(String, String...) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Gets the texts of the items of the sub menu of the item matching the given text, as the browser shows them.
- getItemTexts(String, String...) - Method in class com.vaadin.flow.component.menubar.MenuBarLocator
-
Gets the texts of the items of the sub menu of the item matching the given text, as the browser shows them.
- getItemTexts(String, String...) - Method in class com.vaadin.flow.component.menubar.MenuBarTester
-
Gets the texts of the items of the sub menu of the item matching the given text, as the browser shows them.
- getItemTooltipText(int, int...) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuLocator
-
Gets the tooltip text of the menu item at the given position in the menu.
- getItemTooltipText(int, int...) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuTester
-
Gets the tooltip text of the menu item at the given position in the menu.
- getItemTooltipText(int, int...) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
-
Gets the tooltip text of the menu item at the given position in the menu.
- getItemTooltipText(int, int...) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Gets the tooltip text of the menu item at the given position in the menu.
- getItemTooltipText(int, int...) - Method in class com.vaadin.flow.component.menubar.MenuBarLocator
-
Gets the tooltip text of the menu item at the given position in the menu.
- getItemTooltipText(int, int...) - Method in class com.vaadin.flow.component.menubar.MenuBarTester
-
Gets the tooltip text of the menu item at the given position in the menu.
- getItemTooltipText(String, String...) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuLocator
-
Gets the tooltip text of the menu item matching the given text.
- getItemTooltipText(String, String...) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuTester
-
Gets the tooltip text of the menu item matching the given text.
- getItemTooltipText(String, String...) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
-
Gets the tooltip text of the menu item matching the given text.
- getItemTooltipText(String, String...) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Gets the tooltip text of the menu item matching the given text.
- getItemTooltipText(String, String...) - Method in class com.vaadin.flow.component.menubar.MenuBarLocator
-
Gets the tooltip text of the menu item matching the given text.
- getItemTooltipText(String, String...) - Method in class com.vaadin.flow.component.menubar.MenuBarTester
-
Gets the tooltip text of the menu item matching the given text.
- getJavaScriptHandlers() - Method in class com.vaadin.browserless.BrowserlessConfiguration
-
Gets the
JavaScriptHandlerclasses that every UI of the mock Vaadin environment gets an instance of, in the order they run. - getJsCall() - Method in class com.vaadin.browserless.ExecutedJavaScript.Execution
-
Gets the call of a JavaScript definition that this is, which says which definition, which method of it and with which arguments, as the application wrote it.
- getJspConfigDescriptor() - Method in class com.vaadin.browserless.mocks.MockContext
- getJvmVersion() - Static method in class com.vaadin.browserless.internal.Utils
-
Returns the major JVM version, e.g. 6 for Java 1.6, 8 for Java 8, 11 for Java 11 etc.
- getLabel(Component) - Method in interface com.vaadin.browserless.internal.ComponentSupport
-
Returns the label of a component that doesn't implement
HasLabel. - getLabel(Component) - Static method in class com.vaadin.browserless.internal.ComponentUtils
-
Determines the
labelof given component:HasLabel.getLabel()for components that have one, otherwise the first non-null label provided by a registeredComponentSupport(for example the text in thelabelslot of aFormItem), otherwise thelabelproperty of the element. - getLabel(Component) - Method in class com.vaadin.browserless.internal.FlowComponentsSupport
- getLastAccessedTime() - Method in class com.vaadin.browserless.mocks.MockHttpSession
- getLastExternalNavigationURL() - Method in class com.vaadin.browserless.internal.MockPage
-
Returns the URL the page last navigated to in its own window.
- getLastUploadStatus() - Method in class com.vaadin.flow.component.upload.UploadButtonLocator
-
Returns what happened to each file the user last selected, dropped or started through the
UploadManagerthe button is linked to, in the order the files were given. - getLastUploadStatus() - Method in class com.vaadin.flow.component.upload.UploadButtonTester
-
Returns what happened to each file the user last selected, dropped or started through the
UploadManagerthe button is linked to, in the order the files were given. - getLastUploadStatus() - Method in class com.vaadin.flow.component.upload.UploadDropZoneLocator
-
Returns what happened to each file the user last selected, dropped or started through the
UploadManagerthe drop zone is linked to, in the order the files were given. - getLastUploadStatus() - Method in class com.vaadin.flow.component.upload.UploadDropZoneTester
-
Returns what happened to each file the user last selected, dropped or started through the
UploadManagerthe drop zone is linked to, in the order the files were given. - getLastUploadStatus() - Method in class com.vaadin.flow.component.upload.UploadFileListLocator
-
Returns what happened to each file the user last picked with an
UploadButton, dropped on anUploadDropZoneor started from this list, in the order the files were given. - getLastUploadStatus() - Method in class com.vaadin.flow.component.upload.UploadFileListTester
-
Returns what happened to each file the user last picked with an
UploadButton, dropped on anUploadDropZoneor started from this list, in the order the files were given. - getLastUploadStatus() - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Returns what happened to each file of the upload last simulated on this component, in the order the files were given, so that a test can check the outcome the same way a user reads the upload file list in the browser.
- getLastUploadStatus() - Method in class com.vaadin.flow.component.upload.UploadTester
-
Returns what happened to each file of the upload last simulated on this component, in the order the files were given, so that a test can check the outcome the same way a user reads the upload file list in the browser.
- getLayouts() - Method in class com.vaadin.browserless.internal.Routes
-
Returns all
Layout-annotatedRouterLayoutclasses. - getLitRendererPropertyValue(int, int, String, Class<V>) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Get property value for item's LitRenderer in column.
- getLitRendererPropertyValue(int, int, String, Class<V>) - Method in class com.vaadin.flow.component.grid.GridTester
-
Get property value for item's LitRenderer in column.
- getLitRendererPropertyValue(int, int, String, Class<V>) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Get property value for item's LitRenderer in column.
- getLitRendererPropertyValue(int, int, String, Class<V>) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Get property value for item's LitRenderer in column.
- getLitRendererPropertyValue(int, String, Class<V>) - Method in class com.vaadin.flow.component.virtuallist.VirtualListLocator
-
Get property value for item's LitRenderer.
- getLitRendererPropertyValue(int, String, Class<V>) - Method in class com.vaadin.flow.component.virtuallist.VirtualListTester
-
Get property value for item's LitRenderer.
- getLitRendererPropertyValue(int, String, String, Class<V>) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Get property value for item's LitRenderer in column.
- getLitRendererPropertyValue(int, String, String, Class<V>) - Method in class com.vaadin.flow.component.grid.GridTester
-
Get property value for item's LitRenderer in column.
- getLitRendererPropertyValue(int, String, String, Class<V>) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Get property value for item's LitRenderer in column.
- getLitRendererPropertyValue(int, String, String, Class<V>) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Get property value for item's LitRenderer in column.
- getLocalAddr() - Method in class com.vaadin.browserless.mocks.MockRequest
- getLocale() - Method in class com.vaadin.browserless.mocks.MockRequest
- getLocale() - Method in class com.vaadin.browserless.mocks.MockResponse
- getLocaleInt() - Method in class com.vaadin.browserless.mocks.MockRequest
-
Returns the locale
MockRequest.getLocale()reports. - getLocales() - Method in class com.vaadin.browserless.mocks.MockRequest
- getLocalName() - Method in class com.vaadin.browserless.mocks.MockRequest
- getLocalPort() - Static method in class com.vaadin.browserless.mocks.MockHttpEnvironment
-
Returns the port
MockRequest.getLocalPort()reports, i.e. the one the request was received on. - getLocalPort() - Method in class com.vaadin.browserless.mocks.MockRequest
-
Returns
MockHttpEnvironment.getLocalPort(). - getLookupServices() - Method in class com.vaadin.browserless.BrowserlessConfiguration
-
Gets the service implementation classes to be used to initialize the Vaadin
Lookup. - getMainDivId(VaadinSession, VaadinRequest) - Method in class com.vaadin.browserless.mocks.MockService
- getMajorVersion() - Method in class com.vaadin.browserless.mocks.MockContext
- getMaster() - Method in class com.vaadin.flow.component.masterdetaillayout.MasterDetailLayoutLocator
-
Gets the component currently shown in the master area.
- getMaster() - Method in class com.vaadin.flow.component.masterdetaillayout.MasterDetailLayoutTester
-
Gets the component currently shown in the master area.
- getMaxInactiveInterval() - Method in class com.vaadin.browserless.mocks.MockHttpSession
- getMedia() - Method in class com.vaadin.flow.component.card.CardLocator
-
Gets the component shown as the card's media.
- getMedia() - Method in class com.vaadin.flow.component.card.CardTester
-
Gets the component shown as the card's media.
- getMenuAccessControl() - Method in class com.vaadin.browserless.mocks.MockInstantiator
-
Deprecated.
- getMessage(int) - Method in class com.vaadin.flow.component.messages.MessageListLocator
-
Get message in given index. index is 0 based.
- getMessage(int) - Method in class com.vaadin.flow.component.messages.MessageListTester
-
Get message in given index. index is 0 based.
- getMessages() - Method in class com.vaadin.flow.component.messages.MessageListLocator
-
Get all messages in list.
- getMessages() - Method in class com.vaadin.flow.component.messages.MessageListTester
-
Get all messages in list.
- getMessages(String) - Method in class com.vaadin.flow.component.messages.MessageListLocator
-
Get all messages for a given userName.
- getMessages(String) - Method in class com.vaadin.flow.component.messages.MessageListTester
-
Get all messages for a given userName.
- getMessages(Instant, Instant) - Method in class com.vaadin.flow.component.messages.MessageListLocator
-
Get messages between given Instant (excluding).
- getMessages(Instant, Instant) - Method in class com.vaadin.flow.component.messages.MessageListTester
-
Get messages between given Instant (excluding).
- getMessagesAfter(Instant) - Method in class com.vaadin.flow.component.messages.MessageListLocator
-
Get messages after given Instant (excluding).
- getMessagesAfter(Instant) - Method in class com.vaadin.flow.component.messages.MessageListTester
-
Get messages after given Instant (excluding).
- getMessagesBefore(Instant) - Method in class com.vaadin.flow.component.messages.MessageListLocator
-
Get messages before given Instant (excluding).
- getMessagesBefore(Instant) - Method in class com.vaadin.flow.component.messages.MessageListTester
-
Get messages before given Instant (excluding).
- getMethod() - Method in class com.vaadin.browserless.mocks.MockRequest
- getMethod(Class, String, Class<?>...) - Method in class com.vaadin.browserless.ComponentTester
-
Get method with given name and parameters in the given class or in one of its superclasses.
- getMethod(String, Class<?>...) - Method in class com.vaadin.browserless.ComponentTester
-
Get method with given name and parameters in the wrapped component.
- getMimeType(String) - Method in class com.vaadin.browserless.mocks.MockContext
- getMinorVersion() - Method in class com.vaadin.browserless.mocks.MockContext
- getMock(VaadinRequest) - Static method in class com.vaadin.browserless.internal.Utils
-
Retrieves the mock request which backs up given
VaadinRequest. - getMock(VaadinResponse) - Static method in class com.vaadin.browserless.internal.Utils
-
Retrieves the mock response which backs up given
VaadinResponse. - getMock(VaadinSession) - Static method in class com.vaadin.browserless.internal.Utils
-
Retrieves the mock session which backs up given
VaadinSession. - getMockRequestFactory() - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Returns the factory creating the
MockRequestof each session. - getName() - Method in class com.vaadin.browserless.internal.PrettyPrintTree
-
Returns the node name.
- getNamedDispatcher(String) - Method in class com.vaadin.browserless.mocks.MockContext
- getOpenedWindows() - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Returns a map of all windows opened via
Page.open(String)orPage.open(String, String), excluding navigations that target the current window (_self,_parent,_top, empty, ornull). - getOpenedWindows() - Method in class com.vaadin.browserless.internal.MockPage
-
Returns the URLs opened in windows other than the page's own, by window name.
- getOrCreate(Class<T>) - Method in class com.vaadin.browserless.mocks.MockInstantiator
-
Deprecated.
- getOutputStream() - Method in class com.vaadin.browserless.mocks.MockResponse
- getOverflowAbbreviation() - Method in class com.vaadin.flow.component.avatar.AvatarGroupLocator
-
Gets the abbreviation shown on the overflow avatar, such as
"+3". - getOverflowAbbreviation() - Method in class com.vaadin.flow.component.avatar.AvatarGroupTester
-
Gets the abbreviation shown on the overflow avatar, such as
"+3". - getOverflowItems() - Method in class com.vaadin.flow.component.avatar.AvatarGroupLocator
-
Gets the items that do not fit
AvatarGroup.getMaxItemsVisible()and are grouped behind the overflow avatar. - getOverflowItems() - Method in class com.vaadin.flow.component.avatar.AvatarGroupTester
-
Gets the items that do not fit
AvatarGroup.getMaxItemsVisible()and are grouped behind the overflow avatar. - getPageTitleGenerator() - Method in class com.vaadin.browserless.mocks.MockInstantiator
-
Deprecated.
- getPanel(String) - Method in class com.vaadin.flow.component.accordion.AccordionLocator
-
Get the panel with the summary.
- getPanel(String) - Method in class com.vaadin.flow.component.accordion.AccordionTester
-
Get the panel with the summary.
- getParameter(String) - Method in class com.vaadin.browserless.mocks.MockRequest
- getParameterMap() - Method in class com.vaadin.browserless.mocks.MockRequest
- getParameterNames() - Method in class com.vaadin.browserless.mocks.MockRequest
- getParameters() - Method in class com.vaadin.browserless.ExecutedJavaScript.Execution
-
Gets the parameters that the expression of this execution runs with, in the form Flow sends them.
- getParameters() - Method in class com.vaadin.browserless.mocks.MockRequest
-
Returns the request parameters, live and directly modifiable.
- getParameterValues(String) - Method in class com.vaadin.browserless.mocks.MockRequest
- getPart(String) - Method in class com.vaadin.browserless.mocks.MockRequest
- getParts() - Method in class com.vaadin.browserless.mocks.MockRequest
- getPartsInt() - Method in class com.vaadin.browserless.mocks.MockRequest
-
Returns the multipart parts of this request, or
nullwhen no multipart configuration has been provided. - getPath() - Method in class com.vaadin.flow.component.html.AnchorLocator
-
Gets the path for the router-link.
- getPath() - Method in class com.vaadin.flow.component.html.AnchorTester
-
Gets the path for the router-link.
- getPath() - Method in class com.vaadin.flow.component.routerlink.RouterLinkLocator
-
Gets the path for the router-link.
- getPath() - Method in class com.vaadin.flow.component.routerlink.RouterLinkTester
-
Gets the path for the router-link.
- getPathInfo() - Method in class com.vaadin.browserless.mocks.MockRequest
- getPathTranslated() - Method in class com.vaadin.browserless.mocks.MockRequest
- getPlaceholder() - Method in class com.vaadin.browserless.internal.SearchSpec
-
The required
placeholder; if null, no particular placeholder is matched. - getPlaceholder(Component) - Static method in class com.vaadin.browserless.internal.ComponentUtils
-
A component placeholder, usually shown when there's no value selected.
- getPointValue(int, String) - Method in class com.vaadin.flow.component.charts.ChartLocator
-
Gets the value of the point with given name from the series at given index.
- getPointValue(int, String) - Method in class com.vaadin.flow.component.charts.ChartTester
-
Gets the value of the point with given name from the series at given index.
- getPointValue(String, String) - Method in class com.vaadin.flow.component.charts.ChartLocator
-
Gets the value of the point with given name from the series at given index.
- getPointValue(String, String) - Method in class com.vaadin.flow.component.charts.ChartTester
-
Gets the value of the point with given name from the series at given index.
- getPolymerTemplateClass() - Static method in class com.vaadin.browserless.internal.Utils
-
Returns the
PolymerTemplateclass, or null if it's not on the classpath. - getPredicates() - Method in class com.vaadin.browserless.internal.SearchSpec
-
Extra predicates the component must satisfy, on top of the other rules.
- getPrettyPrintUseAscii() - Static method in class com.vaadin.browserless.internal.PrettyPrintTree
- getPrettyStringHook() - Static method in class com.vaadin.browserless.internal.PrettyPrintTree
-
Invoked by
PrettyPrintTree.toPrettyString(Component)to add additional properties for your custom component. - getPrimaryComponent() - Method in class com.vaadin.flow.component.splitlayout.SplitLayoutLocator
-
Gets the component shown in the primary split.
- getPrimaryComponent() - Method in class com.vaadin.flow.component.splitlayout.SplitLayoutTester
-
Gets the component shown in the primary split.
- getProperties(LitRenderer<Y>, BiFunction<Class<?>, String, Field>) - Static method in class com.vaadin.browserless.LitRendererTestUtil
-
Gets the property names for the supplied
LitRendererusing the given field getter. - getPropertyValue(LitRenderer<Y>, BiFunction<Class<?>, String, Field>, IntFunction<Y>, int, String, Class<V>) - Static method in class com.vaadin.browserless.LitRendererTestUtil
-
Gets the property value for the supplied
LitRenderer. - getProtocol() - Method in class com.vaadin.browserless.mocks.MockRequest
- getProtocolRequestId() - Method in class com.vaadin.browserless.mocks.MockRequest
- getQueryParameters() - Method in class com.vaadin.flow.component.html.AnchorLocator
-
Gets the query parameters for the router-link.
- getQueryParameters() - Method in class com.vaadin.flow.component.html.AnchorTester
-
Gets the query parameters for the router-link.
- getQueryParameters() - Method in class com.vaadin.flow.component.routerlink.RouterLinkLocator
-
Gets the query parameters for the router-link.
- getQueryParameters() - Method in class com.vaadin.flow.component.routerlink.RouterLinkTester
-
Gets the query parameters for the router-link.
- getQueryString() - Method in class com.vaadin.browserless.mocks.MockRequest
- getReader() - Method in class com.vaadin.browserless.mocks.MockRequest
- getRealPath(String) - Method in class com.vaadin.browserless.mocks.MockContext
- getRealPathRoots() - Method in class com.vaadin.browserless.mocks.MockContext
-
Returns the module-relative folders
MockContext.getRealPath(String)resolves a path against, in order; the first one holding the file wins. - getRemoteAddr() - Method in class com.vaadin.browserless.mocks.MockRequest
- getRemoteHost() - Method in class com.vaadin.browserless.mocks.MockRequest
- getRemotePort() - Static method in class com.vaadin.browserless.mocks.MockHttpEnvironment
-
Returns the port
MockRequest.getRemotePort()reports, i.e. the client's. - getRemotePort() - Method in class com.vaadin.browserless.mocks.MockRequest
-
Returns
MockHttpEnvironment.getRemotePort(). - getRemoteUser() - Method in class com.vaadin.browserless.mocks.MockRequest
- getRenderedComponent(Grid.Column<?>, String) - Static method in class com.vaadin.browserless.internal.RenderedComponentSupport
-
Gets the component the column has rendered for the item with the given key.
- getRequest() - Method in class com.vaadin.browserless.internal.SessionObjects
-
Returns the request bound to the session.
- getRequestCharacterEncoding() - Method in class com.vaadin.browserless.mocks.MockContext
- getRequestDispatcher(String) - Method in class com.vaadin.browserless.mocks.MockContext
- getRequestDispatcher(String) - Method in class com.vaadin.browserless.mocks.MockRequest
- getRequestedSessionId() - Method in class com.vaadin.browserless.mocks.MockRequest
- getRequestId() - Method in class com.vaadin.browserless.mocks.MockRequest
- getRequestURI() - Method in class com.vaadin.browserless.mocks.MockRequest
- getRequestURL() - Method in class com.vaadin.browserless.mocks.MockRequest
- getResource(String) - Method in class com.vaadin.browserless.mocks.MockContext
- getResourceAsStream(String) - Method in class com.vaadin.browserless.mocks.MockContext
- getResourcePaths(String) - Method in class com.vaadin.browserless.mocks.MockContext
- getResponse() - Method in class com.vaadin.browserless.internal.SessionObjects
-
Returns the response bound to the session.
- getResponseCharacterEncoding() - Method in class com.vaadin.browserless.mocks.MockContext
- getResultNotifier() - Method in class com.vaadin.browserless.TestSignalEnvironment
- getRoute() - Method in class com.vaadin.flow.component.routerlink.RouterLinkLocator
-
Gets the registered route class for the router-link.
- getRoute() - Method in class com.vaadin.flow.component.routerlink.RouterLinkTester
-
Gets the registered route class for the router-link.
- getRoutes() - Method in class com.vaadin.browserless.internal.Routes
-
Returns all route views in the application.
- getRoutes() - Method in class com.vaadin.browserless.mocks.MockVaadinServlet
-
Returns the routes this servlet registers.
- getRow(int) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Get the item at the given row index.
- getRow(int) - Method in class com.vaadin.flow.component.grid.GridTester
-
Get the item at the given row index.
- getRow(int) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Get the item at the given row index.
- getRow(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Get the item at the given row index.
- getScheme() - Method in class com.vaadin.browserless.mocks.MockRequest
- getSecondaryComponent() - Method in class com.vaadin.flow.component.splitlayout.SplitLayoutLocator
-
Gets the component shown in the secondary split.
- getSecondaryComponent() - Method in class com.vaadin.flow.component.splitlayout.SplitLayoutTester
-
Gets the component shown in the secondary split.
- getSelected() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupLocator
-
Get the list of currently selected items.
- getSelected() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupTester
-
Get the list of currently selected items.
- getSelected() - Method in class com.vaadin.flow.component.combobox.ComboBoxLocator
-
Get the currently selected item.
- getSelected() - Method in class com.vaadin.flow.component.combobox.ComboBoxTester
-
Get the currently selected item.
- getSelected() - Method in class com.vaadin.flow.component.combobox.MultiSelectComboBoxLocator
-
Get the currently selected item.
- getSelected() - Method in class com.vaadin.flow.component.combobox.MultiSelectComboBoxTester
-
Get the currently selected item.
- getSelected() - Method in class com.vaadin.flow.component.grid.GridLocator
-
Get selected items.
- getSelected() - Method in class com.vaadin.flow.component.grid.GridTester
-
Get selected items.
- getSelected() - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Get selected items.
- getSelected() - Method in class com.vaadin.flow.component.listbox.ListBoxLocator
-
Get the currently selected item.
- getSelected() - Method in class com.vaadin.flow.component.listbox.ListBoxTester
-
Get the currently selected item.
- getSelected() - Method in class com.vaadin.flow.component.listbox.MultiSelectListBoxLocator
-
Get the currently selected items.
- getSelected() - Method in class com.vaadin.flow.component.listbox.MultiSelectListBoxTester
-
Get the currently selected items.
- getSelected() - Method in class com.vaadin.flow.component.radiobutton.RadioButtonGroupLocator
-
Get the list of currently selected items.
- getSelected() - Method in class com.vaadin.flow.component.radiobutton.RadioButtonGroupTester
-
Get the list of currently selected items.
- getSelected() - Method in class com.vaadin.flow.component.select.SelectLocator
-
Get the currently selected item.
- getSelected() - Method in class com.vaadin.flow.component.select.SelectTester
-
Get the currently selected item.
- getSelected() - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Get selected items.
- getSelectedTabLabel() - Method in class com.vaadin.flow.component.tabs.TabSheetLocator
-
Gets the label of the selected tab.
- getSelectedTabLabel() - Method in class com.vaadin.flow.component.tabs.TabSheetTester
-
Gets the label of the selected tab.
- getSelectedTabLabel() - Method in class com.vaadin.flow.component.tabs.TabsLocator
-
Gets the label of the selected tab.
- getSelectedTabLabel() - Method in class com.vaadin.flow.component.tabs.TabsTester
-
Gets the label of the selected tab.
- getSeriesValues(int) - Method in class com.vaadin.flow.component.charts.ChartLocator
-
Gets the values for the series at given index.
- getSeriesValues(int) - Method in class com.vaadin.flow.component.charts.ChartTester
-
Gets the values for the series at given index.
- getSeriesValues(String) - Method in class com.vaadin.flow.component.charts.ChartLocator
-
Gets the values for the series with the given name.
- getSeriesValues(String) - Method in class com.vaadin.flow.component.charts.ChartTester
-
Gets the values for the series with the given name.
- getServerInfo() - Method in class com.vaadin.browserless.mocks.MockContext
- getServerName() - Method in class com.vaadin.browserless.mocks.MockRequest
- getServerPort() - Static method in class com.vaadin.browserless.mocks.MockHttpEnvironment
-
Returns the port
MockRequest.getServerPort()reports, i.e. the one the request was addressed to. - getServerPort() - Method in class com.vaadin.browserless.mocks.MockRequest
-
Returns
MockHttpEnvironment.getServerPort(). - getServiceInitListeners() - Method in class com.vaadin.browserless.mocks.MockInstantiator
-
Deprecated.
- getServiceTypes() - Method in class com.vaadin.browserless.mocks.MockVaadinHelper.BrowserlessLookupInitializer
- getServletConnection() - Method in class com.vaadin.browserless.mocks.MockRequest
- getServletContext() - Method in class com.vaadin.browserless.mocks.MockHttpSession
- getServletContext() - Method in class com.vaadin.browserless.mocks.MockRequest
- getServletContext() - Method in class com.vaadin.browserless.mocks.MockServletConfig
- getServletContext(VaadinContext) - Static method in class com.vaadin.browserless.internal.Utils
-
Returns the servlet context which backs up given
VaadinContext. - getServletContextName() - Method in class com.vaadin.browserless.mocks.MockContext
- getServletInitParams() - Method in class com.vaadin.browserless.mocks.MockServletConfig
-
Returns the per-servlet init parameters, live and directly modifiable.
- getServletName() - Method in class com.vaadin.browserless.mocks.MockServletConfig
- getServletPath() - Method in class com.vaadin.browserless.mocks.MockRequest
- getServletRegistration(String) - Method in class com.vaadin.browserless.mocks.MockContext
- getServletRegistrations() - Method in class com.vaadin.browserless.mocks.MockContext
- getSession() - Method in class com.vaadin.browserless.BrowserlessUserContext
-
Returns the Vaadin session associated with this user.
- getSession() - Method in class com.vaadin.browserless.internal.SessionObjects
-
Returns the session.
- getSession() - Method in class com.vaadin.browserless.mocks.MockRequest
- getSession(boolean) - Method in class com.vaadin.browserless.mocks.MockRequest
- getSessionCookieConfig() - Method in class com.vaadin.browserless.mocks.MockContext
- getSessionTimeout() - Method in class com.vaadin.browserless.mocks.MockContext
- getSkipPwaInit() - Method in class com.vaadin.browserless.internal.Routes
-
Whether the PWA initialization code is skipped in Vaadin.
- getSortDirection(int) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Gets the current sort direction for column at the given index.
- getSortDirection(int) - Method in class com.vaadin.flow.component.grid.GridTester
-
Gets the current sort direction for column at the given index.
- getSortDirection(int) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Gets the current sort direction for column at the given index.
- getSortDirection(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Gets the current sort direction for column at the given index.
- getSortDirection(String) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Gets the current sort direction for column corresponding to the at the given property.
- getSortDirection(String) - Method in class com.vaadin.flow.component.grid.GridTester
-
Gets the current sort direction for column corresponding to the at the given property.
- getSortDirection(String) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Gets the current sort direction for column corresponding to the at the given property.
- getSortDirection(String) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Gets the current sort direction for column corresponding to the at the given property.
- getSplitterPosition() - Method in class com.vaadin.flow.component.splitlayout.SplitLayoutLocator
-
Gets the relative position of the splitter, as a percentage between 0 and 100 of the space given to the primary split.
- getSplitterPosition() - Method in class com.vaadin.flow.component.splitlayout.SplitLayoutTester
-
Gets the relative position of the splitter, as a percentage between 0 and 100 of the space given to the primary split.
- getStart() - Method in class com.vaadin.browserless.internal.CountRange
-
Returns the lowest accepted count.
- getStatus() - Method in class com.vaadin.browserless.mocks.MockResponse
- getSubtitle() - Method in class com.vaadin.flow.component.card.CardLocator
-
Gets the component used as the card's subtitle.
- getSubtitle() - Method in class com.vaadin.flow.component.card.CardTester
-
Gets the component used as the card's subtitle.
- getSubtitleAsText() - Method in class com.vaadin.flow.component.card.CardLocator
-
Gets the subtitle text shown on the card.
- getSubtitleAsText() - Method in class com.vaadin.flow.component.card.CardTester
-
Gets the subtitle text shown on the card.
- getSuggestionItems() - Method in class com.vaadin.flow.component.combobox.ComboBoxLocator
-
Get the actual items for the dropdown as a List.
- getSuggestionItems() - Method in class com.vaadin.flow.component.combobox.ComboBoxTester
-
Get the actual items for the dropdown as a List.
- getSuggestionItems() - Method in class com.vaadin.flow.component.combobox.MultiSelectComboBoxLocator
-
Get the actual items for the dropdown as a List.
- getSuggestionItems() - Method in class com.vaadin.flow.component.combobox.MultiSelectComboBoxTester
-
Get the actual items for the dropdown as a List.
- getSuggestionItems() - Method in class com.vaadin.flow.component.listbox.ListBoxLocator
-
Get the actual items for the dropdown as a List.
- getSuggestionItems() - Method in class com.vaadin.flow.component.listbox.ListBoxTester
-
Get the actual items for the dropdown as a List.
- getSuggestionItems() - Method in class com.vaadin.flow.component.listbox.MultiSelectListBoxLocator
-
Get the actual items for the dropdown as a List.
- getSuggestionItems() - Method in class com.vaadin.flow.component.listbox.MultiSelectListBoxTester
-
Get the actual items for the dropdown as a List.
- getSuggestionItems() - Method in class com.vaadin.flow.component.select.SelectLocator
-
Get the actual items for the dropdown as a List.
- getSuggestionItems() - Method in class com.vaadin.flow.component.select.SelectTester
-
Get the actual items for the dropdown as a List.
- getSuggestions() - Method in class com.vaadin.flow.component.combobox.ComboBoxLocator
-
Get dropdown suggestions as String representations sent to the client.
- getSuggestions() - Method in class com.vaadin.flow.component.combobox.ComboBoxTester
-
Get dropdown suggestions as String representations sent to the client.
- getSuggestions() - Method in class com.vaadin.flow.component.combobox.MultiSelectComboBoxLocator
-
Get dropdown suggestions as String representations sent to the client.
- getSuggestions() - Method in class com.vaadin.flow.component.combobox.MultiSelectComboBoxTester
-
Get dropdown suggestions as String representations sent to the client.
- getSuggestions() - Method in class com.vaadin.flow.component.listbox.ListBoxLocator
-
Get available items as String representations sent to the client.
- getSuggestions() - Method in class com.vaadin.flow.component.listbox.ListBoxTester
-
Get available items as String representations sent to the client.
- getSuggestions() - Method in class com.vaadin.flow.component.listbox.MultiSelectListBoxLocator
-
Get available items as String representations sent to the client.
- getSuggestions() - Method in class com.vaadin.flow.component.listbox.MultiSelectListBoxTester
-
Get available items as String representations sent to the client.
- getSuggestions() - Method in class com.vaadin.flow.component.select.SelectLocator
-
Get dropdown suggestions as String representations sent to the client.
- getSuggestions() - Method in class com.vaadin.flow.component.select.SelectTester
-
Get dropdown suggestions as String representations sent to the client.
- getSummary() - Method in class com.vaadin.flow.component.html.NativeDetailsLocator
-
Get the summary component of this Details element.
- getSummary() - Method in class com.vaadin.flow.component.html.NativeDetailsTester
-
Get the summary component of this Details element.
- getSummaryText() - Method in class com.vaadin.flow.component.html.NativeDetailsLocator
-
Get the summary text.
- getSummaryText() - Method in class com.vaadin.flow.component.html.NativeDetailsTester
-
Get the summary text.
- getTab(int) - Method in class com.vaadin.flow.component.tabs.TabSheetLocator
-
Gets the visible tab at given index.
- getTab(int) - Method in class com.vaadin.flow.component.tabs.TabSheetTester
-
Gets the visible tab at given index.
- getTab(int) - Method in class com.vaadin.flow.component.tabs.TabsLocator
-
Gets the visible tab at given index.
- getTab(int) - Method in class com.vaadin.flow.component.tabs.TabsTester
-
Gets the visible tab at given index.
- getTab(String) - Method in class com.vaadin.flow.component.tabs.TabSheetLocator
-
Gets the visible tab with the given label.
- getTab(String) - Method in class com.vaadin.flow.component.tabs.TabSheetTester
-
Gets the visible tab with the given label.
- getTab(String) - Method in class com.vaadin.flow.component.tabs.TabsLocator
-
Gets the visible tab with the given label.
- getTab(String) - Method in class com.vaadin.flow.component.tabs.TabsTester
-
Gets the visible tab with the given label.
- getTabContent(int) - Method in class com.vaadin.flow.component.tabs.TabSheetLocator
-
Gets the content of the visible tab at given index.
- getTabContent(int) - Method in class com.vaadin.flow.component.tabs.TabSheetTester
-
Gets the content of the visible tab at given index.
- getTabContent(String) - Method in class com.vaadin.flow.component.tabs.TabSheetLocator
-
Gets the content of the visible tab with the given label.
- getTabContent(String) - Method in class com.vaadin.flow.component.tabs.TabSheetTester
-
Gets the content of the visible tab with the given label.
- getTabLabels() - Method in class com.vaadin.flow.component.tabs.TabSheetLocator
-
Gets the labels of the visible tabs, in the order the user sees them.
- getTabLabels() - Method in class com.vaadin.flow.component.tabs.TabSheetTester
-
Gets the labels of the visible tabs, in the order the user sees them.
- getTabLabels() - Method in class com.vaadin.flow.component.tabs.TabsLocator
-
Gets the labels of the visible tabs, in the order the user sees them.
- getTabLabels() - Method in class com.vaadin.flow.component.tabs.TabsTester
-
Gets the labels of the visible tabs, in the order the user sees them.
- getTerms() - Method in class com.vaadin.flow.component.html.DescriptionListLocator
-
Get all terms of DescriptionList.
- getTerms() - Method in class com.vaadin.flow.component.html.DescriptionListTester
-
Get all terms of DescriptionList.
- getTestId() - Method in class com.vaadin.browserless.internal.SearchSpec
-
The required test id, i.e. the
data-testidattribute; if null, no particular test id is matched. - getTestingLifecycleHook() - Static method in class com.vaadin.browserless.internal.TestingLifecycleHooks
-
If you need to hook into the testing lifecycle (e.g. you need to wait for any async operations to finish), set your custom implementation via
TestingLifecycleHooks.setTestingLifecycleHook(TestingLifecycleHook). - getText() - Method in class com.vaadin.browserless.internal.SearchSpec
-
The required
Element.getText(); if null, no particular text is matched. - getText() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogLocator
-
Get the confirmation message text set to the component.
- getText() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogTester
-
Get the confirmation message text set to the component.
- getText() - Method in class com.vaadin.flow.component.html.AnchorLocator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.DescriptionListLocator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.DivLocator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.EmphasisLocator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.H1Locator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.H2Locator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.H3Locator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.H4Locator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.H5Locator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.H6Locator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.HrLocator
-
Get the recursive text for target element.
- getText() - Method in class com.vaadin.flow.component.html.HtmlComponentTester
-
Get the recursive text for target element.
- getText() - Method in class com.vaadin.flow.component.html.HtmlContainerTester
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.ImageLocator
-
Get the recursive text for target element.
- getText() - Method in class com.vaadin.flow.component.html.ListItemLocator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.NativeButtonLocator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.NativeDetailsLocator
-
Get the recursive text for target element.
- getText() - Method in class com.vaadin.flow.component.html.NativeLabelLocator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.OrderedListLocator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.ParagraphLocator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.PreLocator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.SpanLocator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.html.UnorderedListLocator
-
Get the text for target html component.
- getText() - Method in class com.vaadin.flow.component.notification.NotificationLocator
-
Gets the text the user sees in the notification.
- getText() - Method in class com.vaadin.flow.component.notification.NotificationTester
-
Gets the text the user sees in the notification.
- getText() - Method in class com.vaadin.flow.component.TextLocator
-
Gets the text of the component.
- getText() - Method in class com.vaadin.flow.component.TextTester
-
Gets the text of the component.
- getTextIncludingInnerHtml(Element) - Static method in class com.vaadin.browserless.internal.ElementUtils
-
This function actually works, as opposed to
Element.getTextRecursively(). - getTextRecursively(Node) - Static method in class com.vaadin.browserless.internal.ElementUtils
-
Returns the text contents of given jsoup node and all of its descendants.
- getThemes() - Method in class com.vaadin.browserless.internal.SearchSpec
-
If not null, the component must have all theme names defined.
- getTitle() - Method in class com.vaadin.flow.component.card.CardLocator
-
Gets the component used as the card's title.
- getTitle() - Method in class com.vaadin.flow.component.card.CardTester
-
Gets the component used as the card's title.
- getTitle() - Method in class com.vaadin.flow.component.html.AnchorLocator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.DescriptionListLocator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.DivLocator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.EmphasisLocator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.H1Locator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.H2Locator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.H3Locator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.H4Locator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.H5Locator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.H6Locator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.HrLocator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.HtmlComponentTester
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.ImageLocator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.ListItemLocator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.NativeButtonLocator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.NativeDetailsLocator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.NativeLabelLocator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.OrderedListLocator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.ParagraphLocator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.PreLocator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.SpanLocator
-
Get the title string set for the html component if available.
- getTitle() - Method in class com.vaadin.flow.component.html.UnorderedListLocator
-
Get the title string set for the html component if available.
- getTitleAsText() - Method in class com.vaadin.flow.component.card.CardLocator
-
Gets the title text shown on the card.
- getTitleAsText() - Method in class com.vaadin.flow.component.card.CardTester
-
Gets the title text shown on the card.
- getTokenFileFromClassloader() - Static method in class com.vaadin.browserless.mocks.MockVaadinHelper
-
Reads
flow-build-info.jsonfrom the classpath the same way Vaadin does, throughDefaultApplicationConfigurationFactory. - getUI() - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Returns the UI managed by this context.
- getUI() - Method in class com.vaadin.browserless.ExecutedJavaScript.Execution
-
Gets the UI whose browser the JavaScript was sent to.
- getUiFactory() - Method in class com.vaadin.browserless.mocks.MockService
-
Returns the factory creating the
UIof the session that replaces a closed session of this service. - getUiFactory() - Method in class com.vaadin.browserless.mocks.MockVaadinServlet
-
Returns the factory creating the
UIof the session that replaces a closed session of this servlet. - getUiFactory() - Method in class com.vaadin.browserless.mocks.MockVaadinSession
-
Returns the factory producing the
UIof the session that replaces this one once it is closed. - getUser() - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Returns the user context that owns this window.
- getUserAgent() - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Returns the
User-Agentevery mocked request reports. - getUserPrincipal() - Method in class com.vaadin.browserless.mocks.MockRequest
-
Returns the principal from
MockRequest.userPrincipalProviderif it is set and returns one, otherwise falls back toMockRequest.userPrincipalInt. - getUserPrincipalInt() - Method in class com.vaadin.browserless.mocks.MockRequest
-
Returns the principal
MockRequest.getUserPrincipal()reports when noprincipal provideris set, or when the provider returnsnull. - getUserPrincipalProvider() - Method in class com.vaadin.browserless.mocks.MockRequest
-
Returns the principal provider, if one has been set.
- getValue() - Method in class com.vaadin.browserless.internal.SearchSpec
-
Expected
HasValue.getValue(); ifnull, no particular value is matched. - getValue() - Method in class com.vaadin.flow.component.html.InputLocator
-
Get the current value of the component.
- getValue() - Method in class com.vaadin.flow.component.html.InputTester
-
Get the current value of the component.
- getValue() - Method in class com.vaadin.flow.component.html.RangeInputLocator
-
Get the current value of the component.
- getValue() - Method in class com.vaadin.flow.component.html.RangeInputTester
-
Get the current value of the component.
- getVirtualServerName() - Method in class com.vaadin.browserless.mocks.MockContext
- getVisibleItems() - Method in class com.vaadin.flow.component.avatar.AvatarGroupLocator
-
Gets the items that are shown as individual avatars.
- getVisibleItems() - Method in class com.vaadin.flow.component.avatar.AvatarGroupTester
-
Gets the items that are shown as individual avatars.
- getWithoutClasses() - Method in class com.vaadin.browserless.internal.SearchSpec
-
If not null, the component must NOT match any of these class names.
- getWithoutThemes() - Method in class com.vaadin.browserless.internal.SearchSpec
-
If not null, the component must NOT have any of the theme names defined.
- getWrappedItems() - Method in class com.vaadin.flow.component.html.OrderedListLocator
-
Get all ListItems for unordered list already wrapped for testing.
- getWrappedItems() - Method in class com.vaadin.flow.component.html.OrderedListTester
-
Get all ListItems for unordered list already wrapped for testing.
- getWrappedItems() - Method in class com.vaadin.flow.component.html.UnorderedListLocator
-
Get all ListItems for unordered list already wrapped for testing.
- getWrappedItems() - Method in class com.vaadin.flow.component.html.UnorderedListTester
-
Get all ListItems for unordered list already wrapped for testing.
- getWriter() - Method in class com.vaadin.browserless.mocks.MockResponse
- grantPermission() - Method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Sets permission to
GRANTED. - GridContextMenuLocator<Y> - Class in com.vaadin.flow.component.grid.contextmenu
-
Generated locator for
GridContextMenu, derived fromGridContextMenuTester. - GridContextMenuLocator(GridContextMenu<Y>) - Constructor for class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- GridContextMenuLocator(Class<Y>) - Constructor for class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
-
Creates a locator that searches for a
GridContextMenu. - GridContextMenuSupport - Class in com.vaadin.browserless.internal
-
Helpers for driving a
GridContextMenuthe way the grid's client-side connector does. - GridContextMenuTester<T,
Y> - Class in com.vaadin.flow.component.grid.contextmenu -
Tester for GridContextMenu components.
- GridContextMenuTester(T) - Constructor for class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Wrap grid context menu for testing.
- GridContextMenuTester(T, int) - Constructor for class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Wrap grid context menu for testing, targeting the given row.
- GridLocator<Y> - Class in com.vaadin.flow.component.grid
-
Generated locator for
Grid, derived fromGridTester. - GridLocator(Grid<Y>) - Constructor for class com.vaadin.flow.component.grid.GridLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- GridLocator(Class<Y>) - Constructor for class com.vaadin.flow.component.grid.GridLocator
-
Creates a locator that searches for a
Grid. - GridProLocator<Y> - Class in com.vaadin.flow.component.gridpro
-
Generated locator for
GridPro, derived fromGridProTester. - GridProLocator(GridPro<Y>) - Constructor for class com.vaadin.flow.component.gridpro.GridProLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- GridProLocator(Class<Y>) - Constructor for class com.vaadin.flow.component.gridpro.GridProLocator
-
Creates a locator that searches for a
GridPro. - GridProTester<T,
Y> - Class in com.vaadin.flow.component.gridpro -
Tester for GridPro components.
- GridProTester(T) - Constructor for class com.vaadin.flow.component.gridpro.GridProTester
-
Wrap gridpro for testing.
- GridTester<T,
Y> - Class in com.vaadin.flow.component.grid -
Tester for Grid components.
- GridTester(T) - Constructor for class com.vaadin.flow.component.grid.GridTester
-
Wrap grid for testing.
- GridUtils - Class in com.vaadin.browserless.component
-
Helpers the Grid testers use to read and drive a
Gridthe way a user would.
H
- H1Locator - Class in com.vaadin.flow.component.html
-
Generated locator for
H1, derived fromH1Tester. - H1Locator() - Constructor for class com.vaadin.flow.component.html.H1Locator
-
Creates a locator that searches for a
H1. - H1Locator(H1) - Constructor for class com.vaadin.flow.component.html.H1Locator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- H1Tester - Class in com.vaadin.flow.component.html
-
Tester for H1 components.
- H1Tester(H1) - Constructor for class com.vaadin.flow.component.html.H1Tester
-
Wrap given component for testing.
- H2Locator - Class in com.vaadin.flow.component.html
-
Generated locator for
H2, derived fromH2Tester. - H2Locator() - Constructor for class com.vaadin.flow.component.html.H2Locator
-
Creates a locator that searches for a
H2. - H2Locator(H2) - Constructor for class com.vaadin.flow.component.html.H2Locator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- H2Tester - Class in com.vaadin.flow.component.html
-
Tester for H2 components.
- H2Tester(H2) - Constructor for class com.vaadin.flow.component.html.H2Tester
-
Wrap given component for testing.
- H3Locator - Class in com.vaadin.flow.component.html
-
Generated locator for
H3, derived fromH3Tester. - H3Locator() - Constructor for class com.vaadin.flow.component.html.H3Locator
-
Creates a locator that searches for a
H3. - H3Locator(H3) - Constructor for class com.vaadin.flow.component.html.H3Locator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- H3Tester - Class in com.vaadin.flow.component.html
-
Tester for H3 components.
- H3Tester(H3) - Constructor for class com.vaadin.flow.component.html.H3Tester
-
Wrap given component for testing.
- H4Locator - Class in com.vaadin.flow.component.html
-
Generated locator for
H4, derived fromH4Tester. - H4Locator() - Constructor for class com.vaadin.flow.component.html.H4Locator
-
Creates a locator that searches for a
H4. - H4Locator(H4) - Constructor for class com.vaadin.flow.component.html.H4Locator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- H4Tester - Class in com.vaadin.flow.component.html
-
Tester for H4 components.
- H4Tester(H4) - Constructor for class com.vaadin.flow.component.html.H4Tester
-
Wrap given component for testing.
- H5Locator - Class in com.vaadin.flow.component.html
-
Generated locator for
H5, derived fromH5Tester. - H5Locator() - Constructor for class com.vaadin.flow.component.html.H5Locator
-
Creates a locator that searches for a
H5. - H5Locator(H5) - Constructor for class com.vaadin.flow.component.html.H5Locator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- H5Tester - Class in com.vaadin.flow.component.html
-
Tester for H5 components.
- H5Tester(H5) - Constructor for class com.vaadin.flow.component.html.H5Tester
-
Wrap given component for testing.
- H6Locator - Class in com.vaadin.flow.component.html
-
Generated locator for
H6, derived fromH6Tester. - H6Locator() - Constructor for class com.vaadin.flow.component.html.H6Locator
-
Creates a locator that searches for a
H6. - H6Locator(H6) - Constructor for class com.vaadin.flow.component.html.H6Locator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- H6Tester - Class in com.vaadin.flow.component.html
-
Tester for H6 components.
- H6Tester(H6) - Constructor for class com.vaadin.flow.component.html.H6Tester
-
Wrap given component for testing.
- handle(ExecutedJavaScript.Execution) - Method in interface com.vaadin.browserless.JavaScriptHandler
-
Reacts to a piece of JavaScript that the simulated browser has received.
- handle(PendingJavaScriptInvocation) - Method in interface com.vaadin.browserless.JavaScriptDispatcher.Handler
-
Reacts to an invocation that the client has received.
- hasAriaLabel(String) - Static method in class com.vaadin.browserless.ElementConditions
-
Checks if the component identifies itself to assistive technology via the given
aria-label. - HasAriaLabelFilter<C,
SELF> - Interface in com.vaadin.browserless.locator -
Mixin for
Locators whose target component implementsHasAriaLabel. - hasAttribute(String) - Static method in class com.vaadin.browserless.ElementConditions
-
Checks if the given attribute has been set on the component.
- hasAttribute(String, String) - Static method in class com.vaadin.browserless.ElementConditions
-
Checks if the given attribute has been set on the component and has exactly the given value.
- hasChildren(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Checks whether the node on the given row has children, meaning the user is shown an expand toggle for it.
- hasChildren(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridTester
-
Checks whether the node on the given row has children, meaning the user is shown an expand toggle for it.
- hasCustomToString(Class<?>) - Static method in class com.vaadin.browserless.internal.Utils
-
Checks whether given class overrides
Object.toString(). - hashCode() - Method in class com.vaadin.browserless.BrowserlessConfiguration
- hashCode() - Method in class com.vaadin.browserless.internal.CountRange
- hashCode() - Method in class com.vaadin.browserless.internal.Routes
- hashCode() - Method in class com.vaadin.browserless.internal.SessionObjects
- hashCode() - Method in record class com.vaadin.flow.component.upload.UploadTester.FileStatus
-
Returns a hash code value for this object.
- hasLabel(String) - Static method in class com.vaadin.browserless.ElementConditions
-
Checks if the component is labelled by exactly the given text.
- HasLabelFilter<C,
SELF> - Interface in com.vaadin.browserless.locator -
Mixin for
Locators whose target component implementsHasLabel. - hasNext() - Method in class com.vaadin.browserless.internal.DepthFirstTreeIterator
- hasNotAttribute(String) - Static method in class com.vaadin.browserless.ElementConditions
-
Checks if the given attribute has not been set on the component.
- hasNotAttribute(String, String) - Static method in class com.vaadin.browserless.ElementConditions
-
Checks if the given attribute has been set on the component or has a value different from given one.
- hasPanel(String) - Method in class com.vaadin.flow.component.accordion.AccordionLocator
-
Check if a panel for summary exists in accordion.
- hasPanel(String) - Method in class com.vaadin.flow.component.accordion.AccordionTester
-
Check if a panel for summary exists in accordion.
- HasPlaceholderFilter<C,
SELF> - Interface in com.vaadin.browserless.locator -
Mixin for
Locators whose target component implementsHasPlaceholder. - hasPolymerTemplates() - Static method in class com.vaadin.browserless.internal.Utils
-
Checks whether the
PolymerTemplateclass is on the classpath. - HasTextFilter<C,
SELF> - Interface in com.vaadin.browserless.locator -
Mixin for
Locators whose target component implementsHasText. - HasThemeFilter<C,
SELF> - Interface in com.vaadin.browserless.locator -
Mixin for
Locators whose target component implementsHasTheme. - HasValueFilter<C,
V, - Interface in com.vaadin.browserless.locatorSELF> -
Mixin for
Locators whose target component implementsHasValue. - hoverTarget() - Method in class com.vaadin.flow.component.popover.PopoverLocator
-
Simulates hovering the target component to open the popover.
- hoverTarget() - Method in class com.vaadin.flow.component.popover.PopoverTester
-
Simulates hovering the target component to open the popover.
- HrLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
Hr, derived fromHrTester. - HrLocator() - Constructor for class com.vaadin.flow.component.html.HrLocator
-
Creates a locator that searches for a
Hr. - HrLocator(Hr) - Constructor for class com.vaadin.flow.component.html.HrLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- HrTester - Class in com.vaadin.flow.component.html
-
Tester for Hr components.
- HrTester(Hr) - Constructor for class com.vaadin.flow.component.html.HrTester
-
Wrap given component for testing.
- HtmlClickContainer<T> - Class in com.vaadin.flow.component.html
-
Tester for HtmlContainer components that are also clickable.
- HtmlClickContainer(T) - Constructor for class com.vaadin.flow.component.html.HtmlClickContainer
-
Wrap given component for testing.
- HtmlComponentTester<T> - Class in com.vaadin.flow.component.html
-
Tester for HtmlComponent components.
- HtmlComponentTester(T) - Constructor for class com.vaadin.flow.component.html.HtmlComponentTester
-
Wrap given component for testing.
- HtmlContainerTester<T> - Class in com.vaadin.flow.component.html
-
Tester for HtmlContainer components.
- HtmlContainerTester(T) - Constructor for class com.vaadin.flow.component.html.HtmlContainerTester
-
Wrap given component for testing.
I
- id(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Executes a search for a component with the given id.
- ImageLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
Image, derived fromImageTester. - ImageLocator() - Constructor for class com.vaadin.flow.component.html.ImageLocator
-
Creates a locator that searches for a
Image. - ImageLocator(Image) - Constructor for class com.vaadin.flow.component.html.ImageLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- ImageTester - Class in com.vaadin.flow.component.html
-
Tester for Image components.
- ImageTester(Image) - Constructor for class com.vaadin.flow.component.html.ImageTester
-
Wrap given component for testing.
- increase() - Method in class com.vaadin.flow.component.html.RangeInputLocator
-
Increase the value by the amount defined by component step.
- increase() - Method in class com.vaadin.flow.component.html.RangeInputTester
-
Increase the value by the amount defined by component step.
- increase(int) - Method in class com.vaadin.flow.component.html.RangeInputLocator
-
Increases the value by a specified multiple of the component step setting.
- increase(int) - Method in class com.vaadin.flow.component.html.RangeInputTester
-
Increases the value by a specified multiple of the component step setting.
- increment() - Method in class com.vaadin.flow.component.slider.DecimalSliderLocator
-
Simulates the user pressing the Right/Up arrow key to increase the value by one step.
- increment() - Method in class com.vaadin.flow.component.slider.IntegerSliderLocator
-
Simulates the user pressing the Right/Up arrow key to increase the value by one step.
- increment() - Method in class com.vaadin.flow.component.slider.DecimalSliderTester
-
Simulates the user pressing the Right/Up arrow key to increase the value by one step.
- increment() - Method in class com.vaadin.flow.component.slider.IntegerSliderTester
-
Simulates the user pressing the Right/Up arrow key to increase the value by one step.
- incrementBy(int) - Method in class com.vaadin.flow.component.slider.DecimalSliderLocator
-
Simulates the user dragging the slider handle to increase the value by the given number of steps.
- incrementBy(int) - Method in class com.vaadin.flow.component.slider.IntegerSliderLocator
-
Simulates the user dragging the slider handle to increase the value by the given number of steps.
- incrementBy(int) - Method in class com.vaadin.flow.component.slider.DecimalSliderTester
-
Simulates the user dragging the slider handle to increase the value by the given number of steps.
- incrementBy(int) - Method in class com.vaadin.flow.component.slider.IntegerSliderTester
-
Simulates the user dragging the slider handle to increase the value by the given number of steps.
- incrementEnd() - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
-
Simulates pressing the arrow key on the end thumb to increase end by one step.
- incrementEnd() - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
-
Simulates pressing the arrow key on the end thumb to increase end by one step.
- incrementEnd() - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderTester
-
Simulates pressing the arrow key on the end thumb to increase end by one step.
- incrementEnd() - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderTester
-
Simulates pressing the arrow key on the end thumb to increase end by one step.
- incrementEndBy(int) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
-
Simulates the user dragging the end thumb to increase end by the given number of steps.
- incrementEndBy(int) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
-
Simulates the user dragging the end thumb to increase end by the given number of steps.
- incrementEndBy(int) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderTester
-
Simulates the user dragging the end thumb to increase end by the given number of steps.
- incrementEndBy(int) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderTester
-
Simulates the user dragging the end thumb to increase end by the given number of steps.
- incrementStart() - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
-
Simulates pressing the arrow key on the start thumb to increase start by one step.
- incrementStart() - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
-
Simulates pressing the arrow key on the start thumb to increase start by one step.
- incrementStart() - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderTester
-
Simulates pressing the arrow key on the start thumb to increase start by one step.
- incrementStart() - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderTester
-
Simulates pressing the arrow key on the start thumb to increase start by one step.
- incrementStartBy(int) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
-
Simulates the user dragging the start thumb to increase start by the given number of steps.
- incrementStartBy(int) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
-
Simulates the user dragging the start thumb to increase start by the given number of steps.
- incrementStartBy(int) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderTester
-
Simulates the user dragging the start thumb to increase start by the given number of steps.
- incrementStartBy(int) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderTester
-
Simulates the user dragging the start thumb to increase start by the given number of steps.
- initSignalsSupport() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Registers the signals test environment, so that signal-backed components work inside the mocked environment.
- initVaadinEnvironment() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Create mocked Vaadin core obects, such as session, servlet populated with Routes, UI etc. for testing and find testers for the components.
- InputLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
Input, derived fromInputTester. - InputLocator() - Constructor for class com.vaadin.flow.component.html.InputLocator
-
Creates a locator that searches for a
Input. - InputLocator(Input) - Constructor for class com.vaadin.flow.component.html.InputLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- InputTester - Class in com.vaadin.flow.component.html
-
Tester for Input components.
- InputTester(Input) - Constructor for class com.vaadin.flow.component.html.InputTester
-
Wrap given component for testing.
- inside(Locator<?, ?>) - Method in class com.vaadin.browserless.locator.Locator
-
Scopes the search to descendants of the component matched by the given locator.
- inside(Component) - Method in class com.vaadin.browserless.locator.Locator
-
Scopes the search to descendants of the given component.
- install(VaadinContext, Map<String, Boolean>) - Static method in class com.vaadin.browserless.internal.BrowserlessFeatureFlags
-
Installs a
FeatureFlagsinstance applying the given overrides into the given Vaadin context. - IntegerFieldLocator - Class in com.vaadin.flow.component.textfield
-
Generated locator for
IntegerField, derived fromNumberFieldTester. - IntegerFieldLocator() - Constructor for class com.vaadin.flow.component.textfield.IntegerFieldLocator
-
Creates a locator that searches for a
IntegerField. - IntegerFieldLocator(IntegerField) - Constructor for class com.vaadin.flow.component.textfield.IntegerFieldLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- IntegerRangeSliderLocator - Class in com.vaadin.flow.component.slider
-
Generated locator for
IntegerRangeSlider, derived fromIntegerRangeSliderTester. - IntegerRangeSliderLocator() - Constructor for class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
-
Creates a locator that searches for a
IntegerRangeSlider. - IntegerRangeSliderLocator(IntegerRangeSlider) - Constructor for class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- IntegerRangeSliderTester<T> - Class in com.vaadin.flow.component.slider
-
Tester for IntegerRangeSlider components.
- IntegerRangeSliderTester(T) - Constructor for class com.vaadin.flow.component.slider.IntegerRangeSliderTester
-
Wrap given component for testing.
- IntegerSliderLocator - Class in com.vaadin.flow.component.slider
-
Generated locator for
IntegerSlider, derived fromIntegerSliderTester. - IntegerSliderLocator() - Constructor for class com.vaadin.flow.component.slider.IntegerSliderLocator
-
Creates a locator that searches for a
IntegerSlider. - IntegerSliderLocator(IntegerSlider) - Constructor for class com.vaadin.flow.component.slider.IntegerSliderLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- IntegerSliderTester<T> - Class in com.vaadin.flow.component.slider
-
Tester for IntegerSlider components.
- IntegerSliderTester(T) - Constructor for class com.vaadin.flow.component.slider.IntegerSliderTester
-
Wrap given component for testing.
- internalWrap(Class<T>, Y) - Static method in class com.vaadin.browserless.BaseBrowserlessTest
-
Wraps the component in the given tester type, preferring a more specific tester registered through
@Testswhen one exists. - internalWrap(Y) - Static method in class com.vaadin.browserless.BaseBrowserlessTest
-
Equivalent to
TesterRegistry.wrap(component). - invalidate() - Method in class com.vaadin.browserless.locator.Locator
-
Rewinds picker state: discards any cached resolution and clears the
Locator.atIndex(int)pick. - invalidate() - Method in class com.vaadin.browserless.mocks.MockHttpSession
- invoke() - Method in interface com.vaadin.browserless.internal.UIFactory
-
Creates a new UI instance.
- invokeFunction(LitRenderer<Y>, BiFunction<Class<?>, String, Field>, IntFunction<Y>, int, String, ArrayNode) - Static method in class com.vaadin.browserless.LitRendererTestUtil
-
Invokes the function by name for the supplied
LitRendererusing the given field getter. - invokeLitRendererFunction(int, int, String) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Invoke named function for item's LitRenderer in column.
- invokeLitRendererFunction(int, int, String) - Method in class com.vaadin.flow.component.grid.GridTester
-
Invoke named function for item's LitRenderer in column.
- invokeLitRendererFunction(int, int, String) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Invoke named function for item's LitRenderer in column.
- invokeLitRendererFunction(int, int, String) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Invoke named function for item's LitRenderer in column.
- invokeLitRendererFunction(int, int, String, ArrayNode) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Invoke named function for item's LitRenderer in column using the supplied JSON arguments.
- invokeLitRendererFunction(int, int, String, ArrayNode) - Method in class com.vaadin.flow.component.grid.GridTester
-
Invoke named function for item's LitRenderer in column using the supplied JSON arguments.
- invokeLitRendererFunction(int, int, String, ArrayNode) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Invoke named function for item's LitRenderer in column using the supplied JSON arguments.
- invokeLitRendererFunction(int, int, String, ArrayNode) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Invoke named function for item's LitRenderer in column using the supplied JSON arguments.
- invokeLitRendererFunction(int, String) - Method in class com.vaadin.flow.component.virtuallist.VirtualListLocator
-
Invoke named function for item's LitRenderer.
- invokeLitRendererFunction(int, String) - Method in class com.vaadin.flow.component.virtuallist.VirtualListTester
-
Invoke named function for item's LitRenderer.
- invokeLitRendererFunction(int, String, String) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Invoke named function for item's LitRenderer in column.
- invokeLitRendererFunction(int, String, String) - Method in class com.vaadin.flow.component.grid.GridTester
-
Invoke named function for item's LitRenderer in column.
- invokeLitRendererFunction(int, String, String) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Invoke named function for item's LitRenderer in column.
- invokeLitRendererFunction(int, String, String) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Invoke named function for item's LitRenderer in column.
- invokeLitRendererFunction(int, String, String, ArrayNode) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Invoke named function for item's LitRenderer in column using the supplied JSON arguments.
- invokeLitRendererFunction(int, String, String, ArrayNode) - Method in class com.vaadin.flow.component.grid.GridTester
-
Invoke named function for item's LitRenderer in column using the supplied JSON arguments.
- invokeLitRendererFunction(int, String, String, ArrayNode) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Invoke named function for item's LitRenderer in column using the supplied JSON arguments.
- invokeLitRendererFunction(int, String, String, ArrayNode) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Invoke named function for item's LitRenderer in column using the supplied JSON arguments.
- invokeLitRendererFunction(int, String, ArrayNode) - Method in class com.vaadin.flow.component.virtuallist.VirtualListLocator
-
Invoke named function for item's LitRenderer using the supplied JSON arguments.
- invokeLitRendererFunction(int, String, ArrayNode) - Method in class com.vaadin.flow.component.virtuallist.VirtualListTester
-
Invoke named function for item's LitRenderer using the supplied JSON arguments.
- invokeReturnChannel(Object...) - Method in class com.vaadin.browserless.ExecutedJavaScript.Execution
-
Calls the return channel passed to this JavaScript with the given arguments, as the JavaScript would call it in the browser.
- invokeReturnChannelAt(int, Object...) - Method in class com.vaadin.browserless.ExecutedJavaScript.Execution
-
Calls the return channel passed to this JavaScript as the parameter with the given index, as the JavaScript would call it in the browser, with a round trip before and after the call like
ExecutedJavaScript.Execution.invokeReturnChannel(Object...). - isActive() - Method in class com.vaadin.browserless.TestSignalEnvironment
- isActive() - Method in interface com.vaadin.flow.component.geolocation.GeolocationTrackerSession
-
Whether the tracker is currently receiving updates.
- isAlt() - Method in class com.vaadin.browserless.MetaKeys
-
Get alt key isPressed state.
- isAnswered(PendingJavaScriptInvocation) - Method in class com.vaadin.browserless.JavaScriptDispatcher
-
Checks whether the simulated client has answered an invocation.
- isAsyncStarted() - Method in class com.vaadin.browserless.mocks.MockRequest
- isAsyncSupported() - Method in class com.vaadin.browserless.mocks.MockRequest
- isAtmosphereAvailable() - Method in class com.vaadin.browserless.mocks.MockService
- isChecked() - Method in class com.vaadin.flow.component.checkbox.CheckboxLocator
-
Checks whether the checkbox is currently checked.
- isChecked() - Method in class com.vaadin.flow.component.checkbox.CheckboxTester
-
Checks whether the checkbox is currently checked.
- isClosedDialog(Component) - Method in interface com.vaadin.browserless.internal.ComponentSupport
-
Checks whether the component is a closed dialog that a browser would have removed from the DOM after closing it.
- isClosedDialog(Component) - Method in class com.vaadin.browserless.internal.FlowComponentsSupport
- isColumnSortable(int) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Checks if the column at the given index is sortable.
- isColumnSortable(int) - Method in class com.vaadin.flow.component.grid.GridTester
-
Checks if the column at the given index is sortable.
- isColumnSortable(int) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Checks if the column at the given index is sortable.
- isColumnSortable(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Checks if the column at the given index is sortable.
- isColumnSortable(String) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Checks if the column for the given property is sortable.
- isColumnSortable(String) - Method in class com.vaadin.flow.component.grid.GridTester
-
Checks if the column for the given property is sortable.
- isColumnSortable(String) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Checks if the column for the given property is sortable.
- isColumnSortable(String) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Checks if the column for the given property is sortable.
- isCommitted() - Method in class com.vaadin.browserless.mocks.MockResponse
- isComponentReadOnly() - Method in class com.vaadin.browserless.ComponentTester
-
Checks whether the wrapped component is a value component that is currently in read-only state.
- isCtrl() - Method in class com.vaadin.browserless.MetaKeys
-
Get ctrl key isPressed state.
- isDefaultPrevented() - Method in class com.vaadin.browserless.internal.ClientDomEvent
-
Gets whether an expression called
event.preventDefault()while the event was dispatched. - isDetailPlaceholderVisible() - Method in class com.vaadin.flow.component.masterdetaillayout.MasterDetailLayoutLocator
-
Checks whether the detail placeholder is currently shown to the user.
- isDetailPlaceholderVisible() - Method in class com.vaadin.flow.component.masterdetaillayout.MasterDetailLayoutTester
-
Checks whether the detail placeholder is currently shown to the user.
- isDisabled() - Method in class com.vaadin.flow.component.radiobutton.RadioButtonTester
-
Equivalent to
getComponent().getElement().getProperty("disabled", false). - isEffectivelyEnabled(Component) - Static method in class com.vaadin.browserless.internal.BasicUtils
-
Computes whether this component and all of its parents are enabled.
- isEffectivelyVisible(Component) - Static method in class com.vaadin.browserless.internal.BasicUtils
-
Computes whether this component and all of its parents are visible.
- isEmpty() - Method in class com.vaadin.browserless.BrowserlessConfiguration
-
Checks if this configuration does not customize the Vaadin environment at all.
- isEmpty() - Method in class com.vaadin.browserless.mocks.SessionAttributeMap
- isExpanded(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Checks whether the node on the given row is expanded.
- isExpanded(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridTester
-
Checks whether the node on the given row is expanded.
- isFocused() - Method in class com.vaadin.browserless.ComponentTester
-
Checks whether the wrapped component currently has keyboard focus in the simulated browser, including focus given with server-side
Focusable.focus()calls. - isInitialized(Servlet) - Static method in class com.vaadin.browserless.internal.Utils
-
Checks whether given servlet has been initialized.
- isItemChecked(int, int...) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuLocator
-
Checks if the checkable menu item at given position is checked.
- isItemChecked(int, int...) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuTester
-
Checks if the checkable menu item at given position is checked.
- isItemChecked(int, int...) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
-
Checks if the checkable menu item at given position is checked.
- isItemChecked(int, int...) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Checks if the checkable menu item at given position is checked.
- isItemChecked(int, int...) - Method in class com.vaadin.flow.component.menubar.MenuBarLocator
-
Checks if the checkable menu item at given position is checked.
- isItemChecked(int, int...) - Method in class com.vaadin.flow.component.menubar.MenuBarTester
-
Checks if the checkable menu item at given position is checked.
- isItemChecked(String, String...) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuLocator
-
Checks if the checkable menu item matching given text is checked.
- isItemChecked(String, String...) - Method in class com.vaadin.flow.component.contextmenu.ContextMenuTester
-
Checks if the checkable menu item matching given text is checked.
- isItemChecked(String, String...) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
-
Checks if the checkable menu item matching given text is checked.
- isItemChecked(String, String...) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Checks if the checkable menu item matching given text is checked.
- isItemChecked(String, String...) - Method in class com.vaadin.flow.component.menubar.MenuBarLocator
-
Checks if the checkable menu item matching given text is checked.
- isItemChecked(String, String...) - Method in class com.vaadin.flow.component.menubar.MenuBarTester
-
Checks if the checkable menu item matching given text is checked.
- isMeta() - Method in class com.vaadin.browserless.MetaKeys
-
Get meta key isPressed state.
- isNew() - Method in class com.vaadin.browserless.mocks.MockHttpSession
- isOn() - Method in class com.vaadin.flow.component.checkbox.SwitchLocator
-
Checks whether the switch is currently on.
- isOn() - Method in class com.vaadin.flow.component.checkbox.SwitchTester
-
Checks whether the switch is currently on.
- isOpen() - Method in class com.vaadin.flow.component.details.DetailsLocator
-
Checks if the details are open.
- isOpen() - Method in class com.vaadin.flow.component.details.DetailsTester
-
Checks if the details are open.
- isOpen() - Method in class com.vaadin.flow.component.dialog.DialogLocator
-
Check if the dialog is open.
- isOpen() - Method in class com.vaadin.flow.component.dialog.DialogTester
-
Check if the dialog is open.
- isOpen() - Method in class com.vaadin.flow.component.login.LoginOverlayLocator
-
Check if login overlay is open.
- isOpen() - Method in class com.vaadin.flow.component.login.LoginOverlayTester
-
Check if login overlay is open.
- isOpen() - Method in class com.vaadin.flow.component.popover.PopoverLocator
-
Check if the popover is open.
- isOpen() - Method in class com.vaadin.flow.component.popover.PopoverTester
-
Check if the popover is open.
- isOpen(String) - Method in class com.vaadin.flow.component.accordion.AccordionLocator
-
Check if accordion with the summary is open.
- isOpen(String) - Method in class com.vaadin.flow.component.accordion.AccordionTester
-
Check if accordion with the summary is open.
- isPending() - Method in interface com.vaadin.flow.component.geolocation.GeolocationRequest
-
Whether this request still awaits a response.
- isRequestedSessionIdFromCookie() - Method in class com.vaadin.browserless.mocks.MockRequest
- isRequestedSessionIdFromURL() - Method in class com.vaadin.browserless.mocks.MockRequest
- isRequestedSessionIdValid() - Method in class com.vaadin.browserless.mocks.MockRequest
- isRouteNotFound(Class<?>) - Static method in class com.vaadin.browserless.internal.Utils
-
Checks whether given class is an error view handling
NotFoundException. - isRunningUIQueue(VaadinSession) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Internal function, do not call directly.
- isSecure() - Static method in class com.vaadin.browserless.mocks.MockHttpEnvironment
-
Tells whether
MockRequest.isSecure()reports the request as having arrived over HTTPS. - isSecure() - Method in class com.vaadin.browserless.mocks.MockRequest
-
Returns
MockHttpEnvironment.isSecure() - isSelected(int) - Method in class com.vaadin.flow.component.tabs.TabSheetLocator
-
Checks if the visible tab at the given index is currently selected.
- isSelected(int) - Method in class com.vaadin.flow.component.tabs.TabSheetTester
-
Checks if the visible tab at the given index is currently selected.
- isSelected(int) - Method in class com.vaadin.flow.component.tabs.TabsLocator
-
Checks if the visible tab at the given index is currently selected.
- isSelected(int) - Method in class com.vaadin.flow.component.tabs.TabsTester
-
Checks if the visible tab at the given index is currently selected.
- isSelected(String) - Method in class com.vaadin.flow.component.tabs.TabSheetLocator
-
Checks if the tab with the given label is currently selected.
- isSelected(String) - Method in class com.vaadin.flow.component.tabs.TabSheetTester
-
Checks if the tab with the given label is currently selected.
- isSelected(String) - Method in class com.vaadin.flow.component.tabs.TabsLocator
-
Checks if the tab with the given label is currently selected.
- isSelected(String) - Method in class com.vaadin.flow.component.tabs.TabsTester
-
Checks if the tab with the given label is currently selected.
- isShift() - Method in class com.vaadin.browserless.MetaKeys
-
Get shift key isPressed state.
- isTemplate(Component) - Static method in class com.vaadin.browserless.internal.TestingLifecycleHooks
-
Checks whether the given component is a Lit or Polymer template.
- isUsable() - Method in class com.vaadin.browserless.ComponentTester
-
Validate that component can be interacted with and should be visible in the UI.
- isUsable() - Method in class com.vaadin.flow.component.checkbox.CheckboxTester
- isUsable() - Method in class com.vaadin.flow.component.checkbox.SwitchTester
- isUsable() - Method in class com.vaadin.flow.component.dialog.DialogTester
- isUsable() - Method in class com.vaadin.flow.component.login.LoginOverlayTester
- isUsable() - Method in class com.vaadin.flow.component.notification.NotificationTester
- isUsable() - Method in class com.vaadin.flow.component.popover.PopoverTester
- isUsable() - Method in class com.vaadin.flow.component.radiobutton.RadioButtonTester
- isUsable() - Method in class com.vaadin.flow.component.TextTester
- isUsable() - Method in class com.vaadin.flow.component.upload.UploadButtonTester
- isUsable() - Method in class com.vaadin.flow.component.upload.UploadDropZoneTester
- isUsable() - Method in class com.vaadin.flow.component.upload.UploadFileListTester
- isUsable(Component) - Static method in class com.vaadin.browserless.ComponentTester
-
Validate that the given component can be interacted with and should be visible in the UI.
- isUserInRole() - Method in class com.vaadin.browserless.mocks.MockRequest
-
Returns the user-in-role checker.
- isUserInRole(String) - Method in class com.vaadin.browserless.mocks.MockRequest
-
Set
MockRequest.setUserInRole(BiPredicate)to modify the outcome of this function. - isValid() - Method in class com.vaadin.browserless.mocks.MockHttpSession
-
Tells whether this session is still usable, i.e. has not been
invalidated. - isValid() - Method in class com.vaadin.flow.component.datepicker.DatePickerLocator
-
Checks whether the field is currently valid, applying the same constraints as the component itself — required, min and max — and honouring an invalid state set from the outside, as a
Binderor a custom validator does. - isValid() - Method in class com.vaadin.flow.component.datepicker.DatePickerTester
-
Checks whether the field is currently valid, applying the same constraints as the component itself — required, min and max — and honouring an invalid state set from the outside, as a
Binderor a custom validator does. - isValid() - Method in class com.vaadin.flow.component.datetimepicker.DateTimePickerLocator
-
Checks whether the field is currently valid, applying the same constraints as the component itself — required, min and max — and honouring an invalid state set from the outside, as a
Binderor a custom validator does. - isValid() - Method in class com.vaadin.flow.component.datetimepicker.DateTimePickerTester
-
Checks whether the field is currently valid, applying the same constraints as the component itself — required, min and max — and honouring an invalid state set from the outside, as a
Binderor a custom validator does. - isValid() - Method in class com.vaadin.flow.component.textfield.IntegerFieldLocator
-
Checks whether the field is currently valid, running the component's own default validator — required, min, max and, when it is explicitly set, the step scale — and honouring an invalid state set from the outside, as a
Binderor a custom validator does. - isValid() - Method in class com.vaadin.flow.component.textfield.NumberFieldLocator
-
Checks whether the field is currently valid, running the component's own default validator — required, min, max and, when it is explicitly set, the step scale — and honouring an invalid state set from the outside, as a
Binderor a custom validator does. - isValid() - Method in class com.vaadin.flow.component.textfield.NumberFieldTester
-
Checks whether the field is currently valid, running the component's own default validator — required, min, max and, when it is explicitly set, the step scale — and honouring an invalid state set from the outside, as a
Binderor a custom validator does. - isValid() - Method in class com.vaadin.flow.component.timepicker.TimePickerLocator
-
Checks whether the field is currently valid, applying the same constraints as the component itself — required, min and max — and honouring an invalid state set from the outside, as a
Binderor a custom validator does. - isValid() - Method in class com.vaadin.flow.component.timepicker.TimePickerTester
-
Checks whether the field is currently valid, applying the same constraints as the component itself — required, min and max — and honouring an invalid state set from the outside, as a
Binderor a custom validator does. - isWaitingForResult() - Method in class com.vaadin.browserless.ExecutedJavaScript.Execution
-
Checks whether the application waits for the result of this JavaScript, with
PendingJavaScriptResult.then(java.lang.Class<T>, com.vaadin.flow.function.SerializableConsumer<T>, com.vaadin.flow.function.SerializableConsumer<java.lang.String>)orPendingJavaScriptResult.toCompletableFuture(java.lang.Class<T>), and it has not been answered yet, so thatExecutedJavaScript.Execution.resolve(Object)andExecutedJavaScript.Execution.reject(String)can be called.
J
- JavaScriptDispatcher - Class in com.vaadin.browserless
-
Plays the browser for the JavaScript the server sends to a UI during a browserless test.
- JavaScriptDispatcher.Handler - Interface in com.vaadin.browserless
-
Receives each piece of JavaScript sent to the simulated client, to simulate what the browser does with it or to capture it for a test.
- JavaScriptHandler - Interface in com.vaadin.browserless
-
Plays the browser for JavaScript that an application sends and that Browserless Test does not simulate on its own, such as reading a value that only the browser knows.
- javaScriptHandlers() - Element in annotation interface com.vaadin.browserless.BrowserlessTestConfig
-
Handlers that play the browser for JavaScript the application sends, such as answering a call that reads a value only the browser knows.
L
- labelContains(String) - Static method in class com.vaadin.browserless.ElementConditions
-
Checks if the component's label contains the given text.
- last() - Method in class com.vaadin.browserless.ComponentQuery
-
Executes the search against current context and returns the last result.
- lastRequest() - Method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Returns the most recent pending
Geolocation.get(...)request, if any. - LEFT - Enum constant in enum class com.vaadin.browserless.MouseButton
-
The primary button, usually the left one.
- ListBoxLocator<V> - Class in com.vaadin.flow.component.listbox
-
Generated locator for
ListBox, derived fromListBoxTester. - ListBoxLocator(ListBox<V>) - Constructor for class com.vaadin.flow.component.listbox.ListBoxLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- ListBoxLocator(Class<V>) - Constructor for class com.vaadin.flow.component.listbox.ListBoxLocator
-
Creates a locator that searches for a
ListBox. - ListBoxTester<T,
V> - Class in com.vaadin.flow.component.listbox -
Tester for ListBox components.
- ListBoxTester(T) - Constructor for class com.vaadin.flow.component.listbox.ListBoxTester
-
Wrap given component for testing.
- ListItemLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
ListItem, derived fromListItemTester. - ListItemLocator() - Constructor for class com.vaadin.flow.component.html.ListItemLocator
-
Creates a locator that searches for a
ListItem. - ListItemLocator(ListItem) - Constructor for class com.vaadin.flow.component.html.ListItemLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- ListItemTester - Class in com.vaadin.flow.component.html
-
Tester for ListItem components.
- ListItemTester(ListItem) - Constructor for class com.vaadin.flow.component.html.ListItemTester
-
Wrap given component for testing.
- LitRendererTestUtil - Class in com.vaadin.browserless
-
Utility methods for unit testing properties and functions of LitRenderers.
- liveUI(UI) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Follows the reload chain starting at
uiand returns the UI that is live now: a reload detaches a UI and creates a fresh one for the same window, so a caller holding the detached UI must be redirected to its replacement. - loadProperties() - Method in class com.vaadin.browserless.internal.BrowserlessFeatureFlags
- Locator - Class in com.vaadin.browserless.internal
-
Functions for looking up components in the component tree.
- Locator<C,
SELF> - Class in com.vaadin.browserless.locator -
Base class for the
find*tester API. - Locator(Class<C>) - Constructor for class com.vaadin.browserless.locator.Locator
-
Creates a locator that searches for components of the given type from the current
UIroot. - Locator(Class<C>, C) - Constructor for class com.vaadin.browserless.locator.Locator
-
Creates a locator seeded with a direct reference to the component to match.
- Locators - Interface in com.vaadin.browserless.locator
-
Mixin offering typed entry points for the
find*tester API. - log(String) - Method in class com.vaadin.browserless.mocks.MockContext
- log(String, Throwable) - Method in class com.vaadin.browserless.mocks.MockContext
- login(String, String) - Method in class com.vaadin.browserless.mocks.MockRequest
- login(String, String) - Method in class com.vaadin.flow.component.login.AbstractLoginTester
-
Send login credentials through the login.
- login(String, String) - Method in class com.vaadin.flow.component.login.LoginFormLocator
-
Send login credentials through the login.
- login(String, String) - Method in class com.vaadin.flow.component.login.LoginOverlayLocator
-
Send login credentials through the login.
- LoginFormLocator - Class in com.vaadin.flow.component.login
-
Generated locator for
LoginForm, derived fromLoginFormTester. - LoginFormLocator() - Constructor for class com.vaadin.flow.component.login.LoginFormLocator
-
Creates a locator that searches for a
LoginForm. - LoginFormLocator(LoginForm) - Constructor for class com.vaadin.flow.component.login.LoginFormLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- LoginFormTester<T> - Class in com.vaadin.flow.component.login
-
Tester for LoginForm components.
- LoginFormTester(T) - Constructor for class com.vaadin.flow.component.login.LoginFormTester
-
Wrap given component for testing.
- LoginOverlayLocator - Class in com.vaadin.flow.component.login
-
Generated locator for
LoginOverlay, derived fromLoginOverlayTester. - LoginOverlayLocator() - Constructor for class com.vaadin.flow.component.login.LoginOverlayLocator
-
Creates a locator that searches for a
LoginOverlay. - LoginOverlayLocator(LoginOverlay) - Constructor for class com.vaadin.flow.component.login.LoginOverlayLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- LoginOverlayTester<T> - Class in com.vaadin.flow.component.login
-
Tester for LoginOverlay components.
- LoginOverlayTester(T) - Constructor for class com.vaadin.flow.component.login.LoginOverlayTester
-
Wrap given component for testing.
- logout() - Method in class com.vaadin.browserless.mocks.MockRequest
- lookup(VaadinContext, Class<?>) - Static method in class com.vaadin.browserless.mocks.MockVaadinHelper
-
Looks a service up in the context's
Lookup. - lookupServices() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Deprecated.since 25.3, declare the services with
BrowserlessTestConfig.lookupServices()or by overridingBaseBrowserlessTest.testConfiguration()instead. Overrides of this method are still honored. - lookupServices() - Element in annotation interface com.vaadin.browserless.BrowserlessTestConfig
-
Service implementation classes to be used to initialize the Vaadin
Lookupfor the annotated test, such asInstantiatorFactoryorResourceProviderimplementations.
M
- markAnswered(PendingJavaScriptInvocation) - Method in class com.vaadin.browserless.JavaScriptDispatcher
-
Marks an invocation as answered by the simulated client, which answers each invocation at most once, like a browser.
- MarkdownLocator - Class in com.vaadin.flow.component.markdown
-
Generated locator for
Markdown, derived fromMarkdownTester. - MarkdownLocator() - Constructor for class com.vaadin.flow.component.markdown.MarkdownLocator
-
Creates a locator that searches for a
Markdown. - MarkdownLocator(Markdown) - Constructor for class com.vaadin.flow.component.markdown.MarkdownLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- MarkdownTester<T> - Class in com.vaadin.flow.component.markdown
-
Tester for Markdown components.
- MarkdownTester(T) - Constructor for class com.vaadin.flow.component.markdown.MarkdownTester
-
Wrap given component for testing.
- MasterDetailLayoutLocator - Class in com.vaadin.flow.component.masterdetaillayout
-
Generated locator for
MasterDetailLayout, derived fromMasterDetailLayoutTester. - MasterDetailLayoutLocator() - Constructor for class com.vaadin.flow.component.masterdetaillayout.MasterDetailLayoutLocator
-
Creates a locator that searches for a
MasterDetailLayout. - MasterDetailLayoutLocator(MasterDetailLayout) - Constructor for class com.vaadin.flow.component.masterdetaillayout.MasterDetailLayoutLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- MasterDetailLayoutTester<T> - Class in com.vaadin.flow.component.masterdetaillayout
-
Tester for MasterDetailLayout components.
- MasterDetailLayoutTester(T) - Constructor for class com.vaadin.flow.component.masterdetaillayout.MasterDetailLayoutTester
-
Wrap given component for testing.
- matches(Component, Consumer<SearchSpec<Component>>) - Static method in class com.vaadin.browserless.internal.BasicUtils
-
Checks whether this component matches given spec.
- MenuBarLocator - Class in com.vaadin.flow.component.menubar
-
Generated locator for
MenuBar, derived fromMenuBarTester. - MenuBarLocator() - Constructor for class com.vaadin.flow.component.menubar.MenuBarLocator
-
Creates a locator that searches for a
MenuBar. - MenuBarLocator(MenuBar) - Constructor for class com.vaadin.flow.component.menubar.MenuBarLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- MenuBarTester<T> - Class in com.vaadin.flow.component.menubar
-
Tester for MenuBar components.
- MenuBarTester(T) - Constructor for class com.vaadin.flow.component.menubar.MenuBarTester
-
Wrap given component for testing.
- MenuItemNavigation - Class in com.vaadin.browserless.internal
-
Menu item lookup shared by the menu testers.
- merge(BrowserlessConfiguration) - Method in class com.vaadin.browserless.BrowserlessConfiguration
-
Creates a new configuration by merging the given configuration into this one.
- merge(Routes) - Method in class com.vaadin.browserless.internal.Routes
-
Creates a new configuration containing the routes, error routes and layouts of both this and the other configuration.
- MessageInputLocator - Class in com.vaadin.flow.component.messages
-
Generated locator for
MessageInput, derived fromMessageInputTester. - MessageInputLocator() - Constructor for class com.vaadin.flow.component.messages.MessageInputLocator
-
Creates a locator that searches for a
MessageInput. - MessageInputLocator(MessageInput) - Constructor for class com.vaadin.flow.component.messages.MessageInputLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- MessageInputTester<T> - Class in com.vaadin.flow.component.messages
-
Tester for MessageInput components.
- MessageInputTester(T) - Constructor for class com.vaadin.flow.component.messages.MessageInputTester
-
Wrap given component for testing.
- MessageListLocator - Class in com.vaadin.flow.component.messages
-
Generated locator for
MessageList, derived fromMessageListTester. - MessageListLocator() - Constructor for class com.vaadin.flow.component.messages.MessageListLocator
-
Creates a locator that searches for a
MessageList. - MessageListLocator(MessageList) - Constructor for class com.vaadin.flow.component.messages.MessageListLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- MessageListTester<T> - Class in com.vaadin.flow.component.messages
-
Tester for MessageList components.
- MessageListTester(T) - Constructor for class com.vaadin.flow.component.messages.MessageListTester
-
Wrap given component for testing.
- meta() - Method in class com.vaadin.browserless.MetaKeys
-
Set meta key down to
true. - MetaKeys - Class in com.vaadin.browserless
-
Class for setting any down meta keys for events supporting meta keys.
- MetaKeys() - Constructor for class com.vaadin.browserless.MetaKeys
-
Construct metaKeys with all set to false.
- MetaKeys(boolean, boolean, boolean, boolean) - Constructor for class com.vaadin.browserless.MetaKeys
-
Construct MetaKeys with given values for the keys.
- MIDDLE - Enum constant in enum class com.vaadin.browserless.MouseButton
-
The auxiliary button, usually the wheel.
- middleClick() - Method in interface com.vaadin.browserless.Clickable
-
Click with middle button.
- middleClick(MetaKeys) - Method in interface com.vaadin.browserless.Clickable
-
Click with middle button and given meta keys.
- MockContext - Class in com.vaadin.browserless.mocks
-
A standalone
ServletContext, backed by the build output of the module under test. - MockContext() - Constructor for class com.vaadin.browserless.mocks.MockContext
-
Creates an empty context.
- MockedUI - Class in com.vaadin.browserless.mocks
-
The
UIthe mocked environment creates by default. - MockedUI() - Constructor for class com.vaadin.browserless.mocks.MockedUI
-
Creates the UI.
- mockFlowBuildInfo(VaadinServlet) - Static method in class com.vaadin.browserless.mocks.MockVaadinHelper
-
Makes sure the servlet can read a
flow-build-info.json, writing a dummy one when the classpath has none. - MockHttpEnvironment - Class in com.vaadin.browserless.mocks
-
The connection details every
MockRequestreports. - MockHttpSession - Class in com.vaadin.browserless.mocks
-
A standalone
HttpSession, backed by an in-memory attribute map. - MockHttpSession(HttpSession) - Constructor for class com.vaadin.browserless.mocks.MockHttpSession
-
Creates a copy of the given session, carrying over its id, context, settings and all of its attributes.
- MockHttpSession(String, ServletContext, long, int) - Constructor for class com.vaadin.browserless.mocks.MockHttpSession
-
Creates a session with the given id and settings.
- Mocking server request end - Search tag in interface com.vaadin.browserless.internal.TestingLifecycleHook
- Section
- MockInstantiator - Class in com.vaadin.browserless.mocks
-
Deprecated, for removal: This API element is subject to removal in a future version.Wrapping the instantiator of the mocked environment has no effect; use that instantiator directly. Scheduled for removal.
- MockInstantiator(Instantiator) - Constructor for class com.vaadin.browserless.mocks.MockInstantiator
-
Deprecated.Creates a wrapper forwarding to the given instantiator.
- MockInternalSeverError - Class in com.vaadin.browserless.internal
-
Replaces the default
InternalServerErrorexception handler with an implementation that exposes the error details as element properties, so that they show up in the pretty-printed component tree. - MockInternalSeverError() - Constructor for class com.vaadin.browserless.internal.MockInternalSeverError
-
Creates the error view.
- MockPage - Class in com.vaadin.browserless.internal
-
A
Pagewhich records the external navigations and recreates the UI onMockPage.reload(), to simulate the browser's F5. - MockPage(UI, UIFactory, VaadinSession) - Constructor for class com.vaadin.browserless.internal.MockPage
-
Creates the page of the given UI.
- MockRequest - Class in com.vaadin.browserless.mocks
-
A standalone
HttpServletRequest, backed by the mocked session. - MockRequest(HttpSession) - Constructor for class com.vaadin.browserless.mocks.MockRequest
-
Creates a request bound to the given session.
- MockRequestCustomizer - Interface in com.vaadin.browserless.internal
-
Customizes the
MockRequestcreated for every new mocked session. - MockResponse - Class in com.vaadin.browserless.mocks
-
A standalone
HttpServletResponsethat records what was written to it instead of sending anything. - MockResponse() - Constructor for class com.vaadin.browserless.mocks.MockResponse
-
Creates an empty response.
- MockRouteNotFoundError - Class in com.vaadin.browserless.internal
-
This route gets registered by default in
Routes, so that Browserless Testing can catch any navigation to a missing route and can respond with an informative exception. - MockRouteNotFoundError() - Constructor for class com.vaadin.browserless.internal.MockRouteNotFoundError
-
Creates the error view.
- MockService - Class in com.vaadin.browserless.mocks
-
The
VaadinServletServiceof the mocked environment. - MockService(VaadinServlet, DeploymentConfiguration) - Constructor for class com.vaadin.browserless.mocks.MockService
-
Creates a service whose sessions produce
MockedUIinstances. - MockService(VaadinServlet, DeploymentConfiguration, UIFactory) - Constructor for class com.vaadin.browserless.mocks.MockService
-
Creates a service whose sessions produce UIs from the given factory.
- MockServletConfig - Class in com.vaadin.browserless.mocks
-
The
ServletConfigthe mocked servlet is initialized with. - MockServletConfig(ServletContext) - Constructor for class com.vaadin.browserless.mocks.MockServletConfig
-
Creates a config for a servlet in the given context, with no init parameters.
- MockUtils - Class in com.vaadin.browserless.mocks
-
Helpers shared by the mocks in this package.
- MockVaadin - Class in com.vaadin.browserless.internal
-
Mocks the Vaadin environment: the servlet, the service, the session and the UI.
- MockVaadinHelper - Class in com.vaadin.browserless.mocks
-
Builds the
ServletContextthe mocked environment runs in. - MockVaadinHelper.BrowserlessLookupInitializer - Class in com.vaadin.browserless.mocks
-
The lookup initializer of the mocked environment.
- MockVaadinServlet - Class in com.vaadin.browserless.mocks
-
The
VaadinServletof the mocked environment. - MockVaadinServlet() - Constructor for class com.vaadin.browserless.mocks.MockVaadinServlet
-
Creates a servlet with no routes, producing
MockedUIinstances. - MockVaadinServlet(Routes) - Constructor for class com.vaadin.browserless.mocks.MockVaadinServlet
-
Creates a servlet serving the given routes, producing
MockedUIinstances. - MockVaadinServlet(Routes, UIFactory) - Constructor for class com.vaadin.browserless.mocks.MockVaadinServlet
-
Creates a servlet serving the given routes, producing UIs from the given factory.
- MockVaadinSession - Class in com.vaadin.browserless.mocks
-
A
VaadinSessionthat is replaced by a fresh one when it is closed. - MockVaadinSession(VaadinService, UIFactory) - Constructor for class com.vaadin.browserless.mocks.MockVaadinSession
-
Creates a session for the given service.
- MouseButton - Enum Class in com.vaadin.browserless
-
Enums for mouse button values in click events.
- moveWidget(DashboardWidget, int) - Method in class com.vaadin.flow.component.dashboard.DashboardLocator
-
Simulates a user dragging the given widget to a new position within its current container (the dashboard root, or the section it belongs to).
- moveWidget(DashboardWidget, int) - Method in class com.vaadin.flow.component.dashboard.DashboardTester
-
Simulates a user dragging the given widget to a new position within its current container (the dashboard root, or the section it belongs to).
- MultiSelectComboBoxLocator<Y> - Class in com.vaadin.flow.component.combobox
-
Generated locator for
MultiSelectComboBox, derived fromMultiSelectComboBoxTester. - MultiSelectComboBoxLocator(MultiSelectComboBox<Y>) - Constructor for class com.vaadin.flow.component.combobox.MultiSelectComboBoxLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- MultiSelectComboBoxLocator(Class<Y>) - Constructor for class com.vaadin.flow.component.combobox.MultiSelectComboBoxLocator
-
Creates a locator that searches for a
MultiSelectComboBox. - MultiSelectComboBoxTester<T,
Y> - Class in com.vaadin.flow.component.combobox -
Tester for MultiSelectComboBox components.
- MultiSelectComboBoxTester(T) - Constructor for class com.vaadin.flow.component.combobox.MultiSelectComboBoxTester
-
Wrap given component for testing.
- MultiSelectListBoxLocator<V> - Class in com.vaadin.flow.component.listbox
-
Generated locator for
MultiSelectListBox, derived fromMultiSelectListBoxTester. - MultiSelectListBoxLocator(MultiSelectListBox<V>) - Constructor for class com.vaadin.flow.component.listbox.MultiSelectListBoxLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- MultiSelectListBoxLocator(Class<V>) - Constructor for class com.vaadin.flow.component.listbox.MultiSelectListBoxLocator
-
Creates a locator that searches for a
MultiSelectListBox. - MultiSelectListBoxTester<T,
V> - Class in com.vaadin.flow.component.listbox -
Tester for MultiSelectListBox components.
- MultiSelectListBoxTester(T) - Constructor for class com.vaadin.flow.component.listbox.MultiSelectListBoxTester
-
Wrap given component for testing.
N
- NativeButtonLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
NativeButton, derived fromNativeButtonTester. - NativeButtonLocator() - Constructor for class com.vaadin.flow.component.html.NativeButtonLocator
-
Creates a locator that searches for a
NativeButton. - NativeButtonLocator(NativeButton) - Constructor for class com.vaadin.flow.component.html.NativeButtonLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- NativeButtonTester - Class in com.vaadin.flow.component.html
-
Tester for NativeButton components.
- NativeButtonTester(NativeButton) - Constructor for class com.vaadin.flow.component.html.NativeButtonTester
-
> Wrap given component for testing.
- NativeDetailsLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
NativeDetails, derived fromNativeDetailsTester. - NativeDetailsLocator() - Constructor for class com.vaadin.flow.component.html.NativeDetailsLocator
-
Creates a locator that searches for a
NativeDetails. - NativeDetailsLocator(NativeDetails) - Constructor for class com.vaadin.flow.component.html.NativeDetailsLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- NativeDetailsTester - Class in com.vaadin.flow.component.html
-
Tester for NativeDetails components.
- NativeDetailsTester(NativeDetails) - Constructor for class com.vaadin.flow.component.html.NativeDetailsTester
-
Wrap given component for testing.
- NativeLabelLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
NativeLabel, derived fromNativeLabelTester. - NativeLabelLocator() - Constructor for class com.vaadin.flow.component.html.NativeLabelLocator
-
Creates a locator that searches for a
NativeLabel. - NativeLabelLocator(NativeLabel) - Constructor for class com.vaadin.flow.component.html.NativeLabelLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- NativeLabelTester - Class in com.vaadin.flow.component.html
-
Tester for NativeLabel components.
- NativeLabelTester(NativeLabel) - Constructor for class com.vaadin.flow.component.html.NativeLabelTester
-
Wrap given component for testing.
- navigate() - Method in class com.vaadin.flow.component.html.AnchorLocator
-
Navigate to the anchor target if it's a registered route in the application.
- navigate() - Method in class com.vaadin.flow.component.html.AnchorTester
-
Navigate to the anchor target if it's a registered route in the application.
- navigate() - Method in class com.vaadin.flow.component.routerlink.RouterLinkLocator
-
Navigate to the router-link target.
- navigate() - Method in class com.vaadin.flow.component.routerlink.RouterLinkTester
-
Navigate to the router-link target.
- navigate(Class<T>) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Navigate to the given view class if it is registered.
- navigate(Class<T>) - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Navigates this window to the given view class.
- navigate(Class<T>, C) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Navigate to view with url parameter.
- navigate(Class<T>, C) - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Navigates this window to the given view class with a URL parameter.
- navigate(Class<T>, Map<String, String>) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Navigate to view corresponding to the given navigation target with the specified route parameters.
- navigate(Class<T>, Map<String, String>) - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Navigates this window to the given view class with route parameters.
- navigate(String, QueryParameters) - Method in class com.vaadin.browserless.mocks.MockedUI
-
Renders the route server side, as a test has no client router to hand the navigation to.
- navigate(String, Class<T>) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Navigate to given location string.
- navigate(String, Class<T>) - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Navigates this window to the given location and validates the resulting view.
- newUser() - Method in class com.vaadin.browserless.BrowserlessApplicationContext
-
Creates a new user context representing an anonymous user session.
- newUser(C) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext
-
Creates a new user context with the given credentials.
- newUser(String, String...) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext
-
Creates a new user context for the given username and roles.
- newWindow() - Method in class com.vaadin.browserless.BrowserlessUserContext
-
Creates a new window (UI instance) for this user.
- next() - Method in class com.vaadin.browserless.internal.DepthFirstTreeIterator
- NO_BUTTON - Enum constant in enum class com.vaadin.browserless.MouseButton
-
No button, or a button the browser does not name.
- NotificationLocator - Class in com.vaadin.flow.component.notification
-
Generated locator for
Notification, derived fromNotificationTester. - NotificationLocator() - Constructor for class com.vaadin.flow.component.notification.NotificationLocator
-
Creates a locator that searches for a
Notification. - NotificationLocator(Notification) - Constructor for class com.vaadin.flow.component.notification.NotificationLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- NotificationTester<T> - Class in com.vaadin.flow.component.notification
-
Tester for Notification components.
- NotificationTester(T) - Constructor for class com.vaadin.flow.component.notification.NotificationTester
-
Wrap given component for testing.
- notUsableReasons(Component, Consumer<String>) - Static method in class com.vaadin.browserless.ComponentTester
-
Provides messages explaining why the given component is actually not usable.
- notUsableReasons(Consumer<String>) - Method in class com.vaadin.browserless.ComponentTester
-
Provides messages explaining why the component is actually not usable.
- notUsableReasons(Consumer<String>) - Method in class com.vaadin.flow.component.checkbox.CheckboxTester
- notUsableReasons(Consumer<String>) - Method in class com.vaadin.flow.component.checkbox.SwitchTester
- notUsableReasons(Consumer<String>) - Method in class com.vaadin.flow.component.dialog.DialogTester
- notUsableReasons(Consumer<String>) - Method in class com.vaadin.flow.component.login.LoginOverlayTester
- notUsableReasons(Consumer<String>) - Method in class com.vaadin.flow.component.notification.NotificationTester
- notUsableReasons(Consumer<String>) - Method in class com.vaadin.flow.component.popover.PopoverTester
- notUsableReasons(Consumer<String>) - Method in class com.vaadin.flow.component.radiobutton.RadioButtonTester
- notUsableReasons(Consumer<String>) - Method in class com.vaadin.flow.component.TextTester
- notUsableReasons(Consumer<String>) - Method in class com.vaadin.flow.component.upload.UploadButtonTester
- notUsableReasons(Consumer<String>) - Method in class com.vaadin.flow.component.upload.UploadDropZoneTester
- notUsableReasons(Consumer<String>) - Method in class com.vaadin.flow.component.upload.UploadFileListTester
- NumberFieldLocator - Class in com.vaadin.flow.component.textfield
-
Generated locator for
NumberField, derived fromNumberFieldTester. - NumberFieldLocator() - Constructor for class com.vaadin.flow.component.textfield.NumberFieldLocator
-
Creates a locator that searches for a
NumberField. - NumberFieldLocator(NumberField) - Constructor for class com.vaadin.flow.component.textfield.NumberFieldLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- NumberFieldTester<T,
V> - Class in com.vaadin.flow.component.textfield -
Tester for NumberField components.
- NumberFieldTester(T) - Constructor for class com.vaadin.flow.component.textfield.NumberFieldTester
-
Wrap given component for testing.
O
- ofVaadin(Component) - Static method in class com.vaadin.browserless.internal.PrettyPrintTree
-
Creates a tree out of the given Vaadin component and all of its descendants, as provided by
TestingLifecycleHook.getAllChildren(Component). - ONE - Static variable in class com.vaadin.browserless.internal.CountRange
-
Accepts exactly one component.
- open() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogLocator
-
Opens the dialog, as clicking the component that owns it would.
- open() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogTester
-
Opens the dialog, as clicking the component that owns it would.
- open() - Method in class com.vaadin.flow.component.contextmenu.ContextMenuLocator
-
Opens the context menu, as if the action is done in the browser.
- open() - Method in class com.vaadin.flow.component.contextmenu.ContextMenuTester
-
Opens the context menu, as if the action is done in the browser.
- open() - Method in class com.vaadin.flow.component.dialog.DialogLocator
-
Open the dialog.
- open() - Method in class com.vaadin.flow.component.dialog.DialogTester
-
Open the dialog.
- open() - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
-
Opens the context menu on the row it currently targets, as if the user had asked for it in the browser.
- open() - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Opens the context menu on the row it currently targets, as if the user had asked for it in the browser.
- open() - Method in class com.vaadin.flow.component.popover.PopoverLocator
-
Open the popover.
- open() - Method in class com.vaadin.flow.component.popover.PopoverTester
-
Open the popover.
- open(int) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
-
Opens the context menu on the given row, as if the user had asked for it in the browser.
- open(int) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Opens the context menu on the given row, as if the user had asked for it in the browser.
- open(int, String) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuLocator
-
Opens the context menu on the given row and column, as if the user had asked for it in the browser.
- open(int, String) - Method in class com.vaadin.flow.component.grid.contextmenu.GridContextMenuTester
-
Opens the context menu on the given row and column, as if the user had asked for it in the browser.
- open(String, String) - Method in class com.vaadin.browserless.internal.MockPage
- openDetails() - Method in class com.vaadin.flow.component.details.DetailsLocator
-
Shows contents as if the summary is clicked on the browser.
- openDetails() - Method in class com.vaadin.flow.component.details.DetailsTester
-
Shows contents as if the summary is clicked on the browser.
- openDetails(String) - Method in class com.vaadin.flow.component.accordion.AccordionLocator
-
Open the accordion with the given summary.
- openDetails(String) - Method in class com.vaadin.flow.component.accordion.AccordionTester
-
Open the accordion with the given summary.
- openOverlay() - Method in class com.vaadin.flow.component.login.LoginOverlayLocator
-
Open LoginOverlay to enable logging in through it.
- openOverlay() - Method in class com.vaadin.flow.component.login.LoginOverlayTester
-
Open LoginOverlay to enable logging in through it.
- options() - Method in interface com.vaadin.flow.component.geolocation.GeolocationRequest
-
The options the application passed to get(...), or
null. - options() - Method in interface com.vaadin.flow.component.geolocation.GeolocationTrackerSession
-
Options the tracker was started with, or
null. - OrderedListLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
OrderedList, derived fromOrderedListTester. - OrderedListLocator() - Constructor for class com.vaadin.flow.component.html.OrderedListLocator
-
Creates a locator that searches for a
OrderedList. - OrderedListLocator(OrderedList) - Constructor for class com.vaadin.flow.component.html.OrderedListLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- OrderedListTester - Class in com.vaadin.flow.component.html
-
Tester for OrderedList components.
- OrderedListTester(OrderedList) - Constructor for class com.vaadin.flow.component.html.OrderedListTester
-
Wrap given component for testing.
- owner() - Method in interface com.vaadin.flow.component.geolocation.GeolocationTrackerSession
-
The component that owns this tracker session.
P
- packages() - Element in annotation interface com.vaadin.browserless.ViewPackages
-
Array of packages to scan for views
- ParagraphLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
Paragraph, derived fromParagraphTester. - ParagraphLocator() - Constructor for class com.vaadin.flow.component.html.ParagraphLocator
-
Creates a locator that searches for a
Paragraph. - ParagraphLocator(Paragraph) - Constructor for class com.vaadin.flow.component.html.ParagraphLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- ParagraphTester - Class in com.vaadin.flow.component.html
-
Tester for Paragraph components.
- ParagraphTester(Paragraph) - Constructor for class com.vaadin.flow.component.html.ParagraphTester
-
Wrap given component for testing.
- parseJvmVersion(String) - Static method in class com.vaadin.browserless.internal.Utils
-
Returns the major JVM version, 1 for 1.1, 2 for 1.2, 3 for 1.3, 4 for 1.4, 5 for 1.5 etc.
- PasswordFieldLocator - Class in com.vaadin.flow.component.textfield
-
Generated locator for
PasswordField, derived fromTextFieldTester. - PasswordFieldLocator() - Constructor for class com.vaadin.flow.component.textfield.PasswordFieldLocator
-
Creates a locator that searches for a
PasswordField. - PasswordFieldLocator(PasswordField) - Constructor for class com.vaadin.flow.component.textfield.PasswordFieldLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- pathToString(int, int...) - Static method in class com.vaadin.browserless.internal.MenuItemNavigation
-
Renders a position path the way it is reported in error messages.
- pathToString(String, String...) - Static method in class com.vaadin.browserless.internal.MenuItemNavigation
-
Renders a text path the way it is reported in error messages.
- PENDING - Enum constant in enum class com.vaadin.flow.component.upload.UploadTester.UploadStatus
-
The file was accepted but its transfer never concluded.
- placeholderContains(String) - Static method in class com.vaadin.browserless.ElementConditions
-
Checks if the component's
placeholdercontains the given text. - popoverFor(ComponentQuery<? extends Component>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- popoverFor(Component) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- PopoverLocator - Class in com.vaadin.flow.component.popover
-
Generated locator for
Popover, derived fromPopoverTester. - PopoverLocator() - Constructor for class com.vaadin.flow.component.popover.PopoverLocator
-
Creates a locator that searches for a
Popover. - PopoverLocator(Popover) - Constructor for class com.vaadin.flow.component.popover.PopoverLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- PopoverTester - Class in com.vaadin.flow.component.popover
-
Tester for Popover components.
- PopoverTester(Popover) - Constructor for class com.vaadin.flow.component.popover.PopoverTester
-
Wrap given component for testing.
- PreLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
Pre, derived fromPreTester. - PreLocator() - Constructor for class com.vaadin.flow.component.html.PreLocator
-
Creates a locator that searches for a
Pre. - PreLocator(Pre) - Constructor for class com.vaadin.flow.component.html.PreLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- pressEscape() - Method in class com.vaadin.flow.component.dialog.DialogLocator
-
Simulates pressing Escape to close the dialog.
- pressEscape() - Method in class com.vaadin.flow.component.dialog.DialogTester
-
Simulates pressing Escape to close the dialog.
- pressEscape() - Method in class com.vaadin.flow.component.popover.PopoverLocator
-
Simulates pressing Escape to close the popover.
- pressEscape() - Method in class com.vaadin.flow.component.popover.PopoverTester
-
Simulates pressing Escape to close the popover.
- PreTester - Class in com.vaadin.flow.component.html
-
Tester for Pre components.
- PreTester(Pre) - Constructor for class com.vaadin.flow.component.html.PreTester
-
Wrap given component for testing.
- PrettyPrintTree - Class in com.vaadin.browserless.internal
-
Utility class to create a pretty-printed ASCII tree of arbitrary nodes that can be printed to the console.
- PrettyPrintTree(String, List<PrettyPrintTree>) - Constructor for class com.vaadin.browserless.internal.PrettyPrintTree
-
Creates a tree node.
- principalProvider(Supplier<Principal>) - Method in class com.vaadin.browserless.mocks.MockRequest
-
Sets the user principal provider.
- print() - Method in class com.vaadin.browserless.internal.PrettyPrintTree
-
Prints this tree.
- put(String, Object) - Method in class com.vaadin.browserless.mocks.SessionAttributeMap
- putOrRemove(Map<K, V>, K, V) - Static method in class com.vaadin.browserless.mocks.MockUtils
-
Stores the value under the key, or removes the key when the value is
null.
R
- RadioButtonGroupLocator<V> - Class in com.vaadin.flow.component.radiobutton
-
Generated locator for
RadioButtonGroup, derived fromRadioButtonGroupTester. - RadioButtonGroupLocator(RadioButtonGroup<V>) - Constructor for class com.vaadin.flow.component.radiobutton.RadioButtonGroupLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- RadioButtonGroupLocator(Class<V>) - Constructor for class com.vaadin.flow.component.radiobutton.RadioButtonGroupLocator
-
Creates a locator that searches for a
RadioButtonGroup. - RadioButtonGroupTester<T,
V> - Class in com.vaadin.flow.component.radiobutton -
Tester for RadioButtonGroup components.
- RadioButtonGroupTester(T) - Constructor for class com.vaadin.flow.component.radiobutton.RadioButtonGroupTester
-
Wrap given component for testing.
- RadioButtonLocator<V> - Class in com.vaadin.flow.component.radiobutton
-
Generated locator for
RadioButton, derived fromRadioButtonTester. - RadioButtonLocator(RadioButton<V>) - Constructor for class com.vaadin.flow.component.radiobutton.RadioButtonLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- RadioButtonLocator(Class<V>) - Constructor for class com.vaadin.flow.component.radiobutton.RadioButtonLocator
-
Creates a locator that searches for a
RadioButton. - RadioButtonTester<T,
V> - Class in com.vaadin.flow.component.radiobutton -
Tester for RadioButton components.
- RadioButtonTester(T) - Constructor for class com.vaadin.flow.component.radiobutton.RadioButtonTester
-
Wrap given component for testing.
- RangeInputLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
RangeInput, derived fromRangeInputTester. - RangeInputLocator() - Constructor for class com.vaadin.flow.component.html.RangeInputLocator
-
Creates a locator that searches for a
RangeInput. - RangeInputLocator(RangeInput) - Constructor for class com.vaadin.flow.component.html.RangeInputLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- RangeInputTester - Class in com.vaadin.flow.component.html
-
Tester for RangeInput components.
- RangeInputTester(RangeInput) - Constructor for class com.vaadin.flow.component.html.RangeInputTester
-
Wrap given component for testing.
- recordReloadReplacement(UI, UI) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Records that
detachedwas replaced bycreatedduring a page reload, so thatMockVaadin.liveUI(UI)can map the old UI to the new one. - register() - Static method in class com.vaadin.browserless.TestSignalEnvironment
-
Registers this test environment as active
SignalEnvironmentand returns the created instance. - register(VaadinContext) - Method in class com.vaadin.browserless.internal.Routes
-
Registers all routes to the Vaadin registry.
- reject() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogLocator
-
Click reject button.
- reject() - Method in class com.vaadin.flow.component.confirmdialog.ConfirmDialogTester
-
Click reject button.
- reject(String) - Method in class com.vaadin.browserless.ExecutedJavaScript.Execution
-
Answers the JavaScript with an error, as the browser does when the JavaScript throws, which runs the error handler the application registered.
- REJECTED - Enum constant in enum class com.vaadin.flow.component.upload.UploadTester.UploadStatus
-
The file never reached the upload handler or receiver, because either the client-side constraints of the component or Flow's server-side accepted type validation refused it.
- reload() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Simulates the user reloading the page (pressing F5): the current UI is detached and a fresh one is created in the same Vaadin session, then the current location is rendered again.
- reload() - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Simulates the user reloading this window (pressing F5): the window's UI is detached and a fresh one is created in the same Vaadin session, then the current location is rendered again.
- reload() - Method in class com.vaadin.browserless.internal.MockPage
- reload(Class<T>) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Simulates a page reload (see
BaseBrowserlessTest.reload()) and verifies the resulting view is of the expected type. - reload(Class<T>) - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Simulates a page reload (see
BrowserlessUIContext.reload()) and verifies the resulting view is of the expected type. - remove() - Method in class com.vaadin.browserless.internal.DepthFirstTreeIterator
- remove(Object) - Method in class com.vaadin.browserless.mocks.SessionAttributeMap
- remove(Object, Object) - Method in class com.vaadin.browserless.mocks.SessionAttributeMap
- removeAttribute(String) - Method in class com.vaadin.browserless.mocks.MockContext
- removeAttribute(String) - Method in class com.vaadin.browserless.mocks.MockHttpSession
- removeAttribute(String) - Method in class com.vaadin.browserless.mocks.MockRequest
- removeFile(int) - Method in class com.vaadin.flow.component.upload.UploadFileListLocator
-
Simulates the user clicking the remove button of the file at the given position of the list, which reaches one entry when several share a name.
- removeFile(int) - Method in class com.vaadin.flow.component.upload.UploadFileListTester
-
Simulates the user clicking the remove button of the file at the given position of the list, which reaches one entry when several share a name.
- removeFile(int) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Simulates the user removing the file at the given position of the upload file list, as if clicking the remove button on that entry.
- removeFile(int) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Simulates the user removing the file at the given position of the upload file list, as if clicking the remove button on that entry.
- removeFile(File) - Method in class com.vaadin.flow.component.upload.UploadFileListLocator
-
Simulates the user clicking the remove button of a file in the list.
- removeFile(File) - Method in class com.vaadin.flow.component.upload.UploadFileListTester
-
Simulates the user clicking the remove button of a file in the list.
- removeFile(File) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Simulates the user removing a file from the upload file list, as if clicking the remove button on the file entry.
- removeFile(File) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Simulates the user removing a file from the upload file list, as if clicking the remove button on the file entry.
- removeFile(String) - Method in class com.vaadin.flow.component.upload.UploadFileListLocator
-
Simulates the user clicking the remove button of a file in the list.
- removeFile(String) - Method in class com.vaadin.flow.component.upload.UploadFileListTester
-
Simulates the user clicking the remove button of a file in the list.
- removeFile(String) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Simulates the user removing a file from the upload file list, as if clicking the remove button on the file entry.
- removeFile(String) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Simulates the user removing a file from the upload file list, as if clicking the remove button on the file entry.
- removeWidget(DashboardWidget) - Method in class com.vaadin.flow.component.dashboard.DashboardLocator
-
Simulates a user removing the given widget by clicking its remove button.
- removeWidget(DashboardWidget) - Method in class com.vaadin.flow.component.dashboard.DashboardTester
-
Simulates a user removing the given widget by clicking its remove button.
- renderCellComponent(int, int) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Render the component for the cell in the given position on its own, without the grid, and attach it to the grid so that it can be used.
- renderCellComponent(int, int) - Method in class com.vaadin.flow.component.grid.GridTester
-
Render the component for the cell in the given position on its own, without the grid, and attach it to the grid so that it can be used.
- renderCellComponent(int, int) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Render the component for the cell in the given position on its own, without the grid, and attach it to the grid so that it can be used.
- renderCellComponent(int, int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Render the component for the cell in the given position on its own, without the grid, and attach it to the grid so that it can be used.
- renderCellComponent(int, String) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Render the component for the cell in the given row of the column with the given key on its own, without the grid, and attach it to the grid so that it can be used.
- renderCellComponent(int, String) - Method in class com.vaadin.flow.component.grid.GridTester
-
Render the component for the cell in the given row of the column with the given key on its own, without the grid, and attach it to the grid so that it can be used.
- renderCellComponent(int, String) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Render the component for the cell in the given row of the column with the given key on its own, without the grid, and attach it to the grid so that it can be used.
- renderCellComponent(int, String) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Render the component for the cell in the given row of the column with the given key on its own, without the grid, and attach it to the grid so that it can be used.
- RenderedComponentSupport - Class in com.vaadin.browserless.internal
-
Reaches the components a
ComponentRendererhas rendered for the rows the client has asked for. - Renderers - Class in com.vaadin.browserless.internal
-
Functions for computing the output of renderers.
- renderLitTemplate(String, Map<String, ? extends ValueProvider<T, ?>>, T) - Static method in class com.vaadin.browserless.internal.Renderers
-
Renders the given lit
template, replacing each${item.key}with the output of the corresponding value provider. - renderText(TextRenderer<T>, T) - Static method in class com.vaadin.browserless.internal.Renderers
-
Returns the text rendered for given
item. - requests() - Method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Returns the pending one-shot
Geolocation.get(...)requests in arrival order. - requireCheckable(MenuItemBase<?, ?, ?>, String) - Static method in class com.vaadin.browserless.internal.MenuItemNavigation
-
Ensures that the given menu item is checkable, as only a checkable item has a checked state to read.
- reset() - Method in class com.vaadin.browserless.mocks.MockResponse
- resetBuffer() - Method in class com.vaadin.browserless.mocks.MockResponse
- resetPermission() - Method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Resets permission to
PROMPT— the default starting state, equivalent to a fresh page where the user has not yet responded to the permission dialog. - resizeWidget(DashboardWidget, int, int) - Method in class com.vaadin.flow.component.dashboard.DashboardLocator
-
Simulates a user resizing the given widget to the given column and row span.
- resizeWidget(DashboardWidget, int, int) - Method in class com.vaadin.flow.component.dashboard.DashboardTester
-
Simulates a user resizing the given widget to the given column and row span.
- resolve(Object) - Method in class com.vaadin.browserless.ExecutedJavaScript.Execution
-
Answers the JavaScript with the given return value, as the browser does when the JavaScript has run, which runs the success handler the application registered.
- respondWith(GeolocationError) - Method in interface com.vaadin.flow.component.geolocation.GeolocationRequest
-
Resolves the request with the given error.
- respondWith(GeolocationPosition) - Method in interface com.vaadin.flow.component.geolocation.GeolocationRequest
-
Resolves the request with the given position.
- restoreContext(Object) - Method in interface com.vaadin.browserless.SecurityContextHandler
-
Restores a previously saved security context snapshot onto the current thread.
- RIGHT - Enum constant in enum class com.vaadin.browserless.MouseButton
-
The secondary button, usually the right one.
- rightClick() - Method in interface com.vaadin.browserless.Clickable
-
Click with right button.
- rightClick(MetaKeys) - Method in interface com.vaadin.browserless.Clickable
-
Click with right button and given meta keys.
- roleChecker(BiPredicate<Principal, String>) - Method in class com.vaadin.browserless.mocks.MockRequest
-
Deprecated, for removal: This API element is subject to removal in a future version.use
MockRequest.setUserInRole(BiPredicate), which takes the same argument - roundTrip() - Static method in class com.vaadin.browserless.BaseBrowserlessTest
-
Simulates a server round-trip: runs the tasks queued with
UI.access()and the queued Signals effects, such as those of a signal changed on another thread, runs thebeforeClientResponsecallbacks and flushes pending component changes, as a real client response would. - roundTrip() - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Simulates a server round-trip: runs the tasks queued with
UI.access()and the queued Signals effects, such as those of a signal changed on another thread, runs thebeforeClientResponsecallbacks and flushes pending component changes, as a real client response would. - roundTrip() - Method in class com.vaadin.browserless.ComponentTester
-
Simulates a server round-trip: runs the tasks queued with
UI.access()and the queued Signals effects, such as those of a signal changed on another thread, runs thebeforeClientResponsecallbacks and flushes pending component changes, as a real client response would. - RouterLinkLocator - Class in com.vaadin.flow.component.routerlink
-
Generated locator for
RouterLink, derived fromRouterLinkTester. - RouterLinkLocator() - Constructor for class com.vaadin.flow.component.routerlink.RouterLinkLocator
-
Creates a locator that searches for a
RouterLink. - RouterLinkLocator(RouterLink) - Constructor for class com.vaadin.flow.component.routerlink.RouterLinkLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- RouterLinkTester<T> - Class in com.vaadin.flow.component.routerlink
-
Tester for RouterLink components.
- RouterLinkTester(T) - Constructor for class com.vaadin.flow.component.routerlink.RouterLinkTester
-
Wrap given component for testing.
- Routes - Class in com.vaadin.browserless.internal
-
A configuration object of all routes and error routes in the application.
- Routes() - Constructor for class com.vaadin.browserless.internal.Routes
-
Creates an empty configuration, with only
MockRouteNotFoundErrorregistered as an error route, and with the PWA initialization skipped. - Routes(Set<Class<? extends Component>>, Set<Class<? extends HasErrorParameter<?>>>, Set<Class<? extends RouterLayout>>, boolean) - Constructor for class com.vaadin.browserless.internal.Routes
-
Creates the configuration.
- runPendingSignalsTasks() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Processes all pending Signals tasks with a default max wait time of 100 milliseconds.
- runPendingSignalsTasks() - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Processes all pending Signals tasks with a default max wait time of 100 milliseconds.
- runPendingSignalsTasks(long, TimeUnit) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Processes all pending Signals tasks, waiting up to the specified timeout for tasks to arrive.
- runPendingSignalsTasks(long, TimeUnit) - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Processes all pending Signals tasks, waiting up to the specified timeout for the first task to arrive.
- runPendingTasks(long, TimeUnit) - Method in class com.vaadin.browserless.TestSignalEnvironment
-
Executes pending tasks from the queue, continuously polling for new tasks until the timeout expires with no new task arriving.
- runQueuedTasks() - Static method in class com.vaadin.browserless.TestSignalEnvironment
-
Runs, on the calling thread, the tasks that are queued in every registered test environment, without waiting for more to arrive, as part of a simulated round trip.
- runUIQueue() - Static method in class com.vaadin.browserless.internal.MockVaadin
- runUIQueue(boolean) - Static method in class com.vaadin.browserless.internal.MockVaadin
- runUIQueue(boolean, VaadinSession) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Runs all tasks scheduled by
UI.access(com.vaadin.flow.server.Command).
S
- saveContext() - Method in interface com.vaadin.browserless.SecurityContextHandler
-
Captures the current thread's security context as an opaque snapshot.
- scanPackages() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Collects the packages to scan for routes, from the
@ViewPackagesannotation on the test class. - scanTesters() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Scan testers and populate testers map with them.
- SearchSpec<T> - Class in com.vaadin.browserless.internal
-
A criterion for matching components.
- SearchSpec(Class<T>) - Constructor for class com.vaadin.browserless.internal.SearchSpec
-
Creates a search specification which matches all components of given class.
- SearchSpec(Class<T>, String, String, String, String, String, CountRange, Object, String, String, List<Predicate<T>>, String, String) - Constructor for class com.vaadin.browserless.internal.SearchSpec
-
Creates a search specification.
- SecuredBrowserlessApplicationContext<C> - Class in com.vaadin.browserless
-
Credential-aware application context.
- SecuredBrowserlessApplicationContext.Builder<C> - Class in com.vaadin.browserless
-
Builder for
SecuredBrowserlessApplicationContext. - SecurityContextHandler<C> - Interface in com.vaadin.browserless
-
Abstracts per-user security context management for multi-user testing.
- select(int) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Select the item on given row.
- select(int) - Method in class com.vaadin.flow.component.grid.GridTester
-
Select the item on given row.
- select(int) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Select the item on given row.
- select(int) - Method in class com.vaadin.flow.component.tabs.TabSheetLocator
-
Selects a visible tab based on its zero-based index.
- select(int) - Method in class com.vaadin.flow.component.tabs.TabSheetTester
-
Selects a visible tab based on its zero-based index.
- select(int) - Method in class com.vaadin.flow.component.tabs.TabsLocator
-
Selects a visible tab based on its zero-based index.
- select(int) - Method in class com.vaadin.flow.component.tabs.TabsTester
-
Selects a visible tab based on its zero-based index.
- select(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Select the item on given row.
- select(String) - Method in class com.vaadin.flow.component.tabs.TabSheetLocator
-
Selects the tab with the given label.
- select(String) - Method in class com.vaadin.flow.component.tabs.TabSheetTester
-
Selects the tab with the given label.
- select(String) - Method in class com.vaadin.flow.component.tabs.TabsLocator
-
Selects the tab with the given label.
- select(String) - Method in class com.vaadin.flow.component.tabs.TabsTester
-
Selects the tab with the given label.
- selectAll() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupLocator
-
Selects all client usable items.
- selectAll() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupTester
-
Selects all client usable items.
- selectAll() - Method in class com.vaadin.flow.component.grid.GridLocator
-
Select all items in grid, running the same code as when the select all checkbox is checked.
- selectAll() - Method in class com.vaadin.flow.component.grid.GridTester
-
Select all items in grid, running the same code as when the select all checkbox is checked.
- selectAll() - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Select all items in grid, running the same code as when the select all checkbox is checked.
- selectAll() - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Select all items in grid, running the same code as when the select all checkbox is checked.
- selectItem(String) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupLocator
-
Selects an item by its client string representation.
- selectItem(String) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupTester
-
Selects an item by its client string representation.
- selectItem(String) - Method in class com.vaadin.flow.component.combobox.ComboBoxLocator
-
Selects an item by its string representation (label).
- selectItem(String) - Method in class com.vaadin.flow.component.combobox.ComboBoxTester
-
Selects an item by its string representation (label).
- selectItem(String) - Method in class com.vaadin.flow.component.listbox.ListBoxLocator
-
Select item by client string representation.
- selectItem(String) - Method in class com.vaadin.flow.component.listbox.ListBoxTester
-
Select item by client string representation.
- selectItem(String) - Method in class com.vaadin.flow.component.radiobutton.RadioButtonGroupLocator
-
Selects an item by its client string representation.
- selectItem(String) - Method in class com.vaadin.flow.component.radiobutton.RadioButtonGroupTester
-
Selects an item by its client string representation.
- selectItem(String) - Method in class com.vaadin.flow.component.select.SelectLocator
-
Select item by client string representation.
- selectItem(String) - Method in class com.vaadin.flow.component.select.SelectTester
-
Select item by client string representation.
- selectItem(String...) - Method in class com.vaadin.flow.component.combobox.MultiSelectComboBoxLocator
-
Select items by client string representation.
- selectItem(String...) - Method in class com.vaadin.flow.component.combobox.MultiSelectComboBoxTester
-
Select items by client string representation.
- selectItems(String...) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupLocator
-
Selects multiple items by client string representation.
- selectItems(String...) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupTester
-
Selects multiple items by client string representation.
- selectItems(String...) - Method in class com.vaadin.flow.component.listbox.MultiSelectListBoxLocator
-
Select item(s) by client string representation.
- selectItems(String...) - Method in class com.vaadin.flow.component.listbox.MultiSelectListBoxTester
-
Select item(s) by client string representation.
- selectItems(Collection<String>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupLocator
-
Selects multiple items by client string representation.
- selectItems(Collection<String>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroupTester
-
Selects multiple items by client string representation.
- SelectLocator<Y> - Class in com.vaadin.flow.component.select
-
Generated locator for
Select, derived fromSelectTester. - SelectLocator(Select<Y>) - Constructor for class com.vaadin.flow.component.select.SelectLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- SelectLocator(Class<Y>) - Constructor for class com.vaadin.flow.component.select.SelectLocator
-
Creates a locator that searches for a
Select. - SelectTester<T,
Y> - Class in com.vaadin.flow.component.select -
Tester for Select components.
- SelectTester(T) - Constructor for class com.vaadin.flow.component.select.SelectTester
-
Wrap given component for testing.
- self() - Method in class com.vaadin.browserless.locator.Locator
-
Returns this locator, typed as the concrete subtype, so the filter steps can chain fluently.
- send(String) - Method in class com.vaadin.flow.component.messages.MessageInputLocator
-
Send an input message through the MessageInput component.
- send(String) - Method in class com.vaadin.flow.component.messages.MessageInputTester
-
Send an input message through the MessageInput component.
- sendError(int) - Method in class com.vaadin.browserless.mocks.MockResponse
- sendError(int, String) - Method in class com.vaadin.browserless.mocks.MockResponse
- sendRedirect(String) - Method in class com.vaadin.browserless.mocks.MockResponse
- sendRedirect(String, int, boolean) - Method in class com.vaadin.browserless.mocks.MockResponse
- SerializationDebugUtil - Class in com.vaadin.browserless
-
Dumps the object graph behind a serialization failure, so a test can see which field made a session unserializable.
- serializeDeserialize(T) - Static method in class com.vaadin.browserless.internal.Utils
-
Serializes given object and deserializes it back, returning the copy.
- serializeToBytes(Serializable) - Static method in class com.vaadin.browserless.internal.Utils
-
Serializes given object into a byte array using Java serialization.
- SessionAttributeMap - Class in com.vaadin.browserless.mocks
-
A live map of all attributes in this session.
- SessionAttributeMap(HttpSession) - Constructor for class com.vaadin.browserless.mocks.SessionAttributeMap
-
Exposes the given session's attributes as a map.
- SessionObjects - Class in com.vaadin.browserless.internal
-
Holds the objects created during session initialization, before they are installed as thread-locals.
- SessionObjects(VaadinSession, VaadinRequest, VaadinResponse, MockHttpSession) - Constructor for class com.vaadin.browserless.internal.SessionObjects
-
Groups the four objects that make up one mocked user's session.
- setAlt(boolean) - Method in class com.vaadin.browserless.MetaKeys
-
Set alt key down state to given value.
- setAttribute(String, Object) - Method in class com.vaadin.browserless.mocks.MockContext
- setAttribute(String, Object) - Method in class com.vaadin.browserless.mocks.MockHttpSession
- setAttribute(String, Object) - Method in class com.vaadin.browserless.mocks.MockRequest
- setAuthType(String) - Static method in class com.vaadin.browserless.mocks.MockHttpEnvironment
-
Sets the authentication scheme
MockRequest.getAuthType()reports. - setBufferSize(int) - Method in class com.vaadin.browserless.mocks.MockResponse
- setCaption(String) - Method in class com.vaadin.browserless.internal.SearchSpec
-
The required
caption; if null, no particular caption is matched. - setCause(NotFoundException) - Method in class com.vaadin.browserless.internal.MockRouteNotFoundError
-
Sets the exception describing the failed navigation.
- setCharacterEncoding(String) - Method in class com.vaadin.browserless.mocks.MockRequest
- setCharacterEncoding(String) - Method in class com.vaadin.browserless.mocks.MockResponse
- setCharacterEncodingInt(String) - Method in class com.vaadin.browserless.mocks.MockRequest
-
Sets the encoding
MockRequest.getCharacterEncodingInt()reports. - setChildComponentModal(Component, ModalityMode) - Method in class com.vaadin.browserless.mocks.MockedUI
- setClasses(String) - Method in class com.vaadin.browserless.internal.SearchSpec
-
If not null, the component must match all of these class names.
- setContentLength(int) - Method in class com.vaadin.browserless.mocks.MockResponse
- setContentLengthLong(long) - Method in class com.vaadin.browserless.mocks.MockResponse
- setContentType(String) - Method in class com.vaadin.browserless.mocks.MockResponse
- setCookiesInt(Cookie[]) - Method in class com.vaadin.browserless.mocks.MockRequest
-
Replaces the cookies
MockRequest.getCookies()reports. - setCount(CountRange) - Method in class com.vaadin.browserless.internal.SearchSpec
-
The expected number of matching components.
- setCtrl(boolean) - Method in class com.vaadin.browserless.MetaKeys
-
Set ctrl key down state to given value.
- setDateHeader(String, long) - Method in class com.vaadin.browserless.mocks.MockResponse
- setDontDumpAttributes(Set<String>) - Static method in class com.vaadin.browserless.internal.PrettyPrintTree
-
Sets the attributes never dumped by
PrettyPrintTree.toPrettyString(Component), seePrettyPrintTree.getDontDumpAttributes(). - setEnabled(String, boolean) - Method in class com.vaadin.browserless.internal.BrowserlessFeatureFlags
- setEnd(Double) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
-
Simulates the user dragging only the end (max) thumb.
- setEnd(Integer) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
-
Simulates the user dragging only the end (max) thumb.
- setEnd(Double) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderTester
-
Simulates the user dragging only the end (max) thumb.
- setEnd(Integer) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderTester
-
Simulates the user dragging only the end (max) thumb.
- setErrorParameter(BeforeEnterEvent, ErrorParameter<NotFoundException>) - Method in class com.vaadin.browserless.internal.MockRouteNotFoundError
- setErrorParameter(BeforeEnterEvent, ErrorParameter<Exception>) - Method in class com.vaadin.browserless.internal.MockInternalSeverError
- setFilter(String) - Method in class com.vaadin.flow.component.combobox.ComboBoxLocator
-
Simulate writing a filter to the combobox.
- setFilter(String) - Method in class com.vaadin.flow.component.combobox.ComboBoxTester
-
Simulate writing a filter to the combobox.
- setFilter(String) - Method in class com.vaadin.flow.component.combobox.MultiSelectComboBoxLocator
-
Simulate writing a filter to the combobox.
- setFilter(String) - Method in class com.vaadin.flow.component.combobox.MultiSelectComboBoxTester
-
Simulate writing a filter to the combobox.
- setHeader(String, String) - Method in class com.vaadin.browserless.mocks.MockResponse
- setId(String) - Method in class com.vaadin.browserless.internal.SearchSpec
-
The required
Component.getId(); if null, no particular id is matched. - setInitParameter(String, String) - Method in class com.vaadin.browserless.mocks.MockContext
- setIntHeader(String, int) - Method in class com.vaadin.browserless.mocks.MockResponse
- setJavaScriptHandlers(VaadinService, Collection<Class<? extends JavaScriptHandler>>) - Static method in class com.vaadin.browserless.JavaScriptDispatcher
-
Sets the
JavaScriptHandlerclasses that every UI created from now on for the given service gets an instance of, replacing the ones set before. - setLocale(Locale) - Method in class com.vaadin.browserless.mocks.MockResponse
- setLocaleInt(Locale) - Method in class com.vaadin.browserless.mocks.MockRequest
-
Sets the locale
MockRequest.getLocale()reports. - setLocalPort(int) - Static method in class com.vaadin.browserless.mocks.MockHttpEnvironment
-
Sets the port
MockRequest.getLocalPort()reports. - setLocation(double, double) - Method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Convenience overload using a default accuracy of 10 metres.
- setLocation(double, double, double) - Method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Convenience overload constructing a
GeolocationPositionwith a current-time timestamp; altitude, altitude accuracy, heading and speed arenull. - setLocation(GeolocationPosition) - Method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Sets the cached sensor fix.
- setMaxInactiveInterval(int) - Method in class com.vaadin.browserless.mocks.MockHttpSession
- setMeta(boolean) - Method in class com.vaadin.browserless.MetaKeys
-
Set meta key down state to given value.
- setMockRequestFactory(Function<MockHttpSession, MockRequest>) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Sets the factory creating the
MockRequestof each session. - setModal(boolean) - Method in class com.vaadin.browserless.ComponentTester
-
Set component modality.
- setParameter(String, String...) - Method in class com.vaadin.browserless.mocks.MockRequest
-
Equivalent to
parameters.put(name, Arrays.copyOf(values, values.length)). - setPartsInt(List<Part>) - Method in class com.vaadin.browserless.mocks.MockRequest
-
Sets the multipart parts of this request.
- setPlaceholder(String) - Method in class com.vaadin.browserless.internal.SearchSpec
-
The required
placeholder; if null, no particular placeholder is matched. - setPredicates(List<Predicate<T>>) - Method in class com.vaadin.browserless.internal.SearchSpec
-
Extra predicates the component must satisfy, on top of the other rules.
- setPrettyPrintUseAscii(boolean) - Static method in class com.vaadin.browserless.internal.PrettyPrintTree
-
Sets whether
PrettyPrintTreeuses ASCII characters only. - setPrettyStringHook(BiConsumer<Component, LinkedList<String>>) - Static method in class com.vaadin.browserless.internal.PrettyPrintTree
-
Sets the hook invoked by
PrettyPrintTree.toPrettyString(Component), seePrettyPrintTree.getPrettyStringHook(). - setPropertyAsUser(String, Serializable) - Method in class com.vaadin.browserless.ComponentTester
-
Updates an element property of the wrapped component as if the update was sent by the browser, so that events derived from the property change report
isFromClient() == true. - setRealPathRoots(List<String>) - Method in class com.vaadin.browserless.mocks.MockContext
-
Replaces the folders
MockContext.getRealPath(String)resolves against. - setRemotePort(int) - Static method in class com.vaadin.browserless.mocks.MockHttpEnvironment
-
Sets the port
MockRequest.getRemotePort()reports. - setRequestCharacterEncoding(String) - Method in class com.vaadin.browserless.mocks.MockContext
- setResponseCharacterEncoding(String) - Method in class com.vaadin.browserless.mocks.MockContext
- setSecure(boolean) - Static method in class com.vaadin.browserless.mocks.MockHttpEnvironment
-
Sets whether
MockRequest.isSecure()reports the request as having arrived over HTTPS. - setServerPort(int) - Static method in class com.vaadin.browserless.mocks.MockHttpEnvironment
-
Sets the port
MockRequest.getServerPort()reports. - setServletInitParams(Map<String, String>) - Method in class com.vaadin.browserless.mocks.MockServletConfig
-
Replaces the per-servlet init parameters.
- setSessionTimeout(int) - Method in class com.vaadin.browserless.mocks.MockContext
- setSessionTrackingModes(Set<SessionTrackingMode>) - Method in class com.vaadin.browserless.mocks.MockContext
- setShift(boolean) - Method in class com.vaadin.browserless.MetaKeys
-
Set shift key down state to given value.
- setSkipPwaInit(boolean) - Method in class com.vaadin.browserless.internal.Routes
-
Sets whether the PWA initialization code is skipped in Vaadin.
- setStart(Double) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
-
Simulates the user dragging only the start (min) thumb.
- setStart(Integer) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
-
Simulates the user dragging only the start (min) thumb.
- setStart(Double) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderTester
-
Simulates the user dragging only the start (min) thumb.
- setStart(Integer) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderTester
-
Simulates the user dragging only the start (min) thumb.
- setStatus(int) - Method in class com.vaadin.browserless.mocks.MockResponse
- setTargetItem(Grid<?>, String, String) - Static method in class com.vaadin.browserless.internal.GridContextMenuSupport
-
Records the row and column the context menu is about, the way the grid does when the browser reports a context menu gesture.
- setTestId(String) - Method in class com.vaadin.browserless.internal.SearchSpec
-
The required test id, i.e. the
data-testidattribute; if null, no particular test id is matched. - setTestingLifecycleHook(TestingLifecycleHook) - Static method in class com.vaadin.browserless.internal.TestingLifecycleHooks
-
Sets the testing lifecycle hook, see
TestingLifecycleHook. - setText(String) - Method in class com.vaadin.browserless.internal.SearchSpec
-
The required
Element.getText(); if null, no particular text is matched. - setThemes(String) - Method in class com.vaadin.browserless.internal.SearchSpec
-
If not null, the component must have all theme names defined.
- setUnavailable(GeolocationErrorCode, String) - Method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Sets a sticky sensor error.
- setup() - Static method in class com.vaadin.browserless.internal.MockVaadin
- setup(Routes) - Static method in class com.vaadin.browserless.internal.MockVaadin
- setup(Routes, UIFactory) - Static method in class com.vaadin.browserless.internal.MockVaadin
- setup(Routes, UIFactory, Set<? extends Class<?>>) - Static method in class com.vaadin.browserless.internal.MockVaadin
- setup(Routes, UIFactory, Set<? extends Class<?>>, BrowserlessConfiguration) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Mocks Vaadin for the current test method:
- setup(UIFactory, VaadinServlet) - Static method in class com.vaadin.browserless.internal.MockVaadin
- setup(UIFactory, VaadinServlet, Set<? extends Class<?>>) - Static method in class com.vaadin.browserless.internal.MockVaadin
- setup(UIFactory, VaadinServlet, Set<? extends Class<?>>, BrowserlessConfiguration) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Use this method when you need to provide a completely custom servlet (e.g.
- setup(VaadinServlet) - Static method in class com.vaadin.browserless.internal.MockVaadin
- setupAuthentication(C) - Method in interface com.vaadin.browserless.SecurityContextHandler
-
Sets up authentication for a new user from the given credentials.
- setupServlet(VaadinServlet) - Static method in class com.vaadin.browserless.internal.MockVaadin
- setupServlet(VaadinServlet, Set<? extends Class<?>>) - Static method in class com.vaadin.browserless.internal.MockVaadin
- setupServlet(VaadinServlet, Set<? extends Class<?>>, BrowserlessConfiguration) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Initializes the given
servletand its service, but does NOT create a session, UI, or set any thread-locals. - setUpSimulatedClient(UI) - Static method in class com.vaadin.browserless.JavaScriptDispatcher
-
Sets up the simulated client of a UI that the mocked environment has just created, before the UI is initialized: installs the handlers that simulate what a browser does with the JavaScript Browserless Test knows how to simulate, such as server-side
Focusable.focus()andblur()calls, followed by a new instance of eachJavaScriptHandlerconfigured for the environment withJavaScriptDispatcher.setJavaScriptHandlers(VaadinService, Collection). - setUserAgent(String) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Sets the
User-Agentevery mocked request reports. - setUserInRole(BiPredicate<Principal, String>) - Method in class com.vaadin.browserless.mocks.MockRequest
-
Sets the user-in-role checker.
- setUserPrincipalInt(Principal) - Method in class com.vaadin.browserless.mocks.MockRequest
-
Sets the principal
MockRequest.getUserPrincipal()reports when noprincipal provideris set, or when the provider returnsnull. - setValue(int, int, Object) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Set value for the cell at the given row and column index.
- setValue(int, int, Object) - Method in class com.vaadin.flow.component.gridpro.GridProTester
-
Set value for the cell at the given row and column index.
- setValue(DecimalRangeSliderValue) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderLocator
-
Simulates the user dragging both thumbs to set the range value.
- setValue(IntegerRangeSliderValue) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderLocator
-
Simulates the user dragging both thumbs to set the range value.
- setValue(Double) - Method in class com.vaadin.flow.component.html.RangeInputLocator
-
Set the value to the component if it is usable.
- setValue(Double) - Method in class com.vaadin.flow.component.html.RangeInputTester
-
Set the value to the component if it is usable.
- setValue(Double) - Method in class com.vaadin.flow.component.slider.DecimalSliderLocator
-
Simulates the user dragging the slider handle to the given value.
- setValue(Double) - Method in class com.vaadin.flow.component.textfield.NumberFieldLocator
-
Set the given value for the component, as the user would type it.
- setValue(Integer) - Method in class com.vaadin.flow.component.slider.IntegerSliderLocator
-
Simulates the user dragging the slider handle to the given value.
- setValue(Integer) - Method in class com.vaadin.flow.component.textfield.IntegerFieldLocator
-
Set the given value for the component, as the user would type it.
- setValue(Object) - Method in class com.vaadin.browserless.internal.SearchSpec
-
Expected
HasValue.getValue(); ifnull, no particular value is matched. - setValue(String) - Method in class com.vaadin.flow.component.html.InputLocator
-
Set the value to the component if it is usable.
- setValue(String) - Method in class com.vaadin.flow.component.html.InputTester
-
Set the value to the component if it is usable.
- setValue(String) - Method in class com.vaadin.flow.component.textfield.EmailFieldLocator
-
Set the given value for the component, as the user would type it.
- setValue(String) - Method in class com.vaadin.flow.component.textfield.PasswordFieldLocator
-
Set the given value for the component, as the user would type it.
- setValue(String) - Method in class com.vaadin.flow.component.textfield.TextAreaLocator
-
Set the given value for the component, as the user would type it.
- setValue(String) - Method in class com.vaadin.flow.component.textfield.TextAreaTester
-
Set the given value for the component, as the user would type it.
- setValue(String) - Method in class com.vaadin.flow.component.textfield.TextFieldLocator
-
Set the given value for the component, as the user would type it.
- setValue(BigDecimal) - Method in class com.vaadin.flow.component.textfield.BigDecimalFieldLocator
-
Set the given value for the component, as the user would type it.
- setValue(LocalDate) - Method in class com.vaadin.flow.component.datepicker.DatePickerLocator
-
Set the given date as value to the component, as the user would enter it.
- setValue(LocalDate) - Method in class com.vaadin.flow.component.datepicker.DatePickerTester
-
Set the given date as value to the component, as the user would enter it.
- setValue(LocalDateTime) - Method in class com.vaadin.flow.component.datetimepicker.DateTimePickerLocator
-
Set the date to the component, as the user would enter it.
- setValue(LocalDateTime) - Method in class com.vaadin.flow.component.datetimepicker.DateTimePickerTester
-
Set the date to the component, as the user would enter it.
- setValue(LocalTime) - Method in class com.vaadin.flow.component.timepicker.TimePickerLocator
-
Set the time to the component, as the user would enter it.
- setValue(LocalTime) - Method in class com.vaadin.flow.component.timepicker.TimePickerTester
-
Set the time to the component, as the user would enter it.
- setValue(DecimalRangeSliderValue) - Method in class com.vaadin.flow.component.slider.DecimalRangeSliderTester
-
Simulates the user dragging both thumbs to set the range value.
- setValue(IntegerRangeSliderValue) - Method in class com.vaadin.flow.component.slider.IntegerRangeSliderTester
-
Simulates the user dragging both thumbs to set the range value.
- setValue(Double) - Method in class com.vaadin.flow.component.slider.DecimalSliderTester
-
Simulates the user dragging the slider handle to the given value.
- setValue(Integer) - Method in class com.vaadin.flow.component.slider.IntegerSliderTester
-
Simulates the user dragging the slider handle to the given value.
- setValue(V) - Method in class com.vaadin.flow.component.textfield.NumberFieldTester
-
Set the given value for the component, as the user would type it.
- setValue(V) - Method in class com.vaadin.flow.component.textfield.TextFieldTester
-
Set the given value for the component, as the user would type it.
- setValueAsUser(HasValue<?, V>, V) - Method in class com.vaadin.browserless.ComponentTester
-
Sets the value to the given field, pretending that the value came from the browser, so that the fired value change event reports
isFromClient() == true. - setValueAsUser(V) - Method in class com.vaadin.browserless.ComponentTester
-
Sets the value to given component.
- setWithoutClasses(String) - Method in class com.vaadin.browserless.internal.SearchSpec
-
If not null, the component must NOT match any of these class names.
- setWithoutThemes(String) - Method in class com.vaadin.browserless.internal.SearchSpec
-
If not null, the component must NOT have any of the theme names defined.
- shift() - Method in class com.vaadin.browserless.MetaKeys
-
Set shift key down to
true. - Shortcuts - Class in com.vaadin.browserless.internal
-
Functions for firing keyboard shortcuts.
- SideNavLocator - Class in com.vaadin.flow.component.sidenav
-
Generated locator for
SideNav, derived fromSideNavTester. - SideNavLocator() - Constructor for class com.vaadin.flow.component.sidenav.SideNavLocator
-
Creates a locator that searches for a
SideNav. - SideNavLocator(SideNav) - Constructor for class com.vaadin.flow.component.sidenav.SideNavLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- SideNavTester<T> - Class in com.vaadin.flow.component.sidenav
-
Tester for SideNav components.
- SideNavTester(T) - Constructor for class com.vaadin.flow.component.sidenav.SideNavTester
-
Wrap given component for testing.
- simulateClosedEvent(Component) - Static method in class com.vaadin.browserless.internal.ComponentUtils
-
Sets up an event listener for overlay components that fires a
closedDOM event when the component is closed. - simulateUnsupported() - Method in class com.vaadin.flow.component.geolocation.GeolocationSimulator
-
Sets availability to
UNSUPPORTED, simulating a browser without the Geolocation API or a page context where it is unusable. - single() - Method in class com.vaadin.browserless.ComponentQuery
-
Executes the search against current context and returns the component, expecting to find exactly one.
- size() - Method in class com.vaadin.flow.component.grid.GridLocator
-
Get the amount of items in the grid.
- size() - Method in class com.vaadin.flow.component.grid.GridTester
-
Get the amount of items in the grid.
- size() - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Get the amount of items in the grid.
- size() - Method in class com.vaadin.flow.component.messages.MessageListLocator
-
Get amount of messages in the messageList.
- size() - Method in class com.vaadin.flow.component.messages.MessageListTester
-
Get amount of messages in the messageList.
- size() - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Get the amount of items in the grid.
- size() - Method in class com.vaadin.flow.component.virtuallist.VirtualListLocator
-
Get the amount of items in the virtual list.
- size() - Method in class com.vaadin.flow.component.virtuallist.VirtualListTester
-
Get the amount of items in the virtual list.
- sneakyThrow(Throwable) - Static method in class com.vaadin.browserless.internal.Utils
-
Rethrows given checked exception without declaring it, the same way Kotlin code propagates checked exceptions.
- sortByColumn(int) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Sorts the grid according to the given column sort status, as if the column header is pressed in the browser.
- sortByColumn(int) - Method in class com.vaadin.flow.component.grid.GridTester
-
Sorts the grid according to the given column sort status, as if the column header is pressed in the browser.
- sortByColumn(int) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Sorts the grid according to the given column sort status, as if the column header is pressed in the browser.
- sortByColumn(int) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Sorts the grid according to the given column sort status, as if the column header is pressed in the browser.
- sortByColumn(int, SortDirection) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Sorts the grid by the given column and sort direction, as if the column header is pressed in the browser until the requested direction is reached.
- sortByColumn(int, SortDirection) - Method in class com.vaadin.flow.component.grid.GridTester
-
Sorts the grid by the given column and sort direction, as if the column header is pressed in the browser until the requested direction is reached.
- sortByColumn(int, SortDirection) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Sorts the grid by the given column and sort direction, as if the column header is pressed in the browser until the requested direction is reached.
- sortByColumn(int, SortDirection) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Sorts the grid by the given column and sort direction, as if the column header is pressed in the browser until the requested direction is reached.
- sortByColumn(String) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Sorts the grid according to sort status ot the column identified by the given property, as if the column header is pressed in the browser.
- sortByColumn(String) - Method in class com.vaadin.flow.component.grid.GridTester
-
Sorts the grid according to sort status ot the column identified by the given property, as if the column header is pressed in the browser.
- sortByColumn(String) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Sorts the grid according to sort status ot the column identified by the given property, as if the column header is pressed in the browser.
- sortByColumn(String) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Sorts the grid according to sort status ot the column identified by the given property, as if the column header is pressed in the browser.
- sortByColumn(String, SortDirection) - Method in class com.vaadin.flow.component.grid.GridLocator
-
Sorts the grid by the given column and sort direction, as if the column header is pressed in the browser until the requested direction is reached.
- sortByColumn(String, SortDirection) - Method in class com.vaadin.flow.component.grid.GridTester
-
Sorts the grid by the given column and sort direction, as if the column header is pressed in the browser until the requested direction is reached.
- sortByColumn(String, SortDirection) - Method in class com.vaadin.flow.component.gridpro.GridProLocator
-
Sorts the grid by the given column and sort direction, as if the column header is pressed in the browser until the requested direction is reached.
- sortByColumn(String, SortDirection) - Method in class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Sorts the grid by the given column and sort direction, as if the column header is pressed in the browser until the requested direction is reached.
- SpanLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
Span, derived fromSpanTester. - SpanLocator() - Constructor for class com.vaadin.flow.component.html.SpanLocator
-
Creates a locator that searches for a
Span. - SpanLocator(Span) - Constructor for class com.vaadin.flow.component.html.SpanLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- SpanTester - Class in com.vaadin.flow.component.html
-
Tester for Span components.
- SpanTester(Span) - Constructor for class com.vaadin.flow.component.html.SpanTester
-
Wrap given component for testing.
- splitByWhitespaces(String) - Static method in class com.vaadin.browserless.internal.Utils
-
Splits given string by whitespaces, omitting blank parts.
- SplitLayoutLocator - Class in com.vaadin.flow.component.splitlayout
-
Generated locator for
SplitLayout, derived fromSplitLayoutTester. - SplitLayoutLocator() - Constructor for class com.vaadin.flow.component.splitlayout.SplitLayoutLocator
-
Creates a locator that searches for a
SplitLayout. - SplitLayoutLocator(SplitLayout) - Constructor for class com.vaadin.flow.component.splitlayout.SplitLayoutLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- SplitLayoutTester<T> - Class in com.vaadin.flow.component.splitlayout
-
Tester for SplitLayout components.
- SplitLayoutTester(T) - Constructor for class com.vaadin.flow.component.splitlayout.SplitLayoutTester
-
Wrap given component for testing.
- startAsync() - Method in class com.vaadin.browserless.mocks.MockRequest
- startAsync(ServletRequest, ServletResponse) - Method in class com.vaadin.browserless.mocks.MockRequest
- startUpload(int) - Method in class com.vaadin.flow.component.upload.UploadFileListLocator
-
Simulates the user clicking the start button of the file at the given position of the list, which waits because
auto uploadis turned off, uploading it. - startUpload(int) - Method in class com.vaadin.flow.component.upload.UploadFileListTester
-
Simulates the user clicking the start button of the file at the given position of the list, which waits because
auto uploadis turned off, uploading it. - startUpload(int) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Simulates the user clicking the start button of the file at the given position of the upload file list, which waits because
auto uploadis turned off, uploading it. - startUpload(int) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Simulates the user clicking the start button of the file at the given position of the upload file list, which waits because
auto uploadis turned off, uploading it. - startUpload(File) - Method in class com.vaadin.flow.component.upload.UploadFileListLocator
-
Simulates the user clicking the start button of a file that waits in the list because
auto uploadis turned off, uploading it. - startUpload(File) - Method in class com.vaadin.flow.component.upload.UploadFileListTester
-
Simulates the user clicking the start button of a file that waits in the list because
auto uploadis turned off, uploading it. - startUpload(File) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Simulates the user clicking the start button of a file that waits in the upload file list because
auto uploadis turned off, uploading it. - startUpload(File) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Simulates the user clicking the start button of a file that waits in the upload file list because
auto uploadis turned off, uploading it. - startUpload(String) - Method in class com.vaadin.flow.component.upload.UploadFileListLocator
-
Simulates the user clicking the start button of a file that waits in the list because
auto uploadis turned off, uploading it. - startUpload(String) - Method in class com.vaadin.flow.component.upload.UploadFileListTester
-
Simulates the user clicking the start button of a file that waits in the list because
auto uploadis turned off, uploading it. - startUpload(String) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Simulates the user clicking the start button of a file that waits in the upload file list because
auto uploadis turned off, uploading it. - startUpload(String) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Simulates the user clicking the start button of a file that waits in the upload file list because
auto uploadis turned off, uploading it. - status() - Method in record class com.vaadin.flow.component.upload.UploadTester.FileStatus
-
Returns the value of the
statusrecord component. - stepDown() - Method in class com.vaadin.flow.component.textfield.IntegerFieldLocator
-
Simulates the user clicking the step down button once.
- stepDown() - Method in class com.vaadin.flow.component.textfield.NumberFieldLocator
-
Simulates the user clicking the step down button once.
- stepDown() - Method in class com.vaadin.flow.component.textfield.NumberFieldTester
-
Simulates the user clicking the step down button once.
- stepDown(int) - Method in class com.vaadin.flow.component.textfield.IntegerFieldLocator
-
Simulates the user clicking the step down button the given number of times.
- stepDown(int) - Method in class com.vaadin.flow.component.textfield.NumberFieldLocator
-
Simulates the user clicking the step down button the given number of times.
- stepDown(int) - Method in class com.vaadin.flow.component.textfield.NumberFieldTester
-
Simulates the user clicking the step down button the given number of times.
- stepUp() - Method in class com.vaadin.flow.component.textfield.IntegerFieldLocator
-
Simulates the user clicking the step up button once.
- stepUp() - Method in class com.vaadin.flow.component.textfield.NumberFieldLocator
-
Simulates the user clicking the step up button once.
- stepUp() - Method in class com.vaadin.flow.component.textfield.NumberFieldTester
-
Simulates the user clicking the step up button once.
- stepUp(int) - Method in class com.vaadin.flow.component.textfield.IntegerFieldLocator
-
Simulates the user clicking the step up button the given number of times.
- stepUp(int) - Method in class com.vaadin.flow.component.textfield.NumberFieldLocator
-
Simulates the user clicking the step up button the given number of times.
- stepUp(int) - Method in class com.vaadin.flow.component.textfield.NumberFieldTester
-
Simulates the user clicking the step up button the given number of times.
- stop() - Method in class com.vaadin.browserless.ExecutedJavaScript
-
Stops capturing, after first sending whatever is still pending.
- SwitchLocator - Class in com.vaadin.flow.component.checkbox
-
Generated locator for
Switch, derived fromSwitchTester. - SwitchLocator() - Constructor for class com.vaadin.flow.component.checkbox.SwitchLocator
-
Creates a locator that searches for a
Switch. - SwitchLocator(Switch) - Constructor for class com.vaadin.flow.component.checkbox.SwitchLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- switchOff() - Method in class com.vaadin.flow.component.checkbox.SwitchLocator
-
Switches the switch off by clicking it, as a user would.
- switchOff() - Method in class com.vaadin.flow.component.checkbox.SwitchTester
-
Switches the switch off by clicking it, as a user would.
- switchOn() - Method in class com.vaadin.flow.component.checkbox.SwitchLocator
-
Switches the switch on by clicking it, as a user would.
- switchOn() - Method in class com.vaadin.flow.component.checkbox.SwitchTester
-
Switches the switch on by clicking it, as a user would.
- SwitchTester<T> - Class in com.vaadin.flow.component.checkbox
-
Tester for Switch components.
- SwitchTester(T) - Constructor for class com.vaadin.flow.component.checkbox.SwitchTester
-
Wrap given component for testing.
T
- TabSheetLocator - Class in com.vaadin.flow.component.tabs
-
Generated locator for
TabSheet, derived fromTabSheetTester. - TabSheetLocator() - Constructor for class com.vaadin.flow.component.tabs.TabSheetLocator
-
Creates a locator that searches for a
TabSheet. - TabSheetLocator(TabSheet) - Constructor for class com.vaadin.flow.component.tabs.TabSheetLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- TabSheetTester<T> - Class in com.vaadin.flow.component.tabs
-
Tester for TabSheet component.
- TabSheetTester(T) - Constructor for class com.vaadin.flow.component.tabs.TabSheetTester
-
Wrap given component for testing.
- TabsLocator - Class in com.vaadin.flow.component.tabs
-
Generated locator for
Tabs, derived fromTabsTester. - TabsLocator() - Constructor for class com.vaadin.flow.component.tabs.TabsLocator
-
Creates a locator that searches for a
Tabs. - TabsLocator(Tabs) - Constructor for class com.vaadin.flow.component.tabs.TabsLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- TabsTester<T> - Class in com.vaadin.flow.component.tabs
-
Tester for Tabs components.
- TabsTester(T) - Constructor for class com.vaadin.flow.component.tabs.TabsTester
-
Wrap given component for testing.
- TARGET_COLUMN_ID_PROPERTY - Static variable in class com.vaadin.browserless.internal.GridContextMenuSupport
-
Grid element property holding the internal id of the column the context menu was opened on.
- TARGET_ITEM_KEY_PROPERTY - Static variable in class com.vaadin.browserless.internal.GridContextMenuSupport
-
Grid element property holding the key of the row the context menu was opened on.
- tearDown() - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Cleans up and removes the Vaadin UI and Vaadin Session.
- test(Accordion) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(AvatarGroup) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Breadcrumbs) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Button) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Card) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Chart) - Method in interface com.vaadin.browserless.CommercialTesterWrappers
-
Create a tester for the given Chart instance.
- test(Checkbox) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(CheckboxGroup<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(CheckboxGroup, Class<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Switch) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(ComboBox<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(ComboBox, Class<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(MultiSelectComboBox<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(MultiSelectComboBox, Class<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(ConfirmDialog) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(ContextMenu) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Dashboard) - Method in interface com.vaadin.browserless.CommercialTesterWrappers
-
Create a tester for the given Dashboard instance.
- test(DatePicker) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(DateTimePicker) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Details) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Dialog) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(GridContextMenu<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Create a tester for the given GridContextMenu instance.
- test(Grid<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Grid, Class<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(GridPro<V>) - Method in interface com.vaadin.browserless.CommercialTesterWrappers
-
Create a tester for the given GridPro instance.
- test(GridPro, Class<V>) - Method in interface com.vaadin.browserless.CommercialTesterWrappers
-
Create a tester for the given GridPro instance.
- test(Anchor) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(DescriptionList) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Div) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Emphasis) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(H1) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(H2) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(H3) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(H4) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(H5) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(H6) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Hr) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Image) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Input) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(ListItem) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(NativeButton) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(NativeDetails) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(NativeLabel) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(OrderedList) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Paragraph) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Pre) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(RangeInput) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Span) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(UnorderedList) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(ListBox<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(MultiSelectListBox<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(MultiSelectListBox, Class<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(LoginForm) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(LoginOverlay) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Markdown) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(MasterDetailLayout) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(MessageInput) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(MessageList) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Notification) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Popover) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(RadioButtonGroup<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(RadioButtonGroup, Class<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Select<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Select, Class<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(SideNav) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(DecimalRangeSlider) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(DecimalSlider) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(IntegerRangeSlider) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(IntegerSlider) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(SplitLayout) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Tabs) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(TabSheet) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Text) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(BigDecimalField) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(EmailField) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(IntegerField) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(NumberField) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(PasswordField) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(TextArea) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(TextField) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(TimePicker) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(TreeGrid<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Create a tester for the given TreeGrid instance.
- test(TreeGrid, Class<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Create a tester for the given TreeGrid instance.
- test(Upload) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(UploadButton) - Method in interface com.vaadin.browserless.TesterWrappers
-
Create a tester for the given UploadButton instance.
- test(UploadDropZone) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(UploadFileList) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(VirtualList<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(VirtualList, Class<V>) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(RouterLink) - Method in interface com.vaadin.browserless.TesterWrappers
-
Wraps the given component in a tester.
- test(Class<T>, Y) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Wrap component in given ComponentTester.
- test(Class<T>, Y) - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Wraps a component in the given
ComponentTester. - test(Y) - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Wrap component with ComponentTester best matching component type.
- test(Y) - Method in class com.vaadin.browserless.BrowserlessUIContext
-
Wraps a component with the best matching
ComponentTester. - testConfiguration() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Gets the custom Vaadin configuration, such as application properties and feature flags, to apply to the mock Vaadin environment.
- TesterWrappers - Interface in com.vaadin.browserless
-
Wrapper methods that hand out a tester for a component instance, mixed into the test base classes so a test can write
test(component). - testId(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Executes a search for a component with the given
data-testidattribute, as set byComponent.setTestId(String). - testingEngine() - Method in class com.vaadin.browserless.BaseBrowserlessTest
-
Gets the name of the Test Engine that is able to run the base class implementation.
- TestingLifecycleHook - Interface in com.vaadin.browserless.internal
-
If you need to hook into the testing lifecycle (e.g. you need to wait for any async operations to finish), provide your own custom implementation of this interface, then set it via
TestingLifecycleHooks.setTestingLifecycleHook(TestingLifecycleHook). - TestingLifecycleHooks - Class in com.vaadin.browserless.internal
-
Holds the current
TestingLifecycleHookand the dialog clean-up. - Tests - Annotation Interface in com.vaadin.browserless
-
Wrapper annotation for indicating which components a wrapper implementation supports.
- TestSignalEnvironment - Class in com.vaadin.browserless
-
Test-only
SignalEnvironmentthat records submitted tasks instead of executing them asynchronously. - TestSignalEnvironment() - Constructor for class com.vaadin.browserless.TestSignalEnvironment
-
Creates the environment; use
TestSignalEnvironment.register()instead. - TextAreaLocator - Class in com.vaadin.flow.component.textfield
-
Generated locator for
TextArea, derived fromTextAreaTester. - TextAreaLocator() - Constructor for class com.vaadin.flow.component.textfield.TextAreaLocator
-
Creates a locator that searches for a
TextArea. - TextAreaLocator(TextArea) - Constructor for class com.vaadin.flow.component.textfield.TextAreaLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- TextAreaTester<T> - Class in com.vaadin.flow.component.textfield
-
Tester for TextArea components.
- TextAreaTester(T) - Constructor for class com.vaadin.flow.component.textfield.TextAreaTester
-
Wrap given component for testing.
- TextFieldLocator - Class in com.vaadin.flow.component.textfield
-
Generated locator for
TextField, derived fromTextFieldTester. - TextFieldLocator() - Constructor for class com.vaadin.flow.component.textfield.TextFieldLocator
-
Creates a locator that searches for a
TextField. - TextFieldLocator(TextField) - Constructor for class com.vaadin.flow.component.textfield.TextFieldLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- TextFieldTester<T,
V> - Class in com.vaadin.flow.component.textfield -
Tester for TextField components.
- TextFieldTester(T) - Constructor for class com.vaadin.flow.component.textfield.TextFieldTester
-
Wrap given component for testing.
- TextLocator - Class in com.vaadin.flow.component
-
Generated locator for
Text, derived fromTextTester. - TextLocator() - Constructor for class com.vaadin.flow.component.TextLocator
-
Creates a locator that searches for a
Text. - TextLocator(Text) - Constructor for class com.vaadin.flow.component.TextLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- TextTester<T> - Class in com.vaadin.flow.component
-
Tester for Text components.
- TextTester(T) - Constructor for class com.vaadin.flow.component.TextTester
-
Wrap given component for testing.
- thenOn(int, Class<E>) - Method in class com.vaadin.browserless.ComponentQuery
-
Gets a new
ComponentQueryto search for given component type on the context of the matching component at given index for current query. - thenOnFirst(Class<E>) - Method in class com.vaadin.browserless.ComponentQuery
-
Gets a new
ComponentQueryto search for given component type on the context of first matching component for current query. - TimePickerLocator - Class in com.vaadin.flow.component.timepicker
-
Generated locator for
TimePicker, derived fromTimePickerTester. - TimePickerLocator() - Constructor for class com.vaadin.flow.component.timepicker.TimePickerLocator
-
Creates a locator that searches for a
TimePicker. - TimePickerLocator(TimePicker) - Constructor for class com.vaadin.flow.component.timepicker.TimePickerLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- TimePickerTester<T> - Class in com.vaadin.flow.component.timepicker
-
Tester for TimePicker components.
- TimePickerTester(T) - Constructor for class com.vaadin.flow.component.timepicker.TimePickerTester
-
Wrap given component for testing.
- toggle() - Method in class com.vaadin.flow.component.sidenav.SideNavLocator
-
Simulates a click on the SideNav toggle button, expanding or collapsing item list.
- toggle() - Method in class com.vaadin.flow.component.sidenav.SideNavTester
-
Simulates a click on the SideNav toggle button, expanding or collapsing item list.
- toggleContent() - Method in class com.vaadin.flow.component.html.NativeDetailsLocator
-
Toggle the open state of the component.
- toggleContent() - Method in class com.vaadin.flow.component.html.NativeDetailsTester
-
Toggle the open state of the component.
- toggleDetails() - Method in class com.vaadin.flow.component.details.DetailsLocator
-
Toggles details visibility, as if the summary is clicked on the browser.
- toggleDetails() - Method in class com.vaadin.flow.component.details.DetailsTester
-
Toggles details visibility, as if the summary is clicked on the browser.
- toggleDetails(String) - Method in class com.vaadin.flow.component.accordion.AccordionLocator
-
Toggle the accordion panel with the given summary, as if the user clicked its summary.
- toggleDetails(String) - Method in class com.vaadin.flow.component.accordion.AccordionTester
-
Toggle the accordion panel with the given summary, as if the user clicked its summary.
- toggleItem(String, String...) - Method in class com.vaadin.flow.component.sidenav.SideNavLocator
-
Simulates a click on the item that matches the given label.
- toggleItem(String, String...) - Method in class com.vaadin.flow.component.sidenav.SideNavTester
-
Simulates a click on the item that matches the given label.
- toPredicate() - Method in class com.vaadin.browserless.internal.SearchSpec
-
Returns a predicate which matches components based on this spec.
- toPrettyString(Component) - Static method in class com.vaadin.browserless.internal.PrettyPrintTree
-
Returns the most basic properties of the component, formatted as a concise string: The component class The
Component.getId()Whether the component isComponent.isVisible()Whether it is aHasValuethat is read-only the styles The label and text TheHasValue.getValue() - toPrettyTree(Component) - Static method in class com.vaadin.browserless.internal.PrettyPrintTree
-
Returns a pretty-printed tree of the given component and its descendants.
- toString() - Method in class com.vaadin.browserless.BrowserlessConfiguration
- toString() - Method in class com.vaadin.browserless.ExecutedJavaScript.Execution
- toString() - Method in class com.vaadin.browserless.internal.CountRange
-
Formats the range as
start..endInclusive, e.g. - toString() - Method in class com.vaadin.browserless.internal.Routes
- toString() - Method in class com.vaadin.browserless.internal.SearchSpec
- toString() - Method in class com.vaadin.browserless.internal.SessionObjects
- toString() - Method in class com.vaadin.browserless.mocks.MockHttpSession
- toString() - Method in record class com.vaadin.flow.component.upload.UploadTester.FileStatus
-
Returns a string representation of this record class.
- TreeGridLocator<Y> - Class in com.vaadin.flow.component.treegrid
-
Generated locator for
TreeGrid, derived fromTreeGridTester. - TreeGridLocator(TreeGrid<Y>) - Constructor for class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- TreeGridLocator(Class<Y>) - Constructor for class com.vaadin.flow.component.treegrid.TreeGridLocator
-
Creates a locator that searches for a
TreeGrid. - TreeGridTester<T,
Y> - Class in com.vaadin.flow.component.treegrid -
Tester for TreeGrid components.
- TreeGridTester(T) - Constructor for class com.vaadin.flow.component.treegrid.TreeGridTester
-
Wrap tree grid for testing.
U
- UIFactory - Interface in com.vaadin.browserless.internal
-
Creates the
UIof a Vaadin session. - uncheck() - Method in class com.vaadin.flow.component.checkbox.CheckboxLocator
-
Unchecks the checkbox by clicking it, as a user would.
- uncheck() - Method in class com.vaadin.flow.component.checkbox.CheckboxTester
-
Unchecks the checkbox by clicking it, as a user would.
- unlockRunningUIQueue(VaadinSession) - Static method in class com.vaadin.browserless.internal.MockVaadin
-
Internal function, do not call directly.
- UnorderedListLocator - Class in com.vaadin.flow.component.html
-
Generated locator for
UnorderedList, derived fromUnorderedListTester. - UnorderedListLocator() - Constructor for class com.vaadin.flow.component.html.UnorderedListLocator
-
Creates a locator that searches for a
UnorderedList. - UnorderedListLocator(UnorderedList) - Constructor for class com.vaadin.flow.component.html.UnorderedListLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- UnorderedListTester - Class in com.vaadin.flow.component.html
-
Tester for UnorderedList components.
- UnorderedListTester(UnorderedList) - Constructor for class com.vaadin.flow.component.html.UnorderedListTester
-
Wrap given component for testing.
- unregister() - Method in class com.vaadin.browserless.TestSignalEnvironment
-
Runs the tasks that are still pending on the calling thread, and then unregisters this test environment if it was registered.
- updateServices(Set<Class<?>>) - Method in class com.vaadin.browserless.mocks.MockVaadinHelper.BrowserlessLookupInitializer
-
Adds the default implementation of every
MockVaadinHelper.BrowserlessLookupInitializer.additionalServicesentry the caller has not already covered. - upgrade(Class<T>) - Method in class com.vaadin.browserless.mocks.MockRequest
- upload(File) - Method in class com.vaadin.flow.component.upload.UploadButtonLocator
-
Simulates the user picking the given file in the file dialog.
- upload(File) - Method in class com.vaadin.flow.component.upload.UploadButtonTester
-
Simulates the user picking the given file in the file dialog.
- upload(File) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Send the file data to the Upload component as if it is uploaded in the browser.
- upload(File) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Send the file data to the Upload component as if it is uploaded in the browser.
- upload(String, String, byte[]) - Method in class com.vaadin.flow.component.upload.UploadButtonLocator
-
Simulates the user picking a file with the given name, content type and contents in the file dialog.
- upload(String, String, byte[]) - Method in class com.vaadin.flow.component.upload.UploadButtonTester
-
Simulates the user picking a file with the given name, content type and contents in the file dialog.
- upload(String, String, byte[]) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Send the file data to the Upload component as if it is uploaded in the browser.
- upload(String, String, byte[]) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Send the file data to the Upload component as if it is uploaded in the browser.
- upload(String, String, InputStream) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Send the file data to the Upload component as if it is uploaded in the browser.
- upload(String, String, InputStream) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Send the file data to the Upload component as if it is uploaded in the browser.
- uploadAborted(File) - Method in class com.vaadin.flow.component.upload.UploadButtonLocator
-
Simulates the user picking the given file in the file dialog and then aborting its upload.
- uploadAborted(File) - Method in class com.vaadin.flow.component.upload.UploadButtonTester
-
Simulates the user picking the given file in the file dialog and then aborting its upload.
- uploadAborted(File) - Method in class com.vaadin.flow.component.upload.UploadDropZoneLocator
-
Simulates the user dropping the given file on the drop zone and then aborting its upload.
- uploadAborted(File) - Method in class com.vaadin.flow.component.upload.UploadDropZoneTester
-
Simulates the user dropping the given file on the drop zone and then aborting its upload.
- uploadAborted(File) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Simulates upload interruption by user on browser.
- uploadAborted(File) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Simulates upload interruption by user on browser.
- uploadAborted(String, String) - Method in class com.vaadin.flow.component.upload.UploadButtonLocator
-
Simulates the user picking a file with the given name and content type in the file dialog and then aborting its upload.
- uploadAborted(String, String) - Method in class com.vaadin.flow.component.upload.UploadButtonTester
-
Simulates the user picking a file with the given name and content type in the file dialog and then aborting its upload.
- uploadAborted(String, String) - Method in class com.vaadin.flow.component.upload.UploadDropZoneLocator
-
Simulates the user dropping a file with the given name and content type on the drop zone and then aborting its upload.
- uploadAborted(String, String) - Method in class com.vaadin.flow.component.upload.UploadDropZoneTester
-
Simulates the user dropping a file with the given name and content type on the drop zone and then aborting its upload.
- uploadAborted(String, String) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Simulates upload interruption by user on browser.
- uploadAborted(String, String) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Simulates upload interruption by user on browser.
- uploadAll(File...) - Method in class com.vaadin.flow.component.upload.UploadButtonLocator
-
Simulates the user picking several files at once in the file dialog.
- uploadAll(File...) - Method in class com.vaadin.flow.component.upload.UploadButtonTester
-
Simulates the user picking several files at once in the file dialog.
- uploadAll(File...) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Simulates uploading multiple files at once.
- uploadAll(File...) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Simulates uploading multiple files at once.
- uploadAll(Collection<File>) - Method in class com.vaadin.flow.component.upload.UploadButtonLocator
-
Simulates the user picking several files at once in the file dialog.
- uploadAll(Collection<File>) - Method in class com.vaadin.flow.component.upload.UploadButtonTester
-
Simulates the user picking several files at once in the file dialog.
- uploadAll(Collection<File>) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Simulates uploading multiple files at once.
- uploadAll(Collection<File>) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Simulates uploading multiple files at once.
- UploadButtonLocator - Class in com.vaadin.flow.component.upload
-
Generated locator for
UploadButton, derived fromUploadButtonTester. - UploadButtonLocator() - Constructor for class com.vaadin.flow.component.upload.UploadButtonLocator
-
Creates a locator that searches for a
UploadButton. - UploadButtonLocator(UploadButton) - Constructor for class com.vaadin.flow.component.upload.UploadButtonLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- UploadButtonTester<T> - Class in com.vaadin.flow.component.upload
-
Tester for UploadButton components.
- UploadButtonTester(T) - Constructor for class com.vaadin.flow.component.upload.UploadButtonTester
-
Wrap given component for testing.
- UploadDropZoneLocator - Class in com.vaadin.flow.component.upload
-
Generated locator for
UploadDropZone, derived fromUploadDropZoneTester. - UploadDropZoneLocator() - Constructor for class com.vaadin.flow.component.upload.UploadDropZoneLocator
-
Creates a locator that searches for a
UploadDropZone. - UploadDropZoneLocator(UploadDropZone) - Constructor for class com.vaadin.flow.component.upload.UploadDropZoneLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- UploadDropZoneTester<T> - Class in com.vaadin.flow.component.upload
-
Tester for UploadDropZone components.
- UploadDropZoneTester(T) - Constructor for class com.vaadin.flow.component.upload.UploadDropZoneTester
-
Wrap given component for testing.
- UPLOADED - Enum constant in enum class com.vaadin.flow.component.upload.UploadTester.UploadStatus
-
The file was consumed by the upload handler or receiver.
- uploadFailed(File) - Method in class com.vaadin.flow.component.upload.UploadButtonLocator
-
Simulates the user picking the given file in the file dialog and its upload then failing.
- uploadFailed(File) - Method in class com.vaadin.flow.component.upload.UploadButtonTester
-
Simulates the user picking the given file in the file dialog and its upload then failing.
- uploadFailed(File) - Method in class com.vaadin.flow.component.upload.UploadDropZoneLocator
-
Simulates the user dropping the given file on the drop zone and its upload then failing.
- uploadFailed(File) - Method in class com.vaadin.flow.component.upload.UploadDropZoneTester
-
Simulates the user dropping the given file on the drop zone and its upload then failing.
- uploadFailed(File) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Simulates a failure during file upload.
- uploadFailed(File) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Simulates a failure during file upload.
- uploadFailed(String, String) - Method in class com.vaadin.flow.component.upload.UploadButtonLocator
-
Simulates the user picking a file with the given name and content type in the file dialog and its upload then failing.
- uploadFailed(String, String) - Method in class com.vaadin.flow.component.upload.UploadButtonTester
-
Simulates the user picking a file with the given name and content type in the file dialog and its upload then failing.
- uploadFailed(String, String) - Method in class com.vaadin.flow.component.upload.UploadDropZoneLocator
-
Simulates the user dropping a file with the given name and content type on the drop zone and its upload then failing.
- uploadFailed(String, String) - Method in class com.vaadin.flow.component.upload.UploadDropZoneTester
-
Simulates the user dropping a file with the given name and content type on the drop zone and its upload then failing.
- uploadFailed(String, String) - Method in class com.vaadin.flow.component.upload.UploadLocator
-
Simulates a failure during file upload.
- uploadFailed(String, String) - Method in class com.vaadin.flow.component.upload.UploadTester
-
Simulates a failure during file upload.
- UploadFileListLocator - Class in com.vaadin.flow.component.upload
-
Generated locator for
UploadFileList, derived fromUploadFileListTester. - UploadFileListLocator() - Constructor for class com.vaadin.flow.component.upload.UploadFileListLocator
-
Creates a locator that searches for a
UploadFileList. - UploadFileListLocator(UploadFileList) - Constructor for class com.vaadin.flow.component.upload.UploadFileListLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- UploadFileListTester<T> - Class in com.vaadin.flow.component.upload
-
Tester for UploadFileList components.
- UploadFileListTester(T) - Constructor for class com.vaadin.flow.component.upload.UploadFileListTester
-
Wrap given component for testing.
- UploadLocator - Class in com.vaadin.flow.component.upload
-
Generated locator for
Upload, derived fromUploadTester. - UploadLocator() - Constructor for class com.vaadin.flow.component.upload.UploadLocator
-
Creates a locator that searches for a
Upload. - UploadLocator(Upload) - Constructor for class com.vaadin.flow.component.upload.UploadLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- UploadTester<T> - Class in com.vaadin.flow.component.upload
-
Tester for Upload components.
- UploadTester(T) - Constructor for class com.vaadin.flow.component.upload.UploadTester
-
Wrap given component for testing.
- UploadTester.FileStatus - Record Class in com.vaadin.flow.component.upload
-
Outcome of a single file of an upload simulated by the tester.
- UploadTester.UploadStatus - Enum Class in com.vaadin.flow.component.upload
-
What became of a file handed to the tester for uploading.
- use(Accordion) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Accordioninstance. - use(AvatarGroup) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
AvatarGroupinstance. - use(Breadcrumbs) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Breadcrumbsinstance. - use(Button) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Buttoninstance. - use(Card) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Cardinstance. - use(Chart) - Method in interface com.vaadin.browserless.locator.GeneratedCommercialLocators
-
Returns a locator seeded with the given
Chartinstance. - use(Checkbox) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Checkboxinstance. - use(CheckboxGroup<V>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
CheckboxGroupinstance. - use(Switch) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Switchinstance. - use(ComboBox<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
ComboBoxinstance. - use(MultiSelectComboBox<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
MultiSelectComboBoxinstance. - use(ConfirmDialog) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
ConfirmDialoginstance. - use(ContextMenu) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
ContextMenuinstance. - use(Dashboard) - Method in interface com.vaadin.browserless.locator.GeneratedCommercialLocators
-
Returns a locator seeded with the given
Dashboardinstance. - use(DatePicker) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
DatePickerinstance. - use(DateTimePicker) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
DateTimePickerinstance. - use(Details) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Detailsinstance. - use(Dialog) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Dialoginstance. - use(GridContextMenu<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
GridContextMenuinstance. - use(Grid<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Gridinstance. - use(GridPro<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedCommercialLocators
-
Returns a locator seeded with the given
GridProinstance. - use(Anchor) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Anchorinstance. - use(DescriptionList) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
DescriptionListinstance. - use(Div) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Divinstance. - use(Emphasis) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Emphasisinstance. - use(H1) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
H1instance. - use(H2) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
H2instance. - use(H3) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
H3instance. - use(H4) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
H4instance. - use(H5) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
H5instance. - use(H6) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
H6instance. - use(Hr) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Hrinstance. - use(Image) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Imageinstance. - use(Input) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Inputinstance. - use(ListItem) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
ListIteminstance. - use(NativeButton) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
NativeButtoninstance. - use(NativeDetails) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
NativeDetailsinstance. - use(NativeLabel) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
NativeLabelinstance. - use(OrderedList) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
OrderedListinstance. - use(Paragraph) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Paragraphinstance. - use(Pre) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Preinstance. - use(RangeInput) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
RangeInputinstance. - use(Span) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Spaninstance. - use(UnorderedList) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
UnorderedListinstance. - use(ListBox<V>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
ListBoxinstance. - use(MultiSelectListBox<V>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
MultiSelectListBoxinstance. - use(LoginForm) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
LoginForminstance. - use(LoginOverlay) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
LoginOverlayinstance. - use(Markdown) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Markdowninstance. - use(MasterDetailLayout) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
MasterDetailLayoutinstance. - use(MenuBar) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
MenuBarinstance. - use(MessageInput) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
MessageInputinstance. - use(MessageList) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
MessageListinstance. - use(Notification) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Notificationinstance. - use(Popover) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Popoverinstance. - use(RadioButtonGroup<V>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
RadioButtonGroupinstance. - use(Select<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Selectinstance. - use(SideNav) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
SideNavinstance. - use(DecimalRangeSlider) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
DecimalRangeSliderinstance. - use(DecimalSlider) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
DecimalSliderinstance. - use(IntegerRangeSlider) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
IntegerRangeSliderinstance. - use(IntegerSlider) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
IntegerSliderinstance. - use(SplitLayout) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
SplitLayoutinstance. - use(Tabs) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Tabsinstance. - use(TabSheet) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
TabSheetinstance. - use(Text) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Textinstance. - use(BigDecimalField) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
BigDecimalFieldinstance. - use(EmailField) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
EmailFieldinstance. - use(IntegerField) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
IntegerFieldinstance. - use(NumberField) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
NumberFieldinstance. - use(PasswordField) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
PasswordFieldinstance. - use(TextArea) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
TextAreainstance. - use(TextField) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
TextFieldinstance. - use(TimePicker) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
TimePickerinstance. - use(TreeGrid<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
TreeGridinstance. - use(Upload) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
Uploadinstance. - use(UploadButton) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
UploadButtoninstance. - use(UploadDropZone) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
UploadDropZoneinstance. - use(UploadFileList) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
UploadFileListinstance. - use(VirtualList<Y>) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
VirtualListinstance. - use(RouterLink) - Method in interface com.vaadin.browserless.locator.GeneratedLocators
-
Returns a locator seeded with the given
RouterLinkinstance. - Utils - Class in com.vaadin.browserless.internal
-
General-purpose utilities: serialization, string helpers, class lookup and accessors for the current request, response and UI.
V
- value() - Element in annotation interface com.vaadin.browserless.ComponentTesterPackages
-
Array of packages to scan for
ComponentTesterimplementations. - value() - Element in annotation interface com.vaadin.browserless.Tests
-
Array of the classes that is wrapped by the annotated
ComponentTester - valueOf(String) - Static method in enum class com.vaadin.browserless.MouseButton
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.vaadin.flow.component.upload.UploadTester.UploadStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.vaadin.browserless.MouseButton
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.vaadin.flow.component.upload.UploadTester.UploadStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- ViewPackages - Annotation Interface in com.vaadin.browserless
-
Annotation to use to scan given packages for routes and error views.
- VirtualListLocator<Y> - Class in com.vaadin.flow.component.virtuallist
-
Generated locator for
VirtualList, derived fromVirtualListTester. - VirtualListLocator(VirtualList<Y>) - Constructor for class com.vaadin.flow.component.virtuallist.VirtualListLocator
-
Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
- VirtualListLocator(Class<Y>) - Constructor for class com.vaadin.flow.component.virtuallist.VirtualListLocator
-
Creates a locator that searches for a
VirtualList. - VirtualListTester<T,
Y> - Class in com.vaadin.flow.component.virtuallist -
Tester for VirtualList components.
- VirtualListTester(T) - Constructor for class com.vaadin.flow.component.virtuallist.VirtualListTester
-
Wrap given component for testing.
- visibleSubMenuTexts(List<I>, String, String...) - Static method in class com.vaadin.browserless.internal.MenuItemNavigation
-
Gets the texts of the visible items of the sub menu of the item addressed by the given text path.
- visibleTexts(List<? extends MenuItemBase<?, ?, ?>>) - Static method in class com.vaadin.browserless.internal.MenuItemNavigation
-
Gets the texts of the given menu items as the browser shows them, i.e.
W
- walk(Component) - Static method in class com.vaadin.browserless.internal.DepthFirstTreeIterator
-
Walks the component child tree, depth-first: first the component, then its descendants, then its next sibling.
- with(UnaryOperator<ComponentQuery<C>>) - Method in class com.vaadin.browserless.locator.Locator
-
Escape hatch for filters not directly exposed on Locator.
- withApplicationProperties(Map<String, String>) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Sets Vaadin application properties (init parameters) for this application.
- withApplicationProperties(Map<String, String>) - Method in class com.vaadin.browserless.BrowserlessConfiguration.Builder
-
Sets Vaadin application properties (init parameters) to apply to the mock Vaadin environment.
- withApplicationProperties(Map<String, String>) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder. - withApplicationProperty(String, String) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Sets a Vaadin application property (init parameter) for this application.
- withApplicationProperty(String, String) - Method in class com.vaadin.browserless.BrowserlessConfiguration.Builder
-
Sets a Vaadin application property (init parameter) to apply to the mock Vaadin environment.
- withApplicationProperty(String, String) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder. - withAriaLabel(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the component's
aria-labelattribute to be exactly the given value. - withAriaLabel(String) - Method in interface com.vaadin.browserless.locator.HasAriaLabelFilter
-
Requires the matched component's
aria-labelattribute to be exactly the given value. - withAriaLabelContaining(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the component's
aria-labelattribute to contain the given text. - withAriaLabelContaining(String) - Method in interface com.vaadin.browserless.locator.HasAriaLabelFilter
-
Requires the matched component's
aria-labelattribute to contain the given text. - withAttribute(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the search to find components with the given attribute set, independently of its value.
- withAttribute(String) - Method in class com.vaadin.browserless.locator.Locator
-
Requires the matched component to have the given attribute set.
- withAttribute(String, String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the search to find components having the given attribute with exactly the expected value.
- withAttribute(String, String) - Method in class com.vaadin.browserless.locator.Locator
-
Requires the matched component to have the given attribute with the expected value.
- withCaption(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the component to have a caption equal to the given text Concept of caption vary based on the component type.
- withCaptionContaining(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the component to have a caption containing the given text Concept of caption vary based on the component type.
- withClassName(String...) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the components to have all the given CSS class names
- withClassName(String...) - Method in class com.vaadin.browserless.locator.Locator
-
Requires the matched component to have all the given CSS class names.
- withCloseHook(Runnable) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Registers a hook to be invoked when the built application context is closed.
- withCloseHook(Runnable) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder. - withComponentTesterPackages(Class<?>...) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Adds the packages of the given classes to the set of packages to scan for
ComponentTesterimplementations annotated withTests. - withComponentTesterPackages(Class<?>...) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder. - withComponentTesterPackages(String...) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Adds packages to scan for
ComponentTesterimplementations annotated withTests. - withComponentTesterPackages(String...) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder. - withCondition(Predicate<C>) - Method in class com.vaadin.browserless.locator.Locator
-
Requires the matched component to satisfy the given predicate.
- withCondition(Predicate<C>, String) - Method in class com.vaadin.browserless.locator.Locator
-
Requires the matched component to satisfy the given predicate, described by the given text in the message of a failed lookup.
- withCondition(Predicate<T>) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the components to satisfy the given condition.
- withCondition(Predicate<T>, String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the components to satisfy the given condition, described by the given text.
- withConfiguration(BrowserlessConfiguration) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Applies the given custom Vaadin configuration to this builder, replacing previously set entries with the same names.
- withConfiguration(BrowserlessConfiguration) - Method in class com.vaadin.browserless.BrowserlessConfiguration.Builder
-
Applies all entries of the given configuration to this builder, replacing previously set application properties and feature flags with the same names, and accumulating lookup services and JavaScript handlers.
- withConfiguration(BrowserlessConfiguration) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder. - withFeatureFlag(Feature, boolean) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Enables or disables the given Vaadin feature flag for this application, overriding the value potentially defined in the vaadin-featureflags.properties file or in system properties.
- withFeatureFlag(Feature, boolean) - Method in class com.vaadin.browserless.BrowserlessConfiguration.Builder
-
Enables or disables the given Vaadin feature flag, overriding the value potentially defined in the vaadin-featureflags.properties file or in system properties.
- withFeatureFlag(Feature, boolean) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder. - withFeatureFlag(String, boolean) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Enables or disables the given Vaadin feature flag for this application, overriding the value potentially defined in the vaadin-featureflags.properties file or in system properties.
- withFeatureFlag(String, boolean) - Method in class com.vaadin.browserless.BrowserlessConfiguration.Builder
-
Enables or disables the given Vaadin feature flag, overriding the value potentially defined in the vaadin-featureflags.properties file or in system properties.
- withFeatureFlag(String, boolean) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder. - withFeatureFlags(Feature...) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Enables the given Vaadin feature flags for this application, overriding the values potentially defined in the vaadin-featureflags.properties file or in system properties.
- withFeatureFlags(Feature...) - Method in class com.vaadin.browserless.BrowserlessConfiguration.Builder
-
Enables the given Vaadin feature flags, overriding the values potentially defined in the vaadin-featureflags.properties file or in system properties.
- withFeatureFlags(Feature...) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder. - withFeatureFlags(String...) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Enables the given Vaadin feature flags for this application, overriding the values potentially defined in the vaadin-featureflags.properties file or in system properties.
- withFeatureFlags(String...) - Method in class com.vaadin.browserless.BrowserlessConfiguration.Builder
-
Enables the given Vaadin feature flags, overriding the values potentially defined in the vaadin-featureflags.properties file or in system properties.
- withFeatureFlags(String...) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder. - withId(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the component to have the given id
- withId(String) - Method in class com.vaadin.browserless.locator.Locator
-
Requires the matched component to have the given id.
- withinSlot(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the components to sit in the given named slot of the component that hosts them.
- withinSlot(String) - Method in class com.vaadin.browserless.locator.Locator
-
Requires the matched component to sit in the given named slot of the component that hosts it, nested content included.
- withJavaScriptHandlers(Class<? extends JavaScriptHandler>...) - Method in class com.vaadin.browserless.BrowserlessConfiguration.Builder
-
Adds the given
JavaScriptHandlerclasses. - withLabel(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the component's label to be exactly the given value.
- withLabel(String) - Method in interface com.vaadin.browserless.locator.HasLabelFilter
-
Requires the matched component's label to be exactly the given value.
- withLabelContaining(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the component's label to contain the given text.
- withLabelContaining(String) - Method in interface com.vaadin.browserless.locator.HasLabelFilter
-
Requires the matched component's label to contain the given text.
- withLookupServices(Class<?>...) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Adds the given Vaadin Lookup service classes to the set configured for this builder.
- withLookupServices(Class<?>...) - Method in class com.vaadin.browserless.BrowserlessConfiguration.Builder
-
Adds the given service implementation classes to the ones used to initialize the Vaadin
Lookup, such asInstantiatorFactoryorResourceProviderimplementations. - withLookupServices(Class<?>...) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder. - withMaxResults(int) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the search to find at most the given number of components
- withMinResults(int) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the search to find at least the given number of components
- withoutAttribute(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the search to find components without the given attribute.
- withoutAttribute(String) - Method in class com.vaadin.browserless.locator.Locator
-
Requires the matched component not to have the given attribute.
- withoutAttribute(String, String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the search to find components having the given attribute value different from the provided one, or to not have the attribute at all.
- withoutAttribute(String, String) - Method in class com.vaadin.browserless.locator.Locator
-
Requires the matched component not to have the given attribute value (or not to have the attribute at all).
- withoutClassName(String...) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the components to have none of the given CSS class names
- withoutClassName(String...) - Method in class com.vaadin.browserless.locator.Locator
-
Requires the matched component to have none of the given CSS class names.
- withoutRoutes() - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Disables
@Routediscovery for this builder by seeding an emptyRoutesinstance. - withoutTheme(ThemeVariant) - Method in class com.vaadin.browserless.ComponentQuery
-
Add a theme variant that should not be set on the target component.
- withoutTheme(ThemeVariant) - Method in interface com.vaadin.browserless.locator.HasThemeFilter
-
Requires the matched component to not have the given theme variant set.
- withoutTheme(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Deprecated.use
ComponentQuery.withoutTheme(ThemeVariant)with the component's typed variant enum where possible. - withoutTheme(String) - Method in interface com.vaadin.browserless.locator.HasThemeFilter
-
Deprecated.use
HasThemeFilter.withoutTheme(ThemeVariant)with the component's typed variant enum where possible. - withPlaceholder(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the component's
placeholderto be exactly the given value. - withPlaceholder(String) - Method in interface com.vaadin.browserless.locator.HasPlaceholderFilter
-
Requires the matched component's
placeholderto be exactly the given value. - withPlaceholderContaining(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the component's
placeholderto contain the given text. - withPlaceholderContaining(String) - Method in interface com.vaadin.browserless.locator.HasPlaceholderFilter
-
Requires the matched component's
placeholderto contain the given text. - withPropertyValue(Function<T, V>, V) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the given property to have expected value.
- withResultsSize(int) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the search to find exactly the given number of components
- withResultsSize(int, int) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the search to find a number of components within given range
- withSecurityContextHandler(SecurityContextHandler<C>) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Sets the security context handler for multi-user auth isolation and transitions to a credential-typed
SecuredBrowserlessApplicationContext.Builder. - withSecurityContextHandler(SecurityContextHandler<D>) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Replaces the security context handler, possibly switching its credentials type.
- withServletFactory(BiFunction<Routes, UIFactory, VaadinServlet>) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Sets a custom servlet factory.
- withServletFactory(BiFunction<Routes, UIFactory, VaadinServlet>) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder. - withSessionLockIsolation(boolean) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Deprecated.session lock isolation is enabled by default and disabling it is meant only as a temporary way to keep existing tests running. A test that fails with it enabled usually changes another user's UI without
UI.access(): fix the application code, or activate that user's window first if the test changes it directly. If the failure looks wrong, report an issue. - withSessionLockIsolation(boolean) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
- withTestId(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the component to have the given
data-testidattribute, as set byComponent.setTestId(String). - withTestId(String) - Method in class com.vaadin.browserless.locator.Locator
-
Requires the matched component to have the given
data-testidattribute, as set byComponent.setTestId(String). - withText(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the text content of the component to be equal to the given text
- withText(String) - Method in interface com.vaadin.browserless.locator.HasTextFilter
-
Requires the text content of the component to equal the given text.
- withTextContaining(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the text content of the component to contain the given text
- withTextContaining(String) - Method in interface com.vaadin.browserless.locator.HasTextFilter
-
Requires the text content of the component to contain the given text.
- withTheme(ThemeVariant) - Method in class com.vaadin.browserless.ComponentQuery
-
Add a theme variant that should be set on the target component.
- withTheme(ThemeVariant) - Method in interface com.vaadin.browserless.locator.HasThemeFilter
-
Requires the matched component to have the given theme variant set.
- withTheme(String) - Method in class com.vaadin.browserless.ComponentQuery
-
Deprecated.use
ComponentQuery.withTheme(ThemeVariant)with the component's typed variant enum where possible — it autocompletes in the IDE and turns typos into compile errors. This raw-string overload remains for callers that need to filter on a theme not surfaced through aThemeVariantenum. - withTheme(String) - Method in interface com.vaadin.browserless.locator.HasThemeFilter
-
Deprecated.use
HasThemeFilter.withTheme(ThemeVariant)with the component's typed variant enum where possible. This raw-string overload remains for themes not surfaced through aThemeVariantenum. - withUIFactory(UIFactory) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Sets the UI factory used when creating UI instances for this application's windows.
- withUIFactory(UIFactory) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder. - withValue(V) - Method in class com.vaadin.browserless.ComponentQuery
-
Requires the component to be an implementation of
HasValueinterface and to have exactly the given value. - withValue(V) - Method in interface com.vaadin.browserless.locator.HasValueFilter
-
Requires the matched component to implement
HasValueand to have the given value. - withViewPackages(Class<?>...) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Adds the packages of the given classes to the set of packages to scan for
@Route-annotated views. - withViewPackages(Class<?>...) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder. - withViewPackages(String...) - Method in class com.vaadin.browserless.BrowserlessApplicationContext.Builder
-
Adds packages to scan for
@Route-annotated views. - withViewPackages(String...) - Method in class com.vaadin.browserless.SecuredBrowserlessApplicationContext.Builder
-
Forwards to the matching method on the underlying
BrowserlessApplicationContext.Builder.
_
- _blur(T) - Static method in class com.vaadin.browserless.internal.BasicUtils
-
Fires
BlurNotifier.BlurEventon the component, but only if it's editable. - _clickItem(Grid<T>, int, int, boolean, boolean, boolean, boolean) - Static method in class com.vaadin.browserless.component.GridUtils
-
Simulates a user clicking on given row of given grid.
- _close(UI) - Static method in class com.vaadin.browserless.internal.BasicUtils
-
Closes the UI and simulates the end of the request.
- _deselect(Grid<T>, T) - Static method in class com.vaadin.browserless.component.GridUtils
-
Simulates a user deselecting given item in given grid.
- _deselectAll(Grid<T>) - Static method in class com.vaadin.browserless.component.GridUtils
-
Simulates a user unchecking the select all checkbox of given grid.
- _doubleClickItem(Grid<T>, int, int, boolean, boolean, boolean, boolean) - Static method in class com.vaadin.browserless.component.GridUtils
-
Simulates a user double-clicking on given row of given grid by firing an
ItemDoubleClickEvent. - _expect(Component, Class<T>, int, Consumer<SearchSpec<T>>) - Static method in class com.vaadin.browserless.internal.Locator
-
Expects that there are exactly
countVISIBLE components of givenclazzmatchblock. - _expect(Class<T>, int, Consumer<SearchSpec<T>>) - Static method in class com.vaadin.browserless.internal.Locator
-
Expects that there are exactly
countVISIBLE components in the current UI with givenclazzmatchblock. - _expectInternalServerError(String) - Static method in class com.vaadin.browserless.internal.Locator
-
Asserts that the
InternalServerErrorpage is currently being shown, optionally with givenexpectedErrorMessage. - _expectNoDialogs() - Static method in class com.vaadin.browserless.internal.Locator
-
Expects that there are no dialogs shown.
- _expectNone(Component, Class<T>, Consumer<SearchSpec<T>>) - Static method in class com.vaadin.browserless.internal.Locator
-
Expects that there are no VISIBLE components of given
clazzwhich matchesblock. - _expectNone(Class<T>, Consumer<SearchSpec<T>>) - Static method in class com.vaadin.browserless.internal.Locator
-
Expects that there are no VISIBLE components in the current UI of given
clazzwhich matchesblock. - _expectOne(Component, Class<T>, Consumer<SearchSpec<T>>) - Static method in class com.vaadin.browserless.internal.Locator
-
Expects that there is exactly one VISIBLE components of given
clazzwhich matchesblock. - _expectOne(Class<T>, Consumer<SearchSpec<T>>) - Static method in class com.vaadin.browserless.internal.Locator
-
Expects that there is exactly one VISIBLE components in the current UI of given
clazzwhich matchesblock. - _find(Component, Class<T>, Consumer<SearchSpec<T>>) - Static method in class com.vaadin.browserless.internal.Locator
-
Finds a list of VISIBLE components of given
clazzwhich matchesblock. - _find(Class<T>, Consumer<SearchSpec<T>>) - Static method in class com.vaadin.browserless.internal.Locator
-
Finds a list of VISIBLE components of given
clazzwhich matchesblock. - _fireDomEvent(Component, String) - Static method in class com.vaadin.browserless.internal.BasicUtils
-
Fires a DOM event with empty event data on given component.
- _fireDomEvent(Component, String, ObjectNode) - Static method in class com.vaadin.browserless.internal.BasicUtils
-
Fires a DOM event on given component.
- _fireDomEvent(Element, DomEvent) - Static method in class com.vaadin.browserless.internal.ElementUtils
-
Fires a DOM
eventon given element. - _fireShortcut(Component, Key, Key...) - Static method in class com.vaadin.browserless.internal.Shortcuts
-
Use the global
Shortcuts.fireShortcut(Key, Key...)function unless you know what you're doing! - _focus(T) - Static method in class com.vaadin.browserless.internal.BasicUtils
-
Fires
FocusNotifier.FocusEventon the component, but only if it's editable. - _get(Component, Class<T>, Consumer<SearchSpec<T>>) - Static method in class com.vaadin.browserless.internal.Locator
-
Finds a VISIBLE component of given
clazzwhich matches givenblock. - _get(Grid<T>, int) - Static method in class com.vaadin.browserless.component.GridUtils
-
Returns the item on given row of given grid.
- _get(Class<T>, Consumer<SearchSpec<T>>) - Static method in class com.vaadin.browserless.internal.Locator
-
Finds a VISIBLE component in the current UI of given
clazzwhich matches givenblock. - _getPresentationValue(Renderer<T>, T) - Static method in class com.vaadin.browserless.internal.Renderers
-
Returns the output of this renderer for given
rowObjectformatted as close as possible to the client-side output. - _isVisible(Component) - Static method in class com.vaadin.browserless.internal.BasicUtils
-
Checks whether the component is visible (usually
Component.isVisible()but forTextthe text must be non-empty). - _select(Grid<T>, T) - Static method in class com.vaadin.browserless.component.GridUtils
-
Simulates a user selecting given item in given grid.
- _selectAll(Grid<T>) - Static method in class com.vaadin.browserless.component.GridUtils
-
Simulates a user clicking the select all checkbox of given grid.
- _size(Grid<?>) - Static method in class com.vaadin.browserless.component.GridUtils
-
Returns the number of items in given grid.
- _walkAll(Component) - Static method in class com.vaadin.browserless.internal.Locator
-
Walks the component child/descendant tree, depth-first: first the component, then its descendants, then its next sibling.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
BaseBrowserlessTest.find(Class)instead.