Class AbstractValidationIT<T extends com.vaadin.testbench.HasValidation>

  • 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.vaadin.flow.testutil.AbstractTestBenchTest

        com.vaadin.flow.testutil.AbstractTestBenchTest.ClientChecker
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected T testField  
      • 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_PROPERTY
      • Fields inherited from class com.vaadin.testbench.parallel.ParallelTest

        screenshotOnFailure
      • Fields inherited from class com.vaadin.testbench.TestBenchTestCase

        driver, maxAttempts, testbenchVersion
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void assertClientInvalid()  
      protected void assertClientValid()  
      protected void assertErrorMessage​(String expected)  
      protected void assertServerInvalid()  
      protected void assertServerValid()  
      protected abstract T getTestField()  
      void init()  
      • 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.ViewOrUITest

        getUIClass, getViewClass
      • 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
      • Methods inherited from interface com.vaadin.testbench.HasElementQuery

        $, $
    • Field Detail

      • testField

        protected T extends com.vaadin.testbench.HasValidation testField
    • Constructor Detail

      • AbstractValidationIT

        public AbstractValidationIT()
    • 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()