Annotation Interface LocalExecution


@Target(TYPE) @Retention(RUNTIME) @Inherited public @interface LocalExecution
Allows to configure tests for local execution.

Similar to RunLocally but LocalExecution is enabled by default for any test which extends AbstractTestBenchTest and can be overridden by AbstractTestBenchTest.USE_HUB_PROPERTY. If this property value is set to true then the test will be executed on the tests Hub.

Since:
1.0
Author:
Vaadin Ltd
See Also:
  • RunLocally
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Checks whether the local execution configuration active.
    Gets the browser version.
    com.vaadin.testbench.parallel.Browser
    Gets the browser for local execution.
  • Element Details

    • value

      com.vaadin.testbench.parallel.Browser value
      Gets the browser for local execution.
      Returns:
      the browser for local execution
      Default:
      CHROME
    • browserVersion

      String browserVersion
      Gets the browser version.
      Returns:
      the browser version
      Default:
      ""
    • active

      boolean active
      Checks whether the local execution configuration active.

      If configuration is not active then the test will be executed on the tests Hub.

      Returns:
      whether the local execution configuration is active
      Default:
      true