Package com.vaadin.tests
Class AbstractParallelTest
java.lang.Object
com.vaadin.testbench.TestBenchTestCase
com.vaadin.testbench.parallel.ParallelTest
com.vaadin.tests.AbstractParallelTest
- All Implemented Interfaces:
com.vaadin.testbench.HasDriver,com.vaadin.testbench.HasElementQuery,com.vaadin.testbench.HasSearchContext,com.vaadin.testbench.HasTestBenchCommandExecutor
public abstract class AbstractParallelTest
extends com.vaadin.testbench.parallel.ParallelTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.openqa.selenium.Dimensionstatic final org.openqa.selenium.Dimensionstatic final org.openqa.selenium.DimensionFields inherited from class com.vaadin.testbench.parallel.ParallelTest
screenshotOnFailureFields inherited from class com.vaadin.testbench.TestBenchTestCase
driver, maxAttempts -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompareScreen(String screenshotName) protected StringList<org.openqa.selenium.remote.DesiredCapabilities> protected StringCopied from com.vaadin.flow.testutil.AbstractTestBenchTestprotected StringgetDeploymentPath(Class<?> viewClass) protected StringgetPort()protected StringgetTestUrl(Class<?> viewClass) voidvoidsetup()Methods inherited from class com.vaadin.testbench.parallel.ParallelTest
getDefaultCapabilities, getDesiredCapabilities, getHubHostname, getHubURL, getRunLocallyBrowser, getRunLocallyBrowserVersion, getRunOnHub, setDesiredCapabilitiesMethods inherited from class com.vaadin.testbench.TestBenchTestCase
concatUrl, executeScript, 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
$, $
-
Field Details
-
WINDOW_SIZE_LARGE
public static final org.openqa.selenium.Dimension WINDOW_SIZE_LARGE -
WINDOW_SIZE_MEDIUM
public static final org.openqa.selenium.Dimension WINDOW_SIZE_MEDIUM -
WINDOW_SIZE_SMALL
public static final org.openqa.selenium.Dimension WINDOW_SIZE_SMALL
-
-
Constructor Details
-
AbstractParallelTest
public AbstractParallelTest()
-
-
Method Details
-
setup
- Overrides:
setupin classcom.vaadin.testbench.parallel.ParallelTest- Throws:
Exception
-
compareScreen
- Throws:
Exception
-
open
-
getBaseURL
-
getTestUrl
-
getDeploymentPath
-
getPort
-
getBrowserConfiguration
-
getCurrentHostAddress
Copied from com.vaadin.flow.testutil.AbstractTestBenchTest- Returns:
- current host address if running in a hub or localhost otherwise
-