Skip to content

Releases: vaadin/testbench

4.2.1 maintenance release fixing certificate validation and infinite loop under some conditions

20 Mar 08:42
Compare
Choose a tag to compare

The main improvement is:

  • #949 Avoid an infinite loop when trying to find the innermost driver

Waiting on a condition

20 Oct 06:12
Compare
Choose a tag to compare
Pre-release

New waitUntil helper method added in Element and TestCase classes, it can be used in the following way:
waitUntil(ExpectedConditions.presenceOfElementLocated(by), 10);

Updated PhantomJSDriver and Selenium versions. Minor bugfixes and improvements included.

16 Jun 10:57
Compare
Choose a tag to compare

Following dependencies have been updated:

  • Selenium version is now 3.4.0
  • PhantomJSDriver version is now 1.4.2

Also following bugfixes and improvements are included:

  • #885 Fix NPE when platform is unknown
  • #882 Make it possible to override getDriver()
  • #893 Prevent NPE if getCapabilities() is null
  • #896 Allow nulling the driver after a test
  • #897 Fix invalid main class name in manifest
  • #907 Allowing @RunLocally to use Edge and IE
  • #909 Allow test to be run in a hub with system property
  • #905 License checker should respect log level when printing messages
  • #895 Automatically scroll elements into view before interacting with them
  • #883 Add helper for executing JavaScript

Vaadin 8 Compatibility and Selenium upgrade

22 Feb 07:58
Compare
Choose a tag to compare
  • CheckBoxGroupElement added to test CheckBoxGroup Component
  • RadioButtonGroupElement added to test RadioButtonGroup Component
  • RetryRule added to re-run randomly failing tests.
  • New Selenium version in use (3.0.1)

Vaadin 8 Compatibility and Selenium upgrade

20 Jan 09:20
Compare
Choose a tag to compare
  • CheckBoxGroupElement added to test CheckBoxGroup Component
  • RadioButtonGroupElement added to test RadioButtonGroup Component
  • RetryRule added to re-run randomly failing tests.
  • New Selenium version in use (3.0.1)

4.2.0

20 Jan 09:17
Compare
Choose a tag to compare

Changes in vaadin-testbench-core:

  • Screen comparison is supported for individual elements through TestBenchElement.compareScreen.
  • TestBenchElement can be compared with WebElement using equals().
  • State of a checkbox can be checked using CheckBoxElement.isChecked().
  • TestBenchElement has getClassNames() and hasClassName(String) for testing class names.
  • Removed Vaadin version detection which was broken in Liferay.
  • List selects in multiselect mode can be tested with PhantomJS.
  • waitForVaadin is executed before each element method, eliminating timing issues in some tests.
  • The hub host name can be overridden using -Dcom.vaadin.testbench.Parameters.hubHostname.
  • Component Element API changes in vaadin-testbench-api:

The input field for a ComboBox can be retrieved using ComboBoxElement.getInputField().

  • GridElement has getRowCount() to get the number of data rows in the grid.
  • GridElement has getRows() for iterating over all data rows in the grid
  • State of a checkbox can be checked using CheckBoxElement.isChecked()
  • Links can be clicked using LinkElement.click()
  • Link caption is correctly returned using LinkElement.getCaption()

Vaadin 8 Compatibility and Selenium upgrade

24 Nov 12:50
Compare
Choose a tag to compare

New elements

  • CheckBoxGroupElement added to test CheckBoxGroup Component
  • RadioButtonGroupElement added to test RadioButtonGroup Component

New Selenium version in use (3.0.1)

4.1.0

10 Oct 11:26
Compare
Choose a tag to compare

Mozilla Firefox changed important APIs in version 48 that affected their compatibility with WebDriver which directly affects TestBench. Firefox 48 and posterior versions will require the use of GeckoDriver that is not feature complete or fully compatible with Selenium currently.
As a workaround it is recommended to use either Firefox 47 or
Firefox ESR to execute tests on Firefox until this can be fixed with a stable release of GeckoDriver.

  • Add element API helpers from the framework project
  • Allow specifying parameters using system properties
  • Improvements in cursor detection (#18773, #19097)
  • Add support for Microsoft Edge
  • Selenium updated to 2.53.1
  • JUnit updated to 4.12
  • PhantomJSDriver updated to 1.3.0
  • Fix bug with button click with ValoTheme.QUIET style

4.1.0.rc1

10 Oct 11:27
Compare
Choose a tag to compare
4.1.0.rc1 Pre-release
Pre-release

Mozilla Firefox changed important APIs in version 48 that affected their compatibility with WebDriver which directly affects TestBench. Firefox 48 and posterior versions will require the use of GeckoDriver that is not feature complete or fully compatible with Selenium currently.
As a workaround it is recommended to use either Firefox 47 or
Firefox ESR to execute tests on Firefox until this can be fixed with a stable release of GeckoDriver.

  • Add element API helpers from the framework project
  • Allow specifying parameters using system properties
  • Improvements in cursor detection (#18773, #19097)
  • Add support for Microsoft Edge
  • Selenium updated to 2.53.1
  • JUnit updated to 4.12
  • PhantomJSDriver updated to 1.3.0
  • Fix bug with button click with ValoTheme.QUIET style

4.1.0.beta2

10 Oct 11:27
Compare
Choose a tag to compare
4.1.0.beta2 Pre-release
Pre-release
  • Add element API helpers from the framework project
  • Allow specifying parameters using system properties
  • Improvements in cursor detection (#18773, #19097)
  • Add support for Microsoft Edge
  • Selenium updated to 2.53.1
  • JUnit updated to 4.12
  • PhantomJSDriver updated to 1.3.0