Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractBrowserConsoleTest - Class in com.vaadin.flow.testutil
- AbstractBrowserConsoleTest() - Constructor for class com.vaadin.flow.testutil.AbstractBrowserConsoleTest
- AbstractComponentIT - Class in com.vaadin.flow.testutil
-
Abstract base class for integration tests.
- AbstractComponentIT() - Constructor for class com.vaadin.flow.testutil.AbstractComponentIT
- AbstractParallelTestBenchTest - Class in com.vaadin.flow.testutil
-
Abstract base class for parallel flow TestBench tests.
- AbstractParallelTestBenchTest() - Constructor for class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
- AbstractTestBenchTest - Class in com.vaadin.flow.testutil
-
Abstract base class for flow TestBench tests.
- AbstractTestBenchTest() - Constructor for class com.vaadin.flow.testutil.AbstractTestBenchTest
- AbstractTestBenchTest.ClientChecker - Class in com.vaadin.flow.testutil
- AbstractValidationTest - Class in com.vaadin.flow.testutil
-
Base class for validation tests of components that implement
HasValidation. - AbstractValidationTest() - Constructor for class com.vaadin.flow.testutil.AbstractValidationTest
- AbstractViewTest - Class in com.vaadin.flow.testutil
-
A base class for testing a view using TestBench.
- AbstractViewTest(By) - Constructor for class com.vaadin.flow.testutil.AbstractViewTest
- active() - Element in annotation interface com.vaadin.flow.testutil.LocalExecution
-
Checks whether the local execution configuration active.
- assertDirectory(File, String) - Static method in class com.vaadin.flow.testutil.FileTestUtil
-
Asserts the given file is a directory.
- assertEquals(WebElement, WebElement) - Static method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Assert that the two elements are equal.
- assertImageEquals(Path, String) - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
- assertRuleOnce(String) - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
- assertSymlink(File, String) - Static method in class com.vaadin.flow.testutil.FileTestUtil
-
Asserts the given file is a symlink.
B
- blur() - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Calls the
blur()function on the current active element of the page, if any. - BROWSERSTACK_IDENTIFIER - Static variable in class com.vaadin.flow.testutil.AbstractTestBenchTest
- BROWSERSTACK_IDENTIFIER_PROPERTY - Static variable in class com.vaadin.flow.testutil.AbstractTestBenchTest
- browserVersion() - Element in annotation interface com.vaadin.flow.testutil.LocalExecution
-
Gets the browser version.
C
- checkIfServerAvailable() - Method in class com.vaadin.flow.testutil.AbstractComponentIT
- checkIfServerAvailable() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Checks that server is available before running the actual test.
- checkIfServerAvailable() - Method in class com.vaadin.flow.testutil.ChromeBrowserTestWithProxy
- checkLogsForErrors() - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Checks browser's log entries, throws an error for any client-side error and logs any client-side warnings.
- checkLogsForErrors(Predicate<String>) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Checks browser's log entries, throws an error for any client-side error and logs any client-side warnings.
- ChromeBrowserTest - Class in com.vaadin.flow.testutil
-
Base class for TestBench tests to run locally in the Chrome browser.
- ChromeBrowserTest() - Constructor for class com.vaadin.flow.testutil.ChromeBrowserTest
- ChromeBrowserTestWithProxy - Class in com.vaadin.flow.testutil
- ChromeBrowserTestWithProxy() - Constructor for class com.vaadin.flow.testutil.ChromeBrowserTestWithProxy
- ChromeDeviceTest - Class in com.vaadin.flow.testutil
-
Base class for TestBench tests to run in Chrome with customized options, which enable device emulation mode by default.
- ChromeDeviceTest() - Constructor for class com.vaadin.flow.testutil.ChromeDeviceTest
- clickElementWithJs(String) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Clicks on the element, using JS.
- clickElementWithJs(WebElement) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Clicks on the element, using JS.
- ClientChecker() - Constructor for class com.vaadin.flow.testutil.AbstractTestBenchTest.ClientChecker
- com.vaadin.flow.testutil - package com.vaadin.flow.testutil
- com.vaadin.flow.testutil.net - package com.vaadin.flow.testutil.net
- connectProxy() - Method in class com.vaadin.flow.testutil.ChromeBrowserTestWithProxy
-
Ensure the proxy is active.
- customizeCapabilities(List<DesiredCapabilities>) - Method in class com.vaadin.flow.testutil.ChromeBrowserTest
- customizeChromeOptions(ChromeOptions) - Method in class com.vaadin.flow.testutil.ChromeDeviceTest
-
Customizes given Chrome options to enable network connection emulation.
D
- DevToolsElement - Class in com.vaadin.flow.testutil
- DevToolsElement() - Constructor for class com.vaadin.flow.testutil.DevToolsElement
- DevToolsWrapper - Class in com.vaadin.flow.testutil
- DevToolsWrapper(WebDriver) - Constructor for class com.vaadin.flow.testutil.DevToolsWrapper
- disconnect() - Method in class com.vaadin.flow.testutil.net.SimpleProxy
- disconnectProxy() - Method in class com.vaadin.flow.testutil.ChromeBrowserTestWithProxy
-
Disconnects the proxy if active
- drag(WebElement) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Simulate only a drag of
source. - dragAndDrop(WebElement, WebElement) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Simulate DnD of
sourceelement into thetargetelement. - dragElementOver(WebElement, WebElement) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Simulate a drag of
sourceelement and over thetargetelement.
E
- EphemeralPortRangeDetector - Interface in com.vaadin.flow.testutil.net
-
Identifies the ephemeral port range for a given environment.
- executeScript(String, Object...) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Executes the given JavaScript.
F
- FileTestUtil - Class in com.vaadin.flow.testutil
- FileTestUtil() - Constructor for class com.vaadin.flow.testutil.FileTestUtil
- finalCheck() - Method in class com.vaadin.flow.testutil.AbstractViewTest
- findFreePort() - Static method in class com.vaadin.flow.testutil.net.PortProber
-
Get a free localhost port that is not in use by any interface.
- FixedIANAPortRange - Class in com.vaadin.flow.testutil.net
-
Fixed port range for when a defined can not be calculated.
- FixedIANAPortRange() - Constructor for class com.vaadin.flow.testutil.net.FixedIANAPortRange
G
- getBrowserCapabilities(Browser...) - Method in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
-
Gets browser capabilities for the provided
browsers. - getBrowserCapabilities(Browser...) - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Gets browser capabilities for the provided
browsers. - getBrowserCapabilities(Browser...) - Method in class com.vaadin.flow.testutil.ChromeBrowserTest
- getBrowserLogs(boolean) - Method in class com.vaadin.flow.testutil.AbstractBrowserConsoleTest
- getBrowsersToTest() - Method in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
-
Produces a collection of browsers to run the test on.
- getBrowsersToTest() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Produces a collection of browsers to run the test on.
- getCurrentHostAddress() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Returns host address that can be targeted from the outside, like from a test hub.
- getDeploymentHostname() - Method in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
-
Used to determine what URL to initially open for the test.
- getDeploymentHostname() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Used to determine what URL to initially open for the test.
- getDeploymentPort() - Method in class com.vaadin.flow.testutil.AbstractComponentIT
- getDeploymentPort() - Method in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
-
Used to determine what port the test is running on.
- getDeploymentPort() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Used to determine what port the test is running on.
- getDevTools() - Method in class com.vaadin.flow.testutil.ChromeDeviceTest
- getHighestEphemeralPort() - Method in interface com.vaadin.flow.testutil.net.EphemeralPortRangeDetector
-
Returns the last port that could be searched for free ports
- getHighestEphemeralPort() - Method in class com.vaadin.flow.testutil.net.FixedIANAPortRange
- getHighestEphemeralPort() - Method in class com.vaadin.flow.testutil.net.LinuxEphemeralPortRangeDetector
- getHubBrowsersToTest() - Method in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
-
Gets the browsers capabilities list to execute test on the tests Hub.
- getHubBrowsersToTest() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Gets the browsers capabilities list to execute test on the tests Hub.
- getHubBrowsersToTest() - Method in class com.vaadin.flow.testutil.ChromeBrowserTest
- getHubBrowsersToTest() - Method in class com.vaadin.flow.testutil.ChromeDeviceTest
- getHubHostname() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
- getInstance() - Static method in class com.vaadin.flow.testutil.net.LinuxEphemeralPortRangeDetector
-
Get port range detector instance.
- getLocalExecution() - Method in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
-
Gets local execution (
LocalExecution) configuration for the test. - getLocalExecution() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Gets local execution (
LocalExecution) configuration for the test. - getLogEntries(Level) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Gets the log entries from the browser that have the given logging level or higher.
- getLowestEphemeralPort() - Method in interface com.vaadin.flow.testutil.net.EphemeralPortRangeDetector
-
Returns the first port in the ephemeral range
- getLowestEphemeralPort() - Method in class com.vaadin.flow.testutil.net.FixedIANAPortRange
- getLowestEphemeralPort() - Method in class com.vaadin.flow.testutil.net.LinuxEphemeralPortRangeDetector
- getProperty(WebElement, String) - Method in class com.vaadin.flow.testutil.AbstractComponentIT
- getProxyPort() - Method in class com.vaadin.flow.testutil.ChromeBrowserTestWithProxy
- getRootElement() - Method in class com.vaadin.flow.testutil.AbstractViewTest
- getRootURL() - Method in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
-
Returns the URL to the root of the server, e.g.
- getRootURL() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Returns the URL to the root of the server, e.g.
- getRootURL() - Method in class com.vaadin.flow.testutil.ChromeBrowserTestWithProxy
- getRunLocallyBrowser() - Method in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
- getRunLocallyBrowser() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
- getRunLocallyBrowserVersion() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
- getScrollX() - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Gets current scroll position on x axis.
- getScrollY() - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Gets current scroll position on y axis.
- getTestPath() - Method in class com.vaadin.flow.testutil.AbstractComponentIT
- getTestPath() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Gets the absolute path to the test, starting with a "/".
- getTestPath() - Method in class com.vaadin.flow.testutil.ViewOrUITest
- getTestURL(String...) - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Returns the URL to be used for the test.
- getTestURL(String, String, String...) - Static method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Returns the URL to be used for the test.
- getUIClass() - Method in class com.vaadin.flow.testutil.ViewOrUITest
-
Returns the UI class the current test is connected to.
- getValidationComponent() - Method in class com.vaadin.flow.testutil.ValidationTestView
-
Gets the component to be tested.
- getViewClass() - Method in class com.vaadin.flow.testutil.ViewOrUITest
-
Returns the View class the current test is connected to.
H
- hasCssClass(WebElement, String) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Checks if the given element has the given class name.
- HIGHEST_PORT - Static variable in class com.vaadin.flow.testutil.net.PortProber
I
- init() - Method in class com.vaadin.flow.testutil.AbstractValidationTest
- initialCheck() - Method in class com.vaadin.flow.testutil.AbstractViewTest
- invalidateAndValidateAgain() - Method in class com.vaadin.flow.testutil.AbstractValidationTest
- invalidateWhenEmpty() - Method in class com.vaadin.flow.testutil.AbstractValidationTest
- invalidatewhenEmptyAndThenBlur() - Method in class com.vaadin.flow.testutil.AbstractValidationTest
- invalidateWhenNotEmpty() - Method in class com.vaadin.flow.testutil.AbstractValidationTest
- invalidateWhenNotEmptyAndThenBlur() - Method in class com.vaadin.flow.testutil.AbstractValidationTest
- isClientRouter() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Returns true when using clientSide routing
- isElementPresent(By) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Returns true if an element can be found from the driver with given selector.
L
- LinuxEphemeralPortRangeDetector - Class in com.vaadin.flow.testutil.net
-
Calculate the available port range for linux system or the default fixed range if ip_local_port_range is not defined.
- LocalExecution - Annotation Interface in com.vaadin.flow.testutil
-
Allows to configure tests for local execution.
O
- open() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
- open(String...) - Method in class com.vaadin.flow.testutil.AbstractBrowserConsoleTest
- open(String...) - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
- openForEs6Url(String...) - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
- openUrl(String, String...) - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
P
- PortProber - Class in com.vaadin.flow.testutil.net
-
Class for determining a free localhost port that is not used by any ipv4 or ipv6 interfaces.
R
- run() - Method in class com.vaadin.flow.testutil.net.SimpleProxy
S
- scrollBy(int, int) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Scrolls the page by given amount of x and y deltas.
- scrollIntoViewAndClick(WebElement) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Scrolls the page to the element specified and clicks it.
- scrollToElement(WebElement) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Scrolls the page to the element given using javascript.
- SERVER_PORT - Static variable in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
-
Server port resolved by system property "serverPort" or the default "8888".
- SERVER_PORT - Static variable in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Server port resolved by system property "serverPort" or the default "8888".
- SERVER_PORT_PROPERTY_KEY - Static variable in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
-
System property key for the test server port.
- SERVER_PORT_PROPERTY_KEY - Static variable in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
System property key for the test server port.
- setCacheDisabled(Boolean) - Method in class com.vaadin.flow.testutil.DevToolsWrapper
-
Controls the `Disable cache` option in DevTools via the corresponding Selenium API.
- setLiveReload(boolean) - Method in class com.vaadin.flow.testutil.DevToolsElement
- setOfflineEnabled(Boolean) - Method in class com.vaadin.flow.testutil.DevToolsWrapper
-
Controls the throttling `Offline` option in DevTools via the corresponding Selenium API.
- setup() - Method in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
- setup() - Method in class com.vaadin.flow.testutil.ChromeBrowserTest
- setup() - Method in class com.vaadin.flow.testutil.ChromeBrowserTestWithProxy
- setup() - Method in class com.vaadin.flow.testutil.ChromeDeviceTest
- SimpleProxy - Class in com.vaadin.flow.testutil.net
- SimpleProxy(int, String, int) - Constructor for class com.vaadin.flow.testutil.net.SimpleProxy
- START_OF_USER_PORTS - Static variable in class com.vaadin.flow.testutil.net.PortProber
T
- teardownProxy() - Method in class com.vaadin.flow.testutil.ChromeBrowserTestWithProxy
- TestBenchHelpers - Class in com.vaadin.flow.testutil
-
Helpers for running testbench tests.
- TestBenchHelpers() - Constructor for class com.vaadin.flow.testutil.TestBenchHelpers
- testName - Variable in class com.vaadin.flow.testutil.AbstractTestBenchTest
- TestPath - Annotation Interface in com.vaadin.flow.testutil
-
Setup the path to be tested for the tests that extend
AbstractComponentIT.
U
- updateHeadlessChromeOptions(ChromeOptions) - Method in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
-
Allows modifying the chrome options to be used when running on a local Chrome.
- updateHeadlessChromeOptions(ChromeOptions) - Method in class com.vaadin.flow.testutil.ChromeBrowserTest
-
Allows modifying the chrome options to be used when running on a local Chrome.
- USE_BROWSERSTACK - Static variable in class com.vaadin.flow.testutil.AbstractTestBenchTest
- USE_BROWSERSTACK_PROPERTY - Static variable in class com.vaadin.flow.testutil.AbstractTestBenchTest
- USE_HUB - Static variable in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
- USE_HUB - Static variable in class com.vaadin.flow.testutil.AbstractTestBenchTest
- USE_HUB_PROPERTY - Static variable in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
- USE_HUB_PROPERTY - Static variable in class com.vaadin.flow.testutil.AbstractTestBenchTest
V
- ValidationTestView - Class in com.vaadin.flow.testutil
-
Abstract view class for testing validation with components that implement
HasValidation. - ValidationTestView() - Constructor for class com.vaadin.flow.testutil.ValidationTestView
-
Default constructor.
- value() - Element in annotation interface com.vaadin.flow.testutil.LocalExecution
-
Gets the browser for local execution.
- value() - Element in annotation interface com.vaadin.flow.testutil.TestPath
-
Gets the URL of the page to be tested.
- verifyScreenshot(String) - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Compares the given reference screenshot to the current and fails the test if it doesn't match.
- ViewOrUITest - Class in com.vaadin.flow.testutil
-
Base class for TestBench tests which use a UI/View matched to the test name according to the convention (remove
IT, addVieworUI). - ViewOrUITest() - Constructor for class com.vaadin.flow.testutil.ViewOrUITest
W
- waitForClientRouter() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
-
Waits until clientSide route renders the view.
- waitForDevServer() - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
If dev server start in progress wait until it's started.
- waitForElementNotPresent(By) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
- waitForElementPresent(By) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
- waitForElementVisible(By) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
- waitForFile(File) - Static method in class com.vaadin.flow.testutil.FileTestUtil
-
Waits for the given file to be present for up to 5 minutes.
- waitForFiles(File...) - Static method in class com.vaadin.flow.testutil.FileTestUtil
-
Waits for at least one of the given files to be present for up to 5 minutes.
- waitForFont(String) - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
- waitForServiceWorkerReady() - Method in class com.vaadin.flow.testutil.ChromeDeviceTest
- waitForWebComponent(String) - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
- waitForWebComponentsBootstrap() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
- waitUntilNot(ExpectedCondition<T>) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Waits up to 10s for the given condition to become false.
- waitUntilNot(ExpectedCondition<T>, long) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
-
Waits the given number of seconds for the given condition to become false.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form