Skip navigation links
A B C D E F G H I L O P S T U V W 

A

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
 
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
 
assertEquals(WebElement, WebElement) - Static method in class com.vaadin.flow.testutil.TestBenchHelpers
Assert that the two elements are equal.

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
 

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.
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.
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.
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
 
ChromeTests - Interface in com.vaadin.flow.testcategory
Tests that requires Chrome browser for their execution should be annotated with @ Category(ChromeTests.class so they can be optionally excluded from the build when needed.
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.
com.vaadin.flow.testcategory - package com.vaadin.flow.testcategory
 
com.vaadin.flow.testutil - package com.vaadin.flow.testutil
 
createHeadlessChromeOptions() - Method in class com.vaadin.flow.testutil.ChromeBrowserTest
 
customizeCapabilities(List<DesiredCapabilities>) - Method in class com.vaadin.flow.testutil.ChromeBrowserTest
 

D

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 source element into the target element.
dragElementOver(WebElement, WebElement) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
Simulate a drag of source element and over the target element.

E

executeScript(String, Object...) - Method in class com.vaadin.flow.testutil.TestBenchHelpers
Executes the given JavaScript.

F

finalCheck() - Method in class com.vaadin.flow.testutil.AbstractViewTest
 

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
 
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.
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
 
getHubHostname() - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
 
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.
getProperty(WebElement, String) - Method in class com.vaadin.flow.testutil.AbstractComponentIT
 
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.
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.

I

IgnoreIE11 - Interface in com.vaadin.flow.testcategory
Tests that should not be run with IE11 should be annotated with @ Category(IgnoreIE11.class) so they can be optionally excluded from the build when running with IE11.
IgnoreNPM - Interface in com.vaadin.flow.testcategory
Tests that should not be run in NPM mode should be annotated with @ Category(IgnoreNPM.class) so they can be optionally excluded from the build.
IgnoreOSGi - Interface in com.vaadin.flow.testcategory
Tests that should not be run inside OSGi container should be annotated with @ Category(IgnoreOSGi.class) so they can be optionally excluded from the build.
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
 
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

LocalExecution - Annotation Type 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.AbstractTestBenchTest
 
openForEs6Url(String...) - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
 
openProduction(String...) - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
 
openProductionWithTiming(String...) - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
 
openUrl(String, String...) - Method in class com.vaadin.flow.testutil.AbstractTestBenchTest
 

P

PushTests - Interface in com.vaadin.flow.testcategory
Tests which test push functionality should be annotated with @Category(PushTests.class).

S

ScreenshotTests - Interface in com.vaadin.flow.testcategory
Screenshot tests should be annotated with @ Category(ScreenshotTest.class so they can be optionally excluded from the build when needed.
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 .
SERVER_PORT - Static variable in class com.vaadin.flow.testutil.AbstractTestBenchTest
Server port resolved by system property "serverPort" or the default .
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.
setChromeDriverPath() - Static method in class com.vaadin.flow.testutil.ChromeBrowserTest
Sets up the chrome driver path in a system variable.
setup() - Method in class com.vaadin.flow.testutil.AbstractParallelTestBenchTest
 
setup() - Method in class com.vaadin.flow.testutil.ChromeBrowserTest
 

T

TestBenchHelpers - Class in com.vaadin.flow.testutil
Helpers for running testbench tests.
TestBenchHelpers() - Constructor for class com.vaadin.flow.testutil.TestBenchHelpers
 
TestCategory - Interface in com.vaadin.flow.testcategory
Base for classes and interfaces used as a JUnit test category
testName - Variable in class com.vaadin.flow.testutil.AbstractTestBenchTest
 
TestPath - Annotation Type in com.vaadin.flow.testutil
Setup the path to be tested for the tests that extend AbstractComponentIT.

U

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.
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, add View or UI).
ViewOrUITest() - Constructor for class com.vaadin.flow.testutil.ViewOrUITest
 

W

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
 
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.
A B C D E F G H I L O P S T U V W 
Skip navigation links

Copyright © 2000–2025 Vaadin Ltd. All rights reserved.