Class AbstractViewTest

  • All Implemented Interfaces:
    com.vaadin.testbench.HasDriver, com.vaadin.testbench.HasElementQuery, com.vaadin.testbench.HasSearchContext, com.vaadin.testbench.HasTestBenchCommandExecutor

    public abstract class AbstractViewTest
    extends ChromeBrowserTest
    A base class for testing a view using TestBench. It opens the view and wait for its root element to be present. It also checks errors in browser log at both before and after phases of each test.
    Since:
    2.0
    • Constructor Detail

      • AbstractViewTest

        public AbstractViewTest​(org.openqa.selenium.By rootElementSelector)
    • Method Detail

      • initialCheck

        public void initialCheck()
      • finalCheck

        public void finalCheck()
      • getRootElement

        public org.openqa.selenium.WebElement getRootElement()