Skip to content

Releases: vaadin/testbench

Vaadin 10 version

22 Mar 13:54
464e1f3
Compare
Choose a tag to compare
Vaadin 10 version Pre-release
Pre-release

Documentation →
Demo Project →

Vaadin TestBench is a tool for creating and running browser based integration tests for your Vaadin application. TestBench simulates a user of your application, performs the tasks specified using Java code and verifies that the expected actions take place in the application.

Changes since beta3

  • ci-sauce dependency was removed

New Features since Version 5

Vaadin 10 support

ElementQuery has been rewritten to work with Web Components and the DOM

  • $(ButtonElement.class) searches for the tag defined in ButtonElement using @Element("some-tag") and or using the attribute restrictions defined using@Attribute
  • id("someId") restricts the search to elements with the given id
  • attribute(name,value) restricts the search to elements with the given attribute value
  • attributeContains(name,value) restricts the search to elements where the given attribute contains the given value
  • first(), last(), all(), get(i) fetches the given matching element
  • onPage() resets the search context to the root of the page
  • Supports component shadow roots and searches inside them
  • Other methods previously available in ElementQuery were removed

New helpers

  • Helpers for element integrations: getProperty*, hasAttribute, callFunction and more
  • Support for firing custom events
  • Helper for finding the host IP

Uses Selenium 3.11.0

Incompatible changes

  • Support for IE8, IE9, IE10 and PhantomJS was removed. These browsers are not supported by Vaadin 10.
  • Support for Vaadin 8 has been removed. Use TestBench 5 for testing Vaadin 8 applications.

Bugfixes

  • Fixed exception wrapping in executeScript

Vaadin 10 version

21 Mar 20:02
42bff1f
Compare
Choose a tag to compare
Vaadin 10 version Pre-release
Pre-release

Documentation →
Demo Project →

Vaadin TestBench is a tool for creating and running browser based integration tests for your Vaadin application. TestBench simulates a user of your application, performs the tasks specified using Java code and verifies that the expected actions take place in the application.

Changes since beta2

  • Upgrade Selenium to 3.11.0
  • Fix "cyclic object value" problems in browsers using polyfills
  • Improved support for running tests on Saucelabs
  • Added possibility to define browsers to test using an environment variable TESTBENCH_GRID_BROWSERS or a system property com.vaadin.testbench.Parameters.gridBrowsers

New Features since Version 5

Vaadin 10 support

ElementQuery has been rewritten to work with Web Components and the DOM

  • $(ButtonElement.class) searches for the tag defined in ButtonElement using @Element("some-tag") and or using the attribute restrictions defined using@Attribute
  • id("someId") restricts the search to elements with the given id
  • attribute(name,value) restricts the search to elements with the given attribute value
  • attributeContains(name,value) restricts the search to elements where the given attribute contains the given value
  • first(), last(), all(), get(i) fetches the given matching element
  • onPage() resets the search context to the root of the page
  • Supports component shadow roots and searches inside them
  • Other methods previously available in ElementQuery were removed

New helpers

  • Helpers for element integrations: getProperty*, hasAttribute, callFunction and more
  • Support for firing custom events
  • Helper for finding the host IP

Uses Selenium 3.11.0

Incompatible changes

  • Support for IE8, IE9, IE10 and PhantomJS was removed. These browsers are not supported by Vaadin 10.
  • Support for Vaadin 8 has been removed. Use TestBench 5 for testing Vaadin 8 applications.

Bugfixes

  • Fixed exception wrapping in executeScript

Vaadin 10 version

13 Mar 11:16
377fa3f
Compare
Choose a tag to compare
Vaadin 10 version Pre-release
Pre-release

Documentation →
Demo Project →

Vaadin TestBench is a tool for creating and running browser based integration tests for your Vaadin application. TestBench simulates a user of your application, performs the tasks specified using Java code and verifies that the expected actions take place in the application.

Changes since beta1

  • Fixed TestBenchElement.isEnabled()

