Releases: vaadin/testbench
Vaadin 8 Compatibility and Selenium upgrade
- 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
- 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
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
New elements
CheckBoxGroupElement
added to testCheckBoxGroup
ComponentRadioButtonGroupElement
added to testRadioButtonGroup
Component
New Selenium version in use (3.0.1)
4.1.0
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
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
- 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
4.1.0.alpha2
- 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.51.0
- JUnit updated to 4.12
4.1.0.alpha1
- Add element API helpers from the framework project
- Allow specifying parameters using system properties
- Improvements in cursor detection (#18773)
- Add support for Microsoft Edge
- Selenium updated to 2.47.0