Package com.vaadin.browserless.internal
package com.vaadin.browserless.internal
-
ClassDescriptionBasic utilities for firing events on components and checking their state.
FeatureFlagsimplementation that applies test defined feature flag overrides on top of the ones resolved by Vaadin.A DOM event as the browser dispatches it to the Flow client.Teaches the mocked environment about specific component types, so the environment itself only depends on Flow.Utilities for working withComponents.An inclusive range of component counts a lookup will accept.Walks the child tree, depth-first: first the node, then its descendants, then its next sibling.Utilities for working withElements.TheComponentSupportfor 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.Helpers for driving aGridContextMenuthe way the grid's client-side connector does.Functions for looking up components in the component tree.Menu item lookup shared by the menu testers.Replaces the defaultInternalServerErrorexception handler with an implementation that exposes the error details as element properties, so that they show up in the pretty-printed component tree.APagewhich records the external navigations and recreates the UI onMockPage.reload(), to simulate the browser's F5.Customizes theMockRequestcreated for every new mocked session.This route gets registered by default inRoutes, so that Browserless Testing can catch any navigation to a missing route and can respond with an informative exception.Mocks the Vaadin environment: the servlet, the service, the session and the UI.Utility class to create a pretty-printed ASCII tree of arbitrary nodes that can be printed to the console.Reaches the components aComponentRendererhas rendered for the rows the client has asked for.Functions for computing the output of renderers.A configuration object of all routes and error routes in the application.SearchSpec<T extends Component>A criterion for matching components.Holds the objects created during session initialization, before they are installed as thread-locals.Functions for firing keyboard shortcuts.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 viaTestingLifecycleHooks.setTestingLifecycleHook(TestingLifecycleHook).Holds the currentTestingLifecycleHookand the dialog clean-up.Creates theUIof a Vaadin session.General-purpose utilities: serialization, string helpers, class lookup and accessors for the current request, response and UI.