New Features since Version 5

Vaadin 10 support

ElementQuery has been rewritten to work with Web Components and the DOM

  • $(ButtonElement.class) searches for the tag defined in ButtonElement using @Element("some-tag") and or using the attribute restrictions defined using@Attribute
  • id("someId") restricts the search to elements with the given id
  • attribute(name,value) restricts the search to elements with the given attribute value
  • attributeContains(name,value) restricts the search to elements where the given attribute contains the given value
  • first(), last(), all(), get(i) fetches the given matching element
  • onPage() resets the search context to the root of the page
  • Supports component shadow roots and searches inside them
  • Other methods previously available in ElementQuery were removed

New helpers

  • Helpers for element integrations: getProperty*, hasAttribute, callFunction and more
  • Support for firing custom events
  • Helper for finding the host IP

Uses Selenium 3.9.1

Incompatible changes

  • Support for IE8, IE9, IE10 and PhantomJS was removed. These browsers are not supported by Vaadin 10.
  • Support for Vaadin 8 has been removed. Use TestBench 5 for testing Vaadin 8 applications.

Bugfixes

  • Fixed exception wrapping in executeScript

Vaadin 10 version

05 Mar 13:35
fed87a2
Compare
Choose a tag to compare
Vaadin 10 version Pre-release
Pre-release

Documentation →
Demo Project →

Vaadin TestBench is a tool for creating and running browser based integration tests for your Vaadin application. TestBench simulates a user of your application, performs the tasks specified using Java code and verifies that the expected actions take place in the application.

New Features since Version 5

Vaadin 10 support

ElementQuery has been rewritten to work with Web Components and the DOM

  • $(ButtonElement.class) searches for the tag defined in ButtonElement using @Element("some-tag") and or using the attribute restrictions defined using@Attribute
  • id("someId") restricts the search to elements with the given id
  • attribute(name,value) restricts the search to elements with the given attribute value
  • attributeContains(name,value) restricts the search to elements where the given attribute contains the given value
  • first(), last(), all(), get(i) fetches the given matching element
  • onPage() resets the search context to the root of the page
  • Supports component shadow roots and searches inside them
  • Other methods previously available in ElementQuery were removed

New helpers

  • Helpers for element integrations: getProperty*, hasAttribute, callFunction and more
  • Support for firing custom events
  • Helper for finding the host IP

Uses Selenium 3.9.1

Incompatible changes

  • Support for IE8, IE9, IE10 and PhantomJS was removed. These browsers are not supported by Vaadin 10.
  • Support for Vaadin 8 has been removed. Use TestBench 5 for testing Vaadin 8 applications.

Bugfixes

  • Fixed exception wrapping in executeScript

Selenium 3.9.1

23 Feb 13:35
0da624c
Compare
Choose a tag to compare
Selenium 3.9.1 Pre-release
Pre-release
  • Upgraded to Selenium 3.9.1 (latest)
  • Fixed exception wrapping in executeScript

@Attribute for defining additional constraints on element classes

23 Feb 12:52
c0de341
Compare
Choose a tag to compare
Add @Attribute for defining additional constraints on element classes…

… (#1000)

Also add support finding elements based on attribute tokens like a single class

Bugfix release

19 Feb 20:47
563f273
Compare
Choose a tag to compare
Bugfix release Pre-release
Pre-release

Fix issue when attribute values contain special characters

Support for finding the IP address of the host

15 Feb 13:16
Compare
Choose a tag to compare
6.0.0.alpha12

Fix typos

Bugfixes and support for firing custom events

12 Feb 06:50
b2022df
Compare
Choose a tag to compare
Fix ElementQuery for built-in elements or elements without a shadow r…

…oot (#990)

Fixes #989

Support finding any element, optionally with a given tag name

08 Feb 13:12
Compare
Choose a tag to compare

$(TestBenchElement.class) now matches any element
$("some-tag-name") can be used to find elements of type <some-tag-name> when no element class is available