Package com.vaadin.tests.validation
Class AbstractValidationIT<T extends com.vaadin.testbench.HasValidation>
- java.lang.Object
-
- com.vaadin.testbench.TestBenchTestCase
-
- com.vaadin.testbench.parallel.ParallelTest
-
- com.vaadin.flow.testutil.TestBenchHelpers
-
- com.vaadin.flow.testutil.AbstractTestBenchTest
-
- com.vaadin.flow.testutil.ViewOrUITest
-
- com.vaadin.flow.testutil.ChromeBrowserTest
-
- com.vaadin.flow.testutil.AbstractComponentIT
-
- com.vaadin.tests.AbstractComponentIT
-
- com.vaadin.tests.validation.AbstractValidationIT<T>
-
- All Implemented Interfaces:
com.vaadin.testbench.HasDriver,com.vaadin.testbench.HasElementQuery,com.vaadin.testbench.HasSearchContext,com.vaadin.testbench.HasTestBenchCommandExecutor
public abstract class AbstractValidationIT<T extends com.vaadin.testbench.HasValidation> extends AbstractComponentIT
-
-
Field Summary
Fields Modifier and Type Field Description protected TtestField
-
Constructor Summary
Constructors Constructor Description AbstractValidationIT()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidassertClientInvalid()protected voidassertClientValid()protected voidassertErrorMessage(String expected)protected voidassertServerInvalid()protected voidassertServerValid()protected abstract TgetTestField()voidinit()-
Methods inherited from class com.vaadin.tests.AbstractComponentIT
getDeploymentPort, setup
-
Methods inherited from class com.vaadin.flow.testutil.AbstractComponentIT
checkIfServerAvailable, getProperty, getTestPath
-
Methods inherited from class com.vaadin.flow.testutil.ChromeBrowserTest
customizeCapabilities, getBrowserCapabilities, getHubBrowsersToTest, updateHeadlessChromeOptions
-
Methods inherited from class com.vaadin.flow.testutil.AbstractTestBenchTest
getBrowsersToTest, getCurrentHostAddress, getDeploymentHostname, getHubHostname, getLocalExecution, getRootURL, getRunLocallyBrowser, getRunLocallyBrowserVersion, getTestURL, getTestURL, isClientRouter, open, open, openForEs6Url, openProduction, openProductionWithTiming, openUrl, verifyScreenshot, waitForClientRouter
-
Methods 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, waitUntilNot
-
Methods inherited from class com.vaadin.testbench.parallel.ParallelTest
getDefaultCapabilities, getDesiredCapabilities, getHubURL, getRunOnHub, setDesiredCapabilities
-
Methods inherited from class com.vaadin.testbench.TestBenchTestCase
concatUrl, findElement, findElements, getCommandExecutor, getContext, getDriver, setDriver, testBench, waitUntil, waitUntil, wrap
-
-
-
-
Field Detail
-
testField
protected T extends com.vaadin.testbench.HasValidation testField
-
-
Method Detail
-
init
public void init()
-
getTestField
protected abstract T getTestField()
-
assertErrorMessage
protected void assertErrorMessage(String expected)
-
assertClientValid
protected void assertClientValid()
-
assertClientInvalid
protected void assertClientInvalid()
-
assertServerValid
protected void assertServerValid()
-
assertServerInvalid
protected void assertServerInvalid()
-
-