flow-components icon indicating copy to clipboard operation
flow-components copied to clipboard

Testbench: TextArea and TextField Components no longer get blurred after interaction

Open haenni opened this issue 2 years ago • 0 comments

Description

After updating from Vaadin 14.10.8 to 14.11.0, some of our Testbench test cases fail. Affected are TextArea and TextField components when ValueChangeMode.ON_BLUR is set on them. The issue is, that interactions such as clear() or setValue(...) no longer cause a blur event to be triggered. However, that was the case with the older vaadin version.

Expected outcome

Basic tests should not break after an update.

Minimal reproducible example

See attached zip file testbench-demo-14.zip

Steps to reproduce

  1. Extract zip file and open project.
  2. Run mvn clean verify to build the project and run the tests
  3. The tests pass
  4. Change the vaadin version inside the POM.xml file from 14.10.8 to 14.11.3
  5. Reload maven dependencies
  6. Run mvn clean verify to build the project and run the tests
  7. The tests fail

Environment

Vaadin version(s): 14.11.0 and 14.11.3 OS: Windows

Browsers

Chrome

haenni avatar Feb 01 '24 15:02 haenni