Class 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

      Fields 
      Modifier and Type Field Description
      static org.openqa.selenium.Dimension WINDOW_SIZE_LARGE  
      static org.openqa.selenium.Dimension WINDOW_SIZE_MEDIUM  
      static org.openqa.selenium.Dimension WINDOW_SIZE_SMALL  
      • Fields inherited from class com.vaadin.testbench.parallel.ParallelTest

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

        driver, maxAttempts, testbenchVersion
    • Field Detail

      • 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 Detail

      • AbstractParallelTest

        public AbstractParallelTest()
    • Method Detail

      • setup

        public void setup()
                   throws Exception
        Overrides:
        setup in class com.vaadin.testbench.parallel.ParallelTest
        Throws:
        Exception
      • open

        public void open​(Class<?> viewClass,
                         org.openqa.selenium.Dimension size)
      • getBaseURL

        protected String getBaseURL()
      • getTestUrl

        protected String getTestUrl​(Class<?> viewClass)
      • getDeploymentPath

        protected String getDeploymentPath​(Class<?> viewClass)
      • getPort

        protected String getPort()
      • getBrowserConfiguration

        public List<org.openqa.selenium.remote.DesiredCapabilities> getBrowserConfiguration()
      • getCurrentHostAddress

        protected String getCurrentHostAddress()
        Copied from com.vaadin.flow.testutil.AbstractTestBenchTest
        Returns:
        current host address if running in a hub or localhost otherwise