Class AbstractComponentIT

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
All Implemented Interfaces:
com.vaadin.testbench.HasDriver, com.vaadin.testbench.HasElementQuery, com.vaadin.testbench.HasSearchContext, com.vaadin.testbench.HasTestBenchCommandExecutor
Direct Known Subclasses:
AbstractValidationIT

public abstract class AbstractComponentIT extends com.vaadin.flow.testutil.AbstractComponentIT
  • Nested Class Summary

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

    com.vaadin.flow.testutil.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_PROPERTY

    Fields inherited from class com.vaadin.testbench.parallel.ParallelTest

    screenshotOnFailure

    Fields inherited from class com.vaadin.testbench.TestBenchTestCase

    driver, maxAttempts
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<org.openqa.selenium.remote.DesiredCapabilities>
    customizeCapabilities(List<org.openqa.selenium.remote.DesiredCapabilities> capabilities)
     
    protected int
     

    Methods inherited from class com.vaadin.flow.testutil.AbstractComponentIT

    checkIfServerAvailable, getProperty, getTestPath

    Methods inherited from class com.vaadin.flow.testutil.ChromeBrowserTest

    getBrowserCapabilities, getHubBrowsersToTest, setup, updateHeadlessChromeOptions

    Methods inherited from class com.vaadin.flow.testutil.ViewOrUITest

    getUIClass, getViewClass

    Methods 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

    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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.testbench.HasElementQuery

    $, $
  • Constructor Details

    • AbstractComponentIT

      public AbstractComponentIT()
  • Method Details

    • getDeploymentPort

      protected int getDeploymentPort()
      Overrides:
      getDeploymentPort in class com.vaadin.flow.testutil.AbstractComponentIT
    • customizeCapabilities

      protected List<org.openqa.selenium.remote.DesiredCapabilities> customizeCapabilities(List<org.openqa.selenium.remote.DesiredCapabilities> capabilities)
      Overrides:
      customizeCapabilities in class com.vaadin.flow.testutil.ChromeBrowserTest