Skip to content

Vaadin 10 version

Pre-release
Pre-release
Compare
Choose a tag to compare
@alvarezguille alvarezguille released this 16 Apr 07:32

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 beta5

Improvements in workaround for issue introduced by Firefox 59

  • Workaround is only used for Firefox
  • Workaround also runs for protected properties

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