Package com.vaadin.flow.testutil
Class AbstractValidationTest
java.lang.Object
com.vaadin.testbench.TestBenchTestCase
com.vaadin.testbench.parallel.ParallelTest
- All Implemented Interfaces:
com.vaadin.testbench.HasDriver,com.vaadin.testbench.HasElementQuery,com.vaadin.testbench.HasSearchContext,com.vaadin.testbench.HasTestBenchCommandExecutor
Base class for validation tests of components that implement
HasValidation.- Since:
- 1.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.testutil.AbstractTestBenchTest
AbstractTestBenchTest.ClientChecker -
Field Summary
Fields inherited from class com.vaadin.flow.testutil.AbstractTestBenchTest
BROWSERSTACK_IDENTIFIER, BROWSERSTACK_IDENTIFIER_PROPERTY, SERVER_PORT, SERVER_PORT_PROPERTY_KEY, testName, USE_BROWSERSTACK, USE_BROWSERSTACK_PROPERTY, USE_HUB, USE_HUB_PROPERTYFields inherited from class com.vaadin.testbench.parallel.ParallelTest
screenshotOnFailureFields inherited from class com.vaadin.testbench.TestBenchTestCase
driver, maxAttempts -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.flow.testutil.AbstractComponentIT
checkIfServerAvailable, getDeploymentPort, getProperty, getTestPathMethods inherited from class com.vaadin.flow.testutil.ChromeBrowserTest
customizeCapabilities, getBrowserCapabilities, getHubBrowsersToTest, setup, updateHeadlessChromeOptionsMethods inherited from class com.vaadin.flow.testutil.ViewOrUITest
getUIClass, getViewClassMethods inherited from class com.vaadin.flow.testutil.AbstractTestBenchTest
assertImageEquals, assertRuleOnce, getBrowsersToTest, getCurrentHostAddress, getDeploymentHostname, getHubHostname, getLocalExecution, getRootURL, getRunLocallyBrowser, getRunLocallyBrowserVersion, getTestURL, getTestURL, isClientRouter, open, open, openForEs6Url, openUrl, verifyScreenshot, waitForClientRouter, waitForFont, waitForWebComponent, waitForWebComponentsBootstrapMethods inherited from class com.vaadin.flow.testutil.TestBenchHelpers
assertEquals, blur, checkLogsForErrors, checkLogsForErrors, clickElementWithJs, clickElementWithJs, drag, dragAndDrop, dragElementOver, executeScript, getLogEntries, getScrollX, getScrollY, hasCssClass, isElementPresent, scrollBy, scrollIntoViewAndClick, scrollToElement, waitForDevServer, waitForElementNotPresent, waitForElementPresent, waitForElementVisible, waitUntilNot, waitUntilNotMethods inherited from class com.vaadin.testbench.parallel.ParallelTest
getDefaultCapabilities, getDesiredCapabilities, getHubURL, getRunOnHub, setDesiredCapabilitiesMethods inherited from class com.vaadin.testbench.TestBenchTestCase
concatUrl, findElement, findElements, getCommandExecutor, getContext, getDriver, setDriver, testBench, waitUntil, waitUntil, wrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.testbench.HasElementQuery
$, $
-
Constructor Details
-
AbstractValidationTest
public AbstractValidationTest()
-
-
Method Details
-
init
public void init() -
invalidateWhenEmpty
public void invalidateWhenEmpty() -
invalidateWhenNotEmpty
public void invalidateWhenNotEmpty() -
invalidateAndValidateAgain
public void invalidateAndValidateAgain() -
invalidatewhenEmptyAndThenBlur
public void invalidatewhenEmptyAndThenBlur() -
invalidateWhenNotEmptyAndThenBlur
public void invalidateWhenNotEmptyAndThenBlur()
